home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / dev / gg / ncurses-5.3.lha / ncurses-5.3 / misc / terminfo.src < prev   
Text File  |  2002-10-24  |  869KB  |  19,552 lines

  1. ######## TERMINAL TYPE DESCRIPTIONS SOURCE FILE
  2. #
  3. # This version of terminfo.src is distributed with ncurses.
  4. # Report bugs and new terminal descriptions to
  5. #    bug-ncurses@gnu.org
  6. #
  7. # The original header is preserved below for reference.  It is noted that there
  8. # is a newer version which differs in some cosmetic details; we have decided
  9. # to not change the header unless there is also a change in content.
  10. #
  11. #------------------------------------------------------------------------------
  12. #    Version 10.2.1
  13. #    $Date: 2002/10/05 18:40:53 $
  14. #    terminfo syntax
  15. #
  16. #    Eric S. Raymond        (current maintainer)
  17. #    John Kunze, Berkeley
  18. #    Craig Leres, Berkeley
  19. #
  20. # Please e-mail changes to terminfo@thyrsus.com; the old termcap@berkeley.edu
  21. # address is no longer valid.  The latest version can always be found at
  22. # <http://www.tuxedo.org/terminfo>.
  23. #
  24. # PURPOSE OF THIS FILE:
  25. #
  26. # This file describes the capabilities of various character-cell terminals,
  27. # as needed by software such as screen-oriented editors.
  28. #
  29. # Other terminfo and termcap files exist, supported by various OS vendors
  30. # or as relics of various older versions of UNIX.  This one is the longest
  31. # and most comprehensive one in existence.  It subsumes not only the entirety
  32. # of the historical 4.4BSD, GNU, System V and SCO termcap files and the BRL
  33. # termcap file, but also large numbers of vendor-maintained termcap and
  34. # terminfo entries more complete and carefully tested than those in historical
  35. # termcap/terminfo versions.
  36. #
  37. # Pointers to related resources (including the ncurses distribution) may
  38. # be found at <http://www.tuxedo.org/terminfo>.
  39. #
  40. # INTERNATIONALIZATION:
  41. #
  42. # This file uses only the US-ASCII character set (no ISO8859 characters).
  43. #
  44. # This file assumes a US-ASCII character set. If you need to fix this, start
  45. # by global-replacing \E(B and \E)B with the appropriate ISO 6429 enablers
  46. # for your character set.  \E(A and \E)A enables the British character set
  47. # with the pound sign at position 2/3.  
  48. #
  49. # In a Japanese-processing environment using EUC/Japanese or Shift-JIS,
  50. # C1 characters are considered the first-byte set of the Japanese encodings,
  51. # so \E)0 should be avoided in <enacs> and initialization strings.
  52. #
  53. # FILE FORMAT:
  54. #
  55. # The version you are looking at may be in any of three formats: master
  56. # (terminfo with OT capabilities), stock terminfo, or termcap.  You can tell
  57. # which by the format given in the header above.
  58. #
  59. # The master format is accepted and generated by the terminfo tools in the
  60. # ncurses suite; it differs from stock (System V-compatible) terminfo only
  61. # in that it admits a group of capabilities (prefixed `OT') equivalent to
  62. # various obsolete termcap capabilities.  You can, thus, convert from master
  63. # to stock terminfo simply by filtering with `sed "/OT[^,]*,/s///"'; but if
  64. # you have ncurses `tic -I' is nicer (among other things, it automatically
  65. # outputs entries in a canonical form).
  66. #
  67. # The termcap version is generated automatically from the master version
  68. # using tic -C.  This filtering leaves in the OT capabilities under their
  69. # original termcap names.  All translated entries fit within the 1023-byte
  70. # string-table limit of archaic termcap libraries except where explicitly
  71. # noted below.  Note that the termcap translation assumes that your termcap
  72. # library can handle multiple tc capabilities in an entry. 4.4BSD has this
  73. # capability.  Older versions of GNU termcap, through 1.3, do not. 
  74. #
  75. # For details on these formats, see terminfo(5) in the ncurses distribution,
  76. # and termcap(5) in the 4.4BSD Unix Programmer's Manual.  Be aware that 4.4BSD
  77. # curses has been declared obsolete by the caretakers of the 4.4BSD sources
  78. # as of June 1995; they are encouraging everyone to migrate to ncurses.
  79. #
  80. # Note: unlike some other distributed terminfo files (Novell Unix & SCO's),
  81. # no entry in this file has embedded comments.  This is so source translation
  82. # to termcap only has to carry over leading comments.  Also, no name field
  83. # contains embedded whitespace (such whitespace confuses rdist).
  84. #
  85. # Further note: older versions of this file were often installed with an editor
  86. # script (reorder) that moved the most common terminal types to the front of
  87. # the file.  This should no longer be necessary, as the file is now ordered
  88. # roughly by type frequency with ANSI/VT100 and other common types up front.
  89. #
  90. # Some information has been merged in from terminfo files distributed by
  91. # USL and SCO (see COPYRIGHTS AND OTHER DELUSIONS below).  Much information
  92. # comes from vendors who maintain official terminfos for their hardware
  93. # (notably DEC and Wyse).
  94. #
  95. # A detailed change history is included at the end of this file.
  96. #
  97. # FILE ORGANIZATION:
  98. #
  99. # Comments in this file begin with # - they cannot appear in the middle
  100. # of a terminfo/termcap entry (this feature had to be sacrificed in order
  101. # to allow standard terminfo and termcap syntax to be generated cleanly from
  102. # the master format).  Individual capabilities are commented out by
  103. # placing a period between the colon and the capability name.
  104. #
  105. # The file is divided up into major sections (headed by lines beginning with 
  106. # the string "########") and minor sections (beginning with "####"); do
  107. #
  108. #    grep "^####" <file> | more
  109. #
  110. # to see a listing of section headings.  The intent of the divisions is
  111. # (a) to make it easier to find things, and (b) to order the database so
  112. # that important and frequently-encountered terminal types are near the
  113. # front (so that you'll get reasonable search efficiency from a linear
  114. # search of the termcap form even if you don't use reorder).  Minor sections
  115. # usually correspond to manufacturers or standard terminal classes. 
  116. # Parenthesized words following manufacturer names are type prefixes or
  117. # product line names used by that manufacturers.
  118. #
  119. # HOW TO READ THE ENTRIES:
  120. #
  121. # The first name in an entry is the canonical name for the model or
  122. # type, last entry is a verbose description.  Others are mnemonic synonyms for
  123. # the terminal.
  124. #
  125. # Terminal names look like <manufacturer> <model> - <modes/options>
  126. # The part to the left of the dash, if a dash is present, describes the
  127. # particular hardware of the terminal.  The part to the right may be used
  128. # for flags indicating special ROMs, extra memory, particular terminal modes,
  129. # or user preferences.
  130. #
  131. # All names should be in lower case, for consistency in typing.
  132. #
  133. # The following are conventionally used suffixes:
  134. #    -2p    Has two pages of memory.  Likewise 4p, 8p, etc.
  135. #    -am    Enable auto-margin.
  136. #    -m    Monochrome.  Suppress color support
  137. #    -mc    Magic-cookie.  Some terminals (notably older Wyses) can
  138. #        only support one attribute without magic-cookie lossage.
  139. #        Their base entry is usually paired with another that
  140. #        uses magic cookies to support multiple attributes.
  141. #    -nam    No auto-margin - suppress <am> capability
  142. #    -nl    No labels - suppress soft labels
  143. #    -ns    No status line - suppress status line
  144. #    -rv    Terminal in reverse video mode (black on white)
  145. #    -s    Enable status line.
  146. #    -vb    Use visible bell (<flash>) rather than <bel>.
  147. #    -w    Wide - in 132 column mode.
  148. # If a name has multiple suffixes and one is a line height, that one should 
  149. # go first.  Thus `aaa-30-s-rv' is recommended over `aaa-s-rv-30'.  
  150. # Entries with embedded plus signs are designed to be included through use/tc
  151. # capabilities, not used as standalone entries. 
  152. #
  153. # To avoid search clashes, some older all-numeric names for terminals have
  154. # been removed (i.e., "33" for the Model 33 Teletype, "2621" for the HP2621).
  155. # All primary names of terminals now have alphanumeric prefixes.
  156. #
  157. # Comments marked "esr" are mostly results of applying the termcap-compiler
  158. # code packaged with ncurses and contemplating the resulting error messages. 
  159. # In many cases, these indicated obvious fixes to syntax garbled by the
  160. # composers.  In a few cases, I was able to deduce corrected forms for garbled
  161. # capabilities by looking at context.  All the information in the original
  162. # entries is preserved in the comments.
  163. #
  164. # In the comments, terminfo capability names are bracketed with <> (angle
  165. # brackets).  Termcap capability names are bracketed with :: (colons).
  166. #
  167. # INTERPRETATION OF USER CAPABILITIES
  168. #
  169. # The System V Release 4 and XPG4 terminfo format defines ten string
  170. # capabilities for use by applications, <u0>...<u9>.   In this file, we use
  171. # certain of these capabilities to describe functions which are not covered
  172. # by terminfo.  The mapping is as follows:
  173. #
  174. #    u9    terminal enquire string (equiv. to ANSI/ECMA-48 DA)
  175. #    u8    terminal answerback description
  176. #    u7    cursor position request (equiv. to VT100/ANSI/ECMA-48 DSR 6)
  177. #    u6    cursor position report (equiv. to ANSI/ECMA-48 CPR)
  178. #
  179. # The terminal enquire string <u9> should elicit an answerback response
  180. # from the terminal.  Common values for <u9> will be ^E (on older ASCII
  181. # terminals) or \E[c (on newer VT100/ANSI/ECMA-48-compatible terminals).
  182. #
  183. # The cursor position request (<u7>) string should elicit a cursor position
  184. # report.  A typical value (for VT100 terminals) is \E[6n.
  185. #
  186. # The terminal answerback description (u8) must consist of an expected
  187. # answerback string.  The string may contain the following scanf(3)-like
  188. # escapes:
  189. #
  190. #    %c    Accept any character
  191. #    %[...]    Accept any number of characters in the given set
  192. #
  193. # The cursor position report (<u6>) string must contain two scanf(3)-style 
  194. # %d format elements.  The first of these must correspond to the Y coordinate
  195. # and the second to the %d.  If the string contains the sequence %i, it is
  196. # taken as an instruction to decrement each value after reading it (this is
  197. # the inverse sense from the cup string).  The typical CPR value is
  198. # \E[%i%d;%dR (on VT100/ANSI/ECMA-48-compatible terminals).
  199. #
  200. # These capabilities are used by tack(1m), the terminfo action checker
  201. # (distributed with ncurses 5.0).
  202. #
  203. # TABSET FILES
  204. #
  205. # All the entries in this file have been edited to assume that the tabset
  206. # files directory is /usr/share/tabset, in conformance with the File Hierarchy
  207. # Standard for Linux and open-source BSD systems.  Some vendors (notably Sun)
  208. # use /usr/lib/tabset or (more recently) /usr/share/lib/tabset.  
  209. #
  210. # No curses package we know of actually uses these files.  If their location
  211. # is an issue, you will have to hand-patch the file locations before compiling
  212. # this file.
  213. # REQUEST FOR CONTACT INFORMATION AND HISTORICAL MATERIAL
  214. #
  215. # As the ANSI/ECMA-48 standard and variants take firmer hold, and as
  216. # character-cell terminals are increasingly replaced by X displays, much of
  217. # this file is becoming a historical document (this is part of the reason for
  218. # the new organization, which puts ANSI types, xterm, Unix consoles,
  219. # and vt100 up front in confidence that this will catch 95% of new hardware).
  220. #
  221. # For the terminal types still alive, I'd like to have manufacturer's
  222. # contact data (Internet address and/or snail-mail + phone).
  223. #
  224. # I'm also interested in enriching the comments so that the latter portions of
  225. # the file do in fact become a potted history of VDT technology as seen by
  226. # UNIX hackers.  Ideally, I'd like the headers for each manufacturer to
  227. # include its live/dead/out-of-the-business status, and for as many
  228. # terminal types as possible to be tagged with information like years
  229. # of heaviest use, popularity, and interesting features.
  230. #
  231. # I'm especially interested in identifying the obscure entries listed under
  232. # `Miscellaneous obsolete terminals, manufacturers unknown' before the tribal
  233. # wisdom about them gets lost.  If you know a lot about obscure old terminals,
  234. # please go to the terminfo resource page, grab the UFO file (ufo.ti), and 
  235. # eyeball it for things you can identify and describe. 
  236. #
  237. # If you have been around long enough to contribute, please read the file
  238. # with this in mind and send me your annotations.
  239. #
  240. # COPYRIGHTS AND OTHER DELUSIONS
  241. #
  242. # The BSD ancestor of this file had a standard Regents of the University of
  243. # California copyright with dates from 1980 to 1993.
  244. #
  245. # Some information has been merged in from a terminfo file SCO distributes.
  246. # It has an obnoxious boilerplate copyright which I'm ignoring because they 
  247. # took so much of the content from the ancestral BSD versions of this file
  248. # and didn't attribute it, thereby violating the BSD Regents' copyright.
  249. #
  250. # Not that anyone should care.  However many valid functions copyrights may
  251. # serve, putting one on a termcap/terminfo file with hundreds of anonymous
  252. # contributors makes about as much sense as copyrighting a wall-full of
  253. # graffiti -- it's legally dubious, ethically bogus, and patently ridiculous.
  254. #
  255. # This file deliberately has no copyright.  It belongs to no one and everyone.
  256. # If you claim you own it, you will merely succeed in looking like a fool. 
  257. # Use it as you like.  Use it at your own risk.  Copy and redistribute freely.
  258. # There are no guarantees anywhere.  Svaha!
  259. #
  260.  
  261. ######## ANSI, UNIX CONSOLE, AND SPECIAL TYPES
  262. #
  263. # This section describes terminal classes and brands that are still
  264. # quite common.
  265. #
  266.  
  267. #### Specials
  268. #
  269. # Special "terminals".  These are used to label tty lines when you don't
  270. # know what kind of terminal is on it.  The characteristics of an unknown
  271. # terminal are the lowest common denominator - they look about like a ti 700.
  272. #
  273.  
  274. dumb|80-column dumb tty, 
  275.     am, 
  276.     cols#80, 
  277.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  278. unknown|unknown terminal type, 
  279.     gn, use=dumb, 
  280. lpr|printer|line printer, 
  281.     OTbs, hc, os, 
  282.     cols#132, lines#66, 
  283.     bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ind=^J, 
  284. glasstty|classic glass tty interpreting ASCII control characters, 
  285.     OTbs, am, 
  286.     cols#80, 
  287.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ht=^I, kcub1=^H, 
  288.     kcud1=^J, nel=^M^J, .kbs=^H, 
  289.  
  290. vanilla, 
  291.     OTbs, 
  292.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  293.  
  294. #### ANSI.SYS/ISO 6429/ECMA-48 Capabilities
  295. #
  296. # See the end-of-file comment for more on these.
  297. #
  298.  
  299. # ANSI capabilities are broken up into pieces, so that a terminal
  300. # implementing some ANSI subset can use many of them.
  301. ansi+local1, 
  302.     cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
  303. ansi+local, 
  304.     cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
  305.     cuu=\E[%p1%dA, use=ansi+local1, 
  306. ansi+tabs, 
  307.     cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[2g, 
  308. ansi+inittabs, 
  309.     it#8, use=ansi+tabs, 
  310. ansi+erase, 
  311.     clear=\E[H\E[J, ed=\E[J, el=\E[K, 
  312. ansi+rca, 
  313.     hpa=\E[%p1%{1}%+%dG, vpa=\E[%p1%{1}%+%dd, 
  314. ansi+cup, 
  315.     cup=\E[%i%p1%d;%p2%dH, home=\E[H, 
  316. ansi+rep, 
  317.     rep=%p1%c\E[%p2%{1}%-%db, 
  318. ansi+idl1, 
  319.     dl1=\E[M, il1=\E[L, 
  320. ansi+idl, 
  321.     dl=\E[%p1%dM, il=\E[%p1%dL, use=ansi+idl1, 
  322. ansi+idc, 
  323.     dch1=\E[P, ich=\E[%p1%d@, ich1=\E[@, rmir=\E6, smir=\E6, 
  324. ansi+arrows, 
  325.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  326.     khome=\E[H, 
  327. ansi+sgr|ansi graphic renditions, 
  328.     blink=\E[5m, invis=\E[8m, rev=\E[7m, sgr0=\E[0m, 
  329. ansi+sgrso|ansi standout only, 
  330.     rmso=\E[m, smso=\E[7m, 
  331. ansi+sgrul|ansi underline only, 
  332.     rmul=\E[m, smul=\E[4m, 
  333. ansi+sgrbold|ansi graphic renditions; assuming terminal has bold; not dim, 
  334.     bold=\E[1m, 
  335.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  336.     use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul, 
  337. ansi+sgrdim|ansi graphic renditions; assuming terminal has dim; not bold, 
  338.     dim=\E[2m, 
  339.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p5%t2;%;%?%p7%t8;%;m, 
  340.     use=ansi+sgr, use=ansi+sgrso, use=ansi+sgrul, 
  341. ansi+pp|ansi printer port, 
  342.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  343. ansi+csr|ansi scroll-region plus cursor save & restore, 
  344.     csr=\E[%i%p1%d;%p2%dr, rc=\E8, sc=\E7, 
  345.  
  346. # The IBM PC alternate character set.  Plug this into any Intel console entry.
  347. # We use \E[11m for rmacs rather than \E[12m so the <acsc> string can use the
  348. # ROM graphics for control characters such as the diamond, up- and down-arrow.
  349. # This works with the System V, Linux, and BSDI consoles.  It's a safe bet this
  350. # will work with any Intel console, they all seem to have inherited \E[11m
  351. # from the ANSI.SYS de-facto standard.
  352. klone+acs|alternate character set for ansi.sys displays, 
  353.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  354.     rmacs=\E[10m, smacs=\E[11m, 
  355.  
  356. # Highlight controls corresponding to the ANSI.SYS standard.  Most 
  357. # console drivers for Intel boxes obey these.  Makes the same assumption
  358. # about \E[11m as klone+acs.  True ANSI/ECMA-48 would have <rmso=\E[27m>,
  359. # <rmul=\E[24m>, but this isn't a documented feature of ANSI.SYS.
  360. klone+sgr|attribute control for ansi.sys displays, 
  361.     blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, 
  362.     rmpch=\E[10m, rmso=\E[m, rmul=\E[m, 
  363.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  364.     sgr0=\E[0;10m, smpch=\E[11m, smso=\E[7m, smul=\E[4m, 
  365.     use=klone+acs, 
  366.  
  367. # Highlight controls corresponding to the ANSI.SYS standard.  *All*
  368. # console drivers for Intel boxes obey these.  Does not assume \E[11m will
  369. # work; uses \E[12m instead, which is pretty bulletproof but loses you the ACS
  370. # diamond and arrow characters under curses.
  371. klone+sgr-dumb|attribute control for ansi.sys displays (no ESC [ 11 m), 
  372.     blink=\E[5m, bold=\E[1m, invis=\E[8m, rev=\E[7m, rmso=\E[m, 
  373.     rmul=\E[m, 
  374.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
  375.     sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
  376.     use=klone+acs, 
  377.  
  378. # KOI8-R (RFC1489) acs (alternate character set)
  379. # From: Qing Long <qinglong@Bolizm.ihep.su>, 24 Feb 1996.
  380. klone+koi8acs|alternate character set for ansi.sys displays with KOI8 charset, 
  381.     acsc=+\020\,\021-\036.^_0\215`\004a\237f\234g\232h\222i\220j\205k\203l\202m\204n\212o\213p\216q\0r\217s\214t\206u\207v\210w\211x\201y\230z\231{\267|\274}L~\225, 
  382.     rmacs=\E[10m, smacs=\E[11m, 
  383.  
  384. # ANSI.SYS color control.  The setab/setaf caps depend on the coincidence
  385. # between SVr4/XPG4's color numbers and ANSI.SYS attributes.  Here are longer
  386. # but equivalent strings that don't rely on that coincidence:
  387. # setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
  388. # setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m,
  389. # The DOS 5 manual asserts that these sequences meet the ISO 6429 standard.
  390. # They match a subset of ECMA-48.
  391. klone+color|color control for ansi.sys and ISO6429-compatible displays, 
  392.     colors#8, ncv#3, pairs#64, 
  393.     op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  394.  
  395. # This is better than klone+color, it doesn't assume white-on-black as the
  396. # default color pair,  but many `ANSI' terminals don't grok the <op> cap.
  397. ecma+color|color control for ECMA-48-compatible terminals, 
  398.     AX, 
  399.     colors#8, ncv#3, pairs#64, 
  400.     op=\E[39;49m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  401.  
  402. # Attribute control for ECMA-48-compatible terminals
  403. ecma+sgr|attribute capabilities for true ECMA-48 terminals, 
  404.     rmso=\E[27m, rmul=\E[24m, use=klone+sgr, 
  405.  
  406. # For comparison, here are all the capabilities implied by the Intel
  407. # Binary Compatibility Standard (level 2) that fit within terminfo.
  408. # For more detail on this rather pathetic standard, see the comments
  409. # near the end of this file.
  410. ibcs2|Intel Binary Compatibility Standard prescriptions, 
  411.     cbt=\E[Z, clear=\Ec, cub=\E[%p1%dD, cud=\E[%p1%dB, 
  412.     cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  413.     dch=\E[%p1%dP, dispc=\E=%p1%dg, ech=\E[%p1%dX, 
  414.     hpa=\E[%i%p1%dG, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  415.     indn=\E[%p1%dS, rc=\E7, rin=\E[%p1%dT, rmam=\E[?7l, sc=\E7, 
  416.     smam=\E[?7h, tbc=\E[g, vpa=\E[%i%p1%dd, 
  417.  
  418. #### ANSI/ECMA-48 terminals and terminal emulators
  419. #
  420. # See near the end of this file for details on ANSI conformance.
  421. # Don't mess with these entries!  Lots of other entries depend on them!
  422. #
  423. # This section lists entries in a least-capable to most-capable order.
  424. # if you're in doubt about what `ANSI' matches yours, try them in that
  425. # order and back off from the first that breaks.
  426.  
  427. # ansi-mr is for ANSI terminals with ONLY relative cursor addressing
  428. # and more than one page of memory.  It uses local motions instead of
  429. # direct cursor addressing, and makes almost no assumptions. It does
  430. # assume auto margins, no padding and/or xon/xoff, and a 24x80 screen.
  431. ansi-mr|mem rel cup ansi, 
  432.     am, xon, 
  433.     cols#80, lines#24, use=vanilla, use=ansi+erase, 
  434.     use=ansi+local1, 
  435.  
  436. # ansi-mini is a bare minimum ANSI terminal. This should work on anything, but 
  437. # beware of screen size problems and memory relative cursor addressing.
  438. ansi-mini|any ansi terminal with pessimistic assumptions, 
  439.     am, xon, 
  440.     cols#80, lines#24, use=vanilla, use=ansi+cup, 
  441.     use=ansi+erase, 
  442.  
  443. # ansi-mtabs adds relative addressing and minimal tab support 
  444. ansi-mtabs|any ansi terminal with pessimistic assumptions, 
  445.     it#8, 
  446.     ht=^I, use=ansi+local1, use=ansi-mini, 
  447.  
  448. # ANSI X3.64 from emory!mlhhh (Hugh Hansard) via BRL
  449. #
  450. # The following is an entry for the full ANSI 3.64 (1977).  It lacks
  451. # padding, but most terminals using the standard are "fast" enough
  452. # not to require any -- even at 9600 bps.  If you encounter problems,
  453. # try including the padding specifications.
  454. #
  455. # Note: the :as: and :ae: specifications are not implemented here, for
  456. # the available termcap documentation does not make clear WHICH alternate
  457. # character set to specify.  ANSI 3.64 seems to make allowances for several.
  458. # Please make the appropriate adjustments to fit your needs -- that is
  459. # if you will be using alternate character sets.
  460. #
  461. # There are very few terminals running the full ANSI 3.64 standard,
  462. # so I could only test this entry on one verified terminal (Visual 102).
  463. # I would appreciate the results on other terminals sent to me.
  464. #
  465. # Please report comments, changes, and problems to:
  466. #
  467. # U.S. MAIL:   Hugh Hansard
  468. #              Box: 22830
  469. #              Emory University
  470. #              Atlanta, GA. 30322.
  471. #
  472. # USENET {akgua,msdc,sb1,sb6,gatech}!emory!mlhhh.
  473. #
  474. # (Added vt100 <rc>,<sc> to quiet a tic warning --esr)
  475. ansi77|ansi 3.64 standard 1977 version, 
  476.     OTbs, am, mir, 
  477.     cols#80, it#8, lines#24, 
  478.     bel=^G, clear=\E[;H\E[2J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  479.     cub1=^H, cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  480.     cuu1=\E[A, dch1=\E[P, dl1=\E[M$<5*/>, ed=\E[J, el=\E[K, 
  481.     home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 
  482.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  483.     kf2=\EOR, kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, 
  484.     rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, smir=\E[4h, 
  485.     smso=\E[7m, smul=\E[4m, 
  486.  
  487. # Procomm and some other ANSI emulations don't recognize all of the ANSI-
  488. # standard capabilities.  This entry deletes <cuu>, <cuf>, <cud>, <cub>, and 
  489. # <vpa>/<hpa> capabilities, forcing curses to use repetitions of <cuu1>, 
  490. # <cuf1>, <cud1> and <cub1>.  Also deleted <ich> and <ich1>, as QModem up to 
  491. # 5.03 doesn't recognize these.  Finally, we delete <rep> and <ri>, which seem
  492. # to confuse many emulators.  On the other hand, we can count on these programs
  493. # doing <rmacs>/<smacs>/<sgr>. Older versions of this entry featured 
  494. # <invis=\E[9m>, but <invis=\E[8m> now seems to be more common under
  495. # ANSI.SYS influence.
  496. # From: Eric S. Raymond <esr@snark.thyrsus.com> Oct 30 1995
  497. pcansi-m|pcansi-mono|ibm-pc terminal programs claiming to be ansi (mono mode), 
  498.     OTbs, am, mir, msgr, 
  499.     cols#80, it#8, lines#24, 
  500.     bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=\E[D, 
  501.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  502.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  503.     hts=\EH, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  504.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, tbc=\E[2g, 
  505.     use=klone+sgr-dumb, 
  506. pcansi-25-m|pcansi25m|ibm-pc terminal programs with 25 lines (mono mode), 
  507.     lines#25, use=pcansi-m, 
  508. pcansi-33-m|pcansi33m|ibm-pc terminal programs with 33 lines (mono mode), 
  509.     lines#33, use=pcansi-m, 
  510. pcansi-43-m|ansi43m|ibm-pc terminal programs with 43 lines (mono mode), 
  511.     lines#43, use=pcansi-m, 
  512. # The color versions.  All PC emulators do color...
  513. pcansi|ibm-pc terminal programs claiming to be ansi, 
  514.     use=klone+color, use=pcansi-m, 
  515. pcansi-25|pcansi25|ibm-pc terminal programs with 25 lines, 
  516.     lines#25, use=pcansi, 
  517. pcansi-33|pcansi33|ibm-pc terminal programs with 33 lines, 
  518.     lines#33, use=pcansi, 
  519. pcansi-43|pcansi43|ibm-pc terminal programs with 43 lines, 
  520.     lines#43, use=pcansi, 
  521.  
  522. # ansi-m -- full ANSI X3.64 with ANSI.SYS-compatible attributes, no color.
  523. # If you want pound signs rather than dollars, replace `B' with `A'
  524. # in the <s0ds>, <s1ds>, <s2ds>, and <s3ds> capabilities.
  525. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
  526. ansi-m|ansi-mono|ANSI X3.64-1979 terminal with ANSI.SYS compatible attributes, 
  527.     mc5i, 
  528.     cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
  529.     cuu=\E[%p1%dA, dch=\E[%p1%dP, dl=\E[%p1%dM, 
  530.     ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 
  531.     ich=\E[%p1%d@, il=\E[%p1%dL, indn=\E[%p1%dS, kbs=^H, 
  532.     kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  533.     kich1=\E[L, mc4=\E[4i, mc5=\E[5i, nel=\r\E[S, 
  534.     rep=%p1%c\E[%p2%{1}%-%db, rin=\E[%p1%dT, s0ds=\E(B, 
  535.     s1ds=\E)B, s2ds=\E*B, s3ds=\E+B, tbc=\E[2g, 
  536.     vpa=\E[%i%p1%dd, use=pcansi-m, 
  537.  
  538. # ansi -- this terminfo expresses the largest subset of X3.64 that will fit in
  539. # standard terminfo.  Assumes ANSI.SYS-compatible attributes and color.
  540. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 6 1995
  541. ansi|ansi/pc-term compatible with color, 
  542.     u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?%[;0123456789]c, 
  543.     u9=\E[c, use=ecma+color, use=klone+sgr, use=ansi-m, 
  544.  
  545. # ansi-generic is a vanilla ANSI terminal. This is assumed to implement 
  546. # all the normal ANSI stuff with no extensions. It assumes 
  547. # insert/delete line/char is there, so it won't work with 
  548. # vt100 clones. It assumes video attributes for bold, blink, 
  549. # underline, and reverse, which won't matter much if the terminal 
  550. # can't do some of those. Padding is assumed to be zero, which 
  551. # shouldn't hurt since xon/xoff is assumed.
  552. ansi-generic|generic ansi standard terminal, 
  553.     am, xon, 
  554.     cols#80, lines#24, use=vanilla, use=ansi+csr, use=ansi+cup, 
  555.     use=ansi+rca, use=ansi+erase, use=ansi+tabs, 
  556.     use=ansi+local, use=ansi+idc, use=ansi+idl, use=ansi+rep, 
  557.     use=ansi+sgrbold, use=ansi+arrows, 
  558.  
  559. #### DOS ANSI.SYS variants
  560. #
  561. # This completely describes the sequences specified in the DOS 2.1 ANSI.SYS
  562. # documentation (except for the keyboard key reassignment feature, which
  563. # doen't fit the <pfkey> model well).  The klone+acs sequences were valid
  564. # though undocumented.  The <pfkey> capability is untested but should work for
  565. # keys F1-F10 (%p1 values outside this range will yield unpredictable results).
  566. # From: Eric S. Raymond <esr@snark.thyrsus.com> Nov 7 1995
  567. ansi.sys-old|ANSI.SYS under PC-DOS 2.1, 
  568.     OTbs, am, mir, msgr, xon, 
  569.     cols#80, lines#25, 
  570.     clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  571.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[k, home=\E[H, 
  572.     is2=\E[m\E[?7h, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  573.     khome=^^, pfkey=\E[0;%p1%{58}%+%d;%p2"%s", rc=\E[u, 
  574.     rmam=\E[?7l, sc=\E[s, smam=\E[?7h, u6=\E[%i%d;%dR, 
  575.     u7=\E[6n, use=klone+color, use=klone+sgr, 
  576. ansi.sys|ANSI.SYS 3.1 and later versions, 
  577.     el=\E[K, use=ansi.sys-old, 
  578.  
  579. #
  580. # Define IBM PC keypad keys for vi as per MS-Kermit while using ANSI.SYS.
  581. # This should only be used when the terminal emulator cannot redefine the keys.
  582. # Since redefining keys with ansi.sys also affects PC-DOS programs, the key
  583. # definitions must be restored.  If the terminal emulator is quit while in vi
  584. # or others using <smkx>/<rmkx>, the keypad will not be defined as per PC-DOS.
  585. # The PgUp and PgDn are prefixed with ESC so that tn3270 can be used on Unix
  586. # (^U and ^D are already defined for tn3270).  The ESC is safe for vi but it
  587. # does "beep".  ESC ESC i is used for Ins to avoid tn3270 ESC i for coltab.
  588. # Note that <kcub1> is always BS, because PC-dos can tolerate this change.
  589. # Caution: vi is limited to 256 string bytes, longer crashes or weirds out vi.
  590. # Consequently the End keypad key could not be set (it is relatively safe and
  591. # actually useful because it sends ^@ O, which beeps and opens a line above).
  592. ansi.sysk|ansisysk|PC-DOS 3.1 ANSI.SYS with keypad redefined for vi, 
  593.     is2=U2 PC-DOS 3.1 ANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
  594.     rmkx=\E[;71;0;71p\E[;72;0;72p\E[;73;0;73p\E[;77;0;77p\E[;80;0;80p\E[;81;0;81p\E[;82;0;82p\E[;83;0;83p, 
  595.     smkx=\E[;71;30p\E[;72;11p\E[;73;27;21p\E[;77;12p\E[;80;10p\E[;81;27;4p\E[;82;27;27;105p\E[;83;127p, 
  596.     use=ansi.sys, 
  597. #
  598. # Adds ins/del line/character, hence vi reverse scrolls/inserts/deletes nicer.
  599. nansi.sys|nansisys|PC-DOS Public Domain NANSI.SYS, 
  600.     dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
  601.     is2=U3 PC-DOS Public Domain NANSI.SYS 9-23-86\n, 
  602.     use=ansi.sys, 
  603. #
  604. # See ansi.sysk and nansi.sys above.
  605. nansi.sysk|nansisysk|PC-DOS Public Domain NANSI.SYS with keypad redefined for vi, 
  606.     dch1=\E[1P, dl1=\E[1M, ich1=\E[1@, il1=\E[1L, 
  607.     is2=U4 PC-DOS Public Domain NANSI.SYS with keypad redefined for vi 9-29-86\n\E[;75;8p, 
  608.     use=ansi.sysk, 
  609.  
  610. #### ANSI console types
  611. #
  612.  
  613. #### BeOS
  614. #
  615. # BeOS entry for Terminal program Seems to be almost ANSI
  616. beterm|BeOS Terminal, 
  617.     am, eo, mir, msgr, xenl, xon, 
  618.     colors#8, cols#80, it#8, lines#25, ncv#5, pairs#64, 
  619.     bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  620.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  621.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  622.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  623.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  624.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, 
  625.     hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  626.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
  627.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, 
  628.     kend=\E[4~, kf1=\E[11~, kf10=\E[20~, kf11=\E[21~, 
  629.     kf12=\E[22~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
  630.     kf5=\E[15~, kf6=\E[16~, kf7=\E[17~, kf8=\E[18~, kf9=\E[19~, 
  631.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, kspd=^Z, 
  632.     nel=^M^J, op=\E[m, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
  633.     rmkx=\E[?4l, rmso=\E[m, rmul=\E[24m, rs1=\Ec, sc=\E7, 
  634.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  635.     setb=\E[%p1%{40}%+%cm, setf=\E[%p1%{30}%+%cm, 
  636.     sgr0=\E[0;10m, smir=\E[4h, smkx=\E[?4h, smso=\E[7m, 
  637.     smul=\E[4m, u6=\E[%i%p1%d;%p2%dR, u7=\E[6n, 
  638.     vpa=\E[%i%p1%dd, 
  639.  
  640. #### Linux consoles
  641. #
  642.  
  643. # This entry is good for the 1.2.13 or later version of the Linux console.
  644. #
  645. # ***************************************************************************
  646. # *                                                                         *
  647. # *                           WARNING:                                      *
  648. # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
  649. # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
  650. # * character. Here are the keymap replacement lines that will set this up: *
  651. # *                                                                         *
  652. #    keycode  15 = Tab             Tab
  653. #        alt     keycode  15 = Meta_Tab
  654. #        shift    keycode  15 = F26
  655. #    string F26 ="\033[Z"
  656. # *                                                                         *
  657. # * This has to use a key slot which is unfortunate (any unused one will    *
  658. # * do, F26 is the higher-numbered one).  The change ought to be built      *
  659. # * into the kernel tables.                                                 *
  660. # *                                                                         *
  661. # ***************************************************************************
  662. #
  663. # This entry is good for the 1.2.13 or later version of the Linux console.
  664. #
  665. # ***************************************************************************
  666. # *                                                                         *
  667. # *                           WARNING:                                      *
  668. # * Linuxes come with a default keyboard mapping kcbt=^I.  This entry, in   *
  669. # * response to user requests, assumes kcbt=\E[Z, the ANSI/ECMA reverse-tab *
  670. # * character. Here are the keymap replacement lines that will set this up: *
  671. # *                                                                         *
  672. #    keycode  15 = Tab             Tab
  673. #        alt     keycode  15 = Meta_Tab
  674. #        shift    keycode  15 = F26
  675. #    string F26 ="\033[Z"
  676. # *                                                                         *
  677. # * This has to use a key slot which is unfortunate (any unused one will    *
  678. # * do, F26 is the higher-numbered one).  The change ought to be built      *
  679. # * into the kernel tables.                                                 *
  680. # *                                                                         *
  681. # ***************************************************************************
  682. #
  683. # All linux kernels since 1.2.13 (at least) set the screen size
  684. # themselves; this entry assumes that capability.
  685. #
  686. linux-basic|linux console, 
  687.     am, bce, eo, mir, msgr, xenl, xon, 
  688.     it#8, ncv#18, 
  689.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  690.     bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  691.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  692.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  693.     dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  694.     el1=\E[1K, flash=\E[?5h\E[?5l$<200/>, home=\E[H, 
  695.     hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  696.     il=\E[%p1%dL, il1=\E[L, ind=^J, kb2=\E[G, kbs=\177, 
  697.     kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  698.     kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
  699.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  700.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  701.     kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
  702.     kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  703.     khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  704.     kspd=^Z, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, 
  705.     rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
  706.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  707.     smir=\E[4h, smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, 
  708.     u7=\E[6n, u8=\E[?6c, u9=\E[c, vpa=\E[%i%p1%dd, 
  709.     use=klone+sgr, use=ecma+color, 
  710.  
  711. linux-m|Linux console no color, 
  712.     colors@, pairs@, 
  713.     setab@, setaf@, setb@, setf@, use=linux, 
  714.  
  715. # The 1.3.x kernels add color-change capabilities; if yours doesn't have this
  716. # and it matters, turn off <ccc>.  The %02x escape used to implement this is
  717. # not supposedly back-portable to older SV curses (although it has worked fine
  718. # on Solaris for several years) and not supported in ncurses versions before
  719. # 1.9.9.
  720. linux-c-nc|linux console with color-change, 
  721.     ccc, 
  722.     initc=\E]P%p1%x%p2%{256}%*%{1000}%/%02x%p3%{256}%*%{1000}%/%02x%p4%{256}%*%{1000}%/%02x, 
  723.     oc=\E]R, use=linux-basic, 
  724. # From: Dennis Henriksen <opus@osrl.dk>, 9 July 1996
  725. linux-c|linux console 1.3.6+ for older ncurses, 
  726.     ccc, 
  727.     initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{256}%*%{1000}%/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%p3%{256}%*%{1000}%/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%p4%{256}%*%{1000}%/%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'a'%+%c%e%gx%d%;, 
  728.     oc=\E]R, use=linux-basic, 
  729.  
  730. # The 2.2.x kernels add a private mode that sets the cursor type; use that to
  731. # get a block cursor for cvvis.
  732. # reported by Frank Heckenbach <frank@g-n-u.de>.
  733. linux|linux console, 
  734.     civis=\E[?25l\E[?1c, cnorm=\E[?25h\E[?0c, 
  735.     cvvis=\E[?25h\E[?8c, use=linux-c-nc, 
  736.  
  737. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  738. linux-nic|linux with ich/ich1 suppressed for non-curses programs, 
  739.     ich@, ich1@, use=linux, 
  740.  
  741. # This assumes you have used setfont(8) to load one of the Linux koi8-r fonts.
  742. # acsc entry from Pavel Roskin" <pavel@absolute.spb.su>, 29 Sep 1997.
  743. linux-koi8|linux with koi8 alternate character set, 
  744.     acsc=+\020\,\021-\030.^Y0\215`\004a\221f\234g\237h\220i\276j\205k\203l\202m\204n\212o~p\0q\0r\0s_t\206u\207v\211w\210x\201y\230z\231{\267|\274~\224, 
  745.     use=linux, use=klone+koi8acs, 
  746.  
  747. # Another entry for KOI8-r with Qing Long's acsc.
  748. # (which one better complies with the standard?)
  749. linux-koi8r|linux with koi8-r alternate character set, 
  750.     use=linux, use=klone+koi8acs, 
  751.  
  752. # Entry for the latin1 and latin2 fonts
  753. linux-lat|linux with latin1 or latin2 alternate character set, 
  754.     acsc=+\020\,\021-\030.^Y0\333`\004a\013f\370g\361h\260i\316j\211k\214l\206m\203n\305o~p\304q\212r\304s_t\207u\215v\301w\302x\205y\363z\362{\343|\330}\234~\376, 
  755.     use=linux, 
  756.  
  757. #### Mach
  758. #
  759.  
  760. # From: Matthew Vernon <mcv21@pick.sel.cam.ac.uk>
  761. mach|Mach Console, 
  762.     am, km, 
  763.     cols#80, it#8, lines#25, 
  764.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
  765.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  766.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  767.     cuu=\E[%p1%dA, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  768.     el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  769.     kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  770.     kdch1=\E[9, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf2=\EOQ, 
  771.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
  772.     kf9=\EOX, khome=\E[H, kich1=\E[@, kll=\E[F, knp=\E[U, 
  773.     kpp=\E[V, rev=\E[7m, rmso=\E[0m, rmul=\E[24m, sgr0=\E[0m, 
  774.     smso=\E[7m, smul=\E[4m, 
  775. mach-bold|Mach Console with bold instead of underline, 
  776.     rmul=\E[0m, smul=\E[1m, use=mach, 
  777. mach-color|Mach Console with ANSI color, 
  778.     colors#8, pairs#64, 
  779.     dim=\E[2m, invis=\E[8m, op=\E[37;40m, rmso=\E[27m, 
  780.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=mach, 
  781.  
  782. #### OSF Unix
  783. #
  784.  
  785. # OSF/1 1.1 Snapshot 2
  786. pmcons|pmconsole|PMAX console, 
  787.     am, 
  788.     cols#128, lines#57, 
  789.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ht=^I, 
  790.     ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  791.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  792.  
  793. # SCO console and SOS-Syscons console for 386bsd
  794. # (scoansi: had unknown capabilities
  795. #    :Gc=N:Gd=K:Gh=M:Gl=L:Gu=J:Gv=\072:\
  796. #    :GC=E:GD=B:GH=D:GL=\64:GU=A:GV=\63:GR=C:
  797. #    :G1=?:G2=Z:G3=@:G4=Y:G5=;:G6=I:G7=H:G8=<:\
  798. #    :CW=\E[M:NU=\E[N:RF=\E[O:RC=\E[P:\
  799. #    :WL=\E[S:WR=\E[T:CL=\E[U:CR=\E[V:\
  800. # I renamed GS/GE/HM/EN/PU/PD/RT and added klone+sgr-dumb, based
  801. # on the <smacs>=\E[12m  -- esr)
  802. #
  803. # klone+sgr-dumb is an error since the acsc does not match -TD
  804. #
  805. # In this description based on SCO's keyboard(HW) manpage list of default
  806. # function key values:
  807. #    F13-F24 are shifted F1-F12
  808. #    F25-F36 are control F1-F12
  809. #    F37-F48 are shift+control F1-F12
  810. #
  811. # hpa/vpa work in the console, but not in scoterm:
  812. #    hpa=\E[%p1%dG,
  813. #    vpa=\E[%p1%dd,
  814. #
  815. # SCO's terminfo uses
  816. #    kLFT=\E[d,
  817. #    kRIT=\E[c,
  818. # which do not work (console or scoterm).
  819. #
  820. # Console documents only 3 attributes can be set with SGR (so we don't use sgr).
  821. scoansi-old|SCO Extended ANSI standard crt (5.0.5), 
  822.     OTbs, am, bce, eo, xon, 
  823.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  824.     acsc=-\230.\231\,.+/0[5566778899\:\:;;<<==>>FFGGHHIIJJKKLLMMNNOOPPQQRRSSTTUUVVWWXX`\204a0fxgqh2jYk?lZm@nEqDtCu4vAwBx3yszr{c}\034~\207, 
  825.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  826.     civis=\E[=14;12C, clear=\E[H\E[2J, cnorm=\E[=10;12C, 
  827.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  828.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  829.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[=0;12C, dch=\E[%p1%dP, 
  830.     dch1=\E[P, dispc=\E[=%p1%dg, dl=\E[%p1%dM, dl1=\E[M, 
  831.     ed=\E[m\E[J, el=\E[m\E[K, el1=\E[1K, home=\E[H, ht=^I, 
  832.     hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  833.     ind=\E[S, indn=\E[%p1%dS, invis=\E[8m, kbeg=\E[E, kbs=^H, 
  834.     kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  835.     kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, kf11=\E[W, 
  836.     kf12=\E[X, kf13=\E[Y, kf15=\E[a, kf16=\E[b, kf17=\E[c, 
  837.     kf18=\E[d, kf19=\E[e, kf2=\E[N, kf20=\E[f, kf21=\E[g, 
  838.     kf22=\E[h, kf23=\E[i, kf24=\E[j, kf25=\E[k, kf26=\E[l, 
  839.     kf27=\E[m, kf28=\E[n, kf29=\E[o, kf3=\E[O, kf30=\E[p, 
  840.     kf31=\E[q, kf32=\E[r, kf33=\E[s, kf34=\E[t, kf35=\E[u, 
  841.     kf36=\E[v, kf37=\E[w, kf38=\E[x, kf39=\E[y, kf4=\E[P, 
  842.     kf40=\E[z, kf41=\E[@, kf42=\E[[, kf43=\E[\\, kf44=\E[], 
  843.     kf45=\E[\^, kf46=\E[_, kf47=\E[`, kf48=\E[{, kf5=\E[Q, 
  844.     kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
  845.     kich1=\E[L, knp=\E[G, kpp=\E[I, op=\E[0;37;40m, rc=\E8, 
  846.     rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, 
  847.     rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sc=\E7, 
  848.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0;10m, 
  849.     smacs=\E[12m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  850. scoansi-new|SCO Extended ANSI standard crt (5.0.6), 
  851.     km, 
  852.     civis=\E[=0c, cnorm=\E[=1c, csr=\E[%i%p1%d;%p2%dr, 
  853.     cvvis=\E[=2c, mgc=\E[=r, oc=\E[51m, op=\E[50m, 
  854.     rep=\E[%p1%d;%p2%db, rmm=\E[=11L, 
  855.     sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;12%;m, 
  856.     smgb=\E[=1;0m, smgbp=\E[=1;%i%p1%dm, 
  857.     smglp=\E[=2;%i%p1%dm, smgr=\E[=3;0m, 
  858.     smgrp=\E[=3;%i%p1%dm, smgt=\E[=0;0m, 
  859.     smgtp=\E[=0;%i%p1%dm, smm=\E[=10L, 
  860.     wind=\E[%i%p1%d;%p2%d;%i%p3%d;%p4%dr, 
  861.     use=scoansi-old, 
  862. # make this easy to change...
  863. scoansi|SCO Extended ANSI standard crt, 
  864.     use=scoansi-old, 
  865.  
  866. # This actually describes the generic SVr4 display driver for Intel boxes.
  867. # The <dim=\E[2m> isn't documented and therefore may not be reliable.
  868. # From: Eric Raymond <esr@snark.thyrsus.com> Mon Nov 27 19:00:53 EST 1995
  869. att6386|at386|386at|AT&T WGS 6386 console, 
  870.     am, bw, eo, xon, 
  871.     cols#80, it#8, lines#25, 
  872.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  873.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[=C, 
  874.     clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub=\E[%p1%dD, 
  875.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  876.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  877.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  878.     dl=\E[%p1%dM, dl1=\E[1M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  879.     home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  880.     ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=\E[S, 
  881.     indn=\E[%p1%dS, invis=\E[9m, is2=\E[0;10;39m, kbs=^H, 
  882.     kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  883.     kdch1=\E[P, kend=\E[Y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, 
  884.     kf12=\EOA, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
  885.     kf7=\EOV, kf8=\EOW, kf9=\EOX, khome=\E[H, kich1=\E[@, 
  886.     knp=\E[U, kpp=\E[V, krmir=\E0, nel=\r\E[S, rc=\E8, rev=\E[7m, 
  887.     ri=\E[T, rin=\E[%p1%dT, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  888.     sc=\E7, 
  889.     sgr=\E[10m\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p9%t;12%e;10%;%?%p7%t;9%;m, 
  890.     sgr0=\E[0;10m, smacs=\E[12m, smso=\E[7m, smul=\E[4m, 
  891.     tbc=\E[2g, vpa=\E[%i%p1%dd, use=klone+color, 
  892. # (pc6300plus: removed ":KM=/usr/lib/ua/kmap.s5:"; renamed BO/EE/CI/CV -- esr)
  893. pc6300plus|AT&T 6300 plus, 
  894.     OTbs, am, xon, 
  895.     cols#80, lines#24, 
  896.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[=C, 
  897.     clear=\E[2J\E[H, cnorm=\E[=1C, cr=^M, cub1=^H, cud1=\E[B, 
  898.     cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
  899.     dch1=\E[1P, dim=\E[2m, dl1=\E[1M, ed=\E[0J, el=\E[0K, 
  900.     home=\E[H, hts=\EH, ich1=\E[1@, il1=\E[1L, ind=^J, 
  901.     invis=\E[9m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  902.     kcuu1=\E[A, kf1=\EOc, kf10=\EOu, kf2=\EOd, kf3=\EOe, 
  903.     kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\EOk, 
  904.     nel=^M^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  905.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  906.  
  907. # From: Benjamin C. W. Sittler <bsittler@nmt.edu>
  908. #
  909. # I have a UNIX PC which I use as a terminal attached to my Linux PC.
  910. # Unfortunately, the UNIX PC terminfo entry that comes with ncurses
  911. # is broken. All the special key sequences are broken, making it unusable
  912. # with Emacs. The problem stems from the following:
  913. # The UNIX PC has a plethora of keys (103 of them, and there's no numeric
  914. # keypad!), loadable fonts, and strange highlighting modes ("dithered"
  915. # half-intensity, "smeared" bold, and real strike-out, for example.) It also
  916. # uses resizable terminal windows, but the bundled terminal program always
  917. # uses an 80x24 window (and doesn't support seem to support a 132-column
  918. # mode.) 
  919. # HISTORY: The UNIX PC was one of the first machines with a GUI, and used a
  920. # library which was a superset of SVr3.5 curses (called tam, for "terminal
  921. # access method".) tam includes support for real, overlapping windows,
  922. # onscreen function key labels, and bitmap graphics. But since the primary
  923. # user interface on the UNIX PC was a GUI program (ua, for "user
  924. # assistant",) and remote administration was considered important for the
  925. # machine, tam also supported VT100-compatible terminals attached to the
  926. # serial port or used across the StarLan network. To simulate the extra keys
  927. # not present on a VT100, users could press ESC and a two-letter sequence,
  928. # such as u d (Undo) or U D (Shift-Undo.) These two-letter sequences,
  929. # however, were not the same as those sent by the actual Undo key. The
  930. # actual Undo key sends ESC 0 s unshifted, and ESC 0 S shifted, for example.
  931. # (If you're interested in adding some of the tam calls to ncurses, btw, I
  932. # have the full documentation and several programs which use tam. It also
  933. # used an extended terminfo format to describe key sequences, special
  934. # highlighting modes, etc.) 
  935. # KEYS: This means that ncurses would quite painful on the UNIX PC, since
  936. # there are two sequences for every key-modifier combination (local keyboard
  937. # sequence and remote "VT100" sequence.) But I doubt many people are trying
  938. # to use ncurses on the UNIX PC, since ncurses doesn't properly handle the
  939. # GUI. Unfortunately, the terminfo entry (and the termcap, too, I presume) 
  940. # seem to have been built from the manual describing the VT100 sequences. 
  941. # This means it doesn't work for a real live UNIX PC. 
  942. # FONTS: The UNIX PC also has a strange interpretation of "alternate
  943. # character set". Rather than the VT100 graphics you might expect, it allows
  944. # up to 8 custom fonts to be loaded at any given time. This means that
  945. # programs expecting VT100 graphics will usually be disappointed. For this
  946. # reason I have disabled the smacs/rmacs sequences, but they could easily be
  947. # re-enabled. Here are the relevant control sequences (from the ESCAPE(7) 
  948. # manpage), should you wish to do so: 
  949. # SGR10 - Select font 0 - ESC [ 10 m or SO
  950. # SGR11 - Select font 1 - ESC [ 11 m or SI
  951. # SGR12 - Select font 2 - ESC [ 12 m
  952. # ... (etc.)
  953. # SGR17 - Select font 7 - ESC [ 17 m
  954. # Graphics for line drawing are not reliably found at *any* character
  955. # location because the UNIX PC has dynamically reloadable fonts. I use font
  956. # 0 for regular text and font 1 for italics, but this is by no means
  957. # universal. So ASCII line drawing is in order if smacs/rmacs are enabled.
  958. # MISC: The cursor visible/cursor invisible sequences were swapped in the
  959. # distributed terminfo.
  960. # To ameliorate these problems (and fix a few highlighting bugs) I rewrote
  961. # the UNIX PC terminfo entry. The modified version works great with Lynx,
  962. # Emacs, and XEmacs running on my Linux PC and displaying on the UNIX PC
  963. # attached by serial cable. In Emacs, even the Undo key works, and many
  964. # applications can now use the F1-F8 keys. 
  965. # esr's notes:
  966. #    Terminfo entry for the AT&T Unix PC 7300
  967. #    from escape(7) in Unix PC 7300 Manual.
  968. #    Somewhat similar to a vt100-am (but different enough
  969. #    to redo this from scratch.)
  970. #
  971. #    /***************************************************************
  972. #    *
  973. #    *           FONT LOADING PROGRAM FOR THE UNIX PC
  974. #    *
  975. #    *     This routine loads a font defined in the file ALTFONT
  976. #    *     into font memory slot #1.  Once the font has been loaded,
  977. #    *     it can be used as an alternative character set.
  978. #    *
  979. #    *     The call to ioctl with the argument WIOCLFONT is the key 
  980. #    *     to this routine.  For more information, see window(7) in 
  981. #    *     the PC 7300 documentation.
  982. #    ***************************************************************/
  983. #    #include <string.h>        /* needed for strcpy call */
  984. #    #include <sys/window.h>         /* needed for ioctl call */
  985. #    #define FNSIZE    60        /* font name size */
  986. #    #define ALTFONT  "/usr/lib/wfont/special.8.ft"  /* font file */
  987. #    /*
  988. #    *     The file /usr/lib/wfont/special.8.ft comes with the
  989. #    *     standard PC software.  It defines a graphics character set
  990. #    *     similar to that of the Teletype 5425 terminal.  To view
  991. #    *     this or other fonts in /usr/lib/wfont, use the command
  992. #    *     cfont <filename>.  For further information on fonts see
  993. #    *     cfont(1) in the PC 7300 documentation.
  994. #    */
  995. #    
  996. #    struct altfdata     /* structure for alt font data */
  997. #    {
  998. #    short    altf_slot;        /* memory slot number */
  999. #    char    altf_name[FNSIZE];    /* font name (file name) */
  1000. #    };
  1001. #    ldfont()
  1002. #    {
  1003. #        int wd;        /* window in which altfont will be */
  1004. #        struct altfdata altf;
  1005. #        altf.altf_slot=1;
  1006. #        strcpy(altf.altf_name,ALTFONT);
  1007. #        for (wd =1; wd < 12; wd++) {
  1008. #             ioctl(wd, WIOCLFONT,&altf);
  1009. #            }
  1010. #    }
  1011. #
  1012. # (att7300: added <civis>/<cnorm>/<ich1>/<invis> from the BSDI entry,
  1013. # they're confirmed by the man page for the System V display---esr)
  1014. #
  1015. att7300|unixpc|pc7300|3b1|s4|AT&T UNIX PC Model 7300, 
  1016.     am, xon, 
  1017.     cols#80, it#8, lines#24, 
  1018.     bel=^G, blink=\E[9m, bold=\E[1m, cbt=\E^I, civis=\E[=1C, 
  1019.     clear=\E[2J\E[H, cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, 
  1020.     cub1=^H, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  1021.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  1022.     cuu1=\E[A, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  1023.     ed=\E[0J, el=\E[0K, home=\E[H, ich1=\E[@, il=\E[%p1%dL, 
  1024.     il1=\E[L, ind=^J, invis=\E[9m, is1=\017\E[=1w, kBEG=\ENB, 
  1025.     kCAN=\EOW, kCPY=\END, kCRT=\EON, kDC=\ENF, kDL=\ENE, 
  1026.     kEND=\ENN, kEOL=\EOA, kFND=\EOX, kHLP=\EOM, kHOM=\ENM, 
  1027.     kIC=\ENJ, kLFT=\ENK, kMOV=\ENC, kNXT=\ENH, kOPT=\EOR, 
  1028.     kPRV=\ENG, kRDO=\EOT, kRIT=\ENL, kRPL=\EOY, kSAV=\EOO, 
  1029.     kUND=\EOS, kbeg=\ENb, kbs=^H, kcan=\EOw, kcbt=\E[Z, 
  1030.     kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  1031.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\ENf, 
  1032.     ked=\E[J, kel=\EOa, kend=\E0, kext=\EOk, kf1=\EOc, kf2=\EOd, 
  1033.     kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
  1034.     kfnd=\EOx, khlp=\EOm, khome=\E[H, kich1=\ENj, kind=\E[B, 
  1035.     kmov=\ENc, kmrk=\ENi, knp=\E[U, knxt=\ENh, kopn=\EOv, 
  1036.     kopt=\EOr, kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, 
  1037.     kref=\EOb, krfr=\ENa, kri=\E[A, krpl=\EOy, krst=\EOB, 
  1038.     ksav=\EOo, kslt=\ENI, kund=\EOs, nel=\EE, rev=\E[7m, ri=\EM, 
  1039.     rmso=\E[m, rmul=\E[m, sgr0=\E[0;10m, smso=\E[7m, 
  1040.     smul=\E[4m, 
  1041.  
  1042. # Sent by Stefan Stapelberg <stefan@rent-a-guru.de>, 24 Feb 1997, this is
  1043. # from SGI's terminfo database.  SGI's entry shows F9-F12 with the codes
  1044. # for the application keypad mode.  We have added iris-ansi-ap rather than
  1045. # change the original to keypad mode.
  1046. #
  1047. # (iris-ansi: added rmam/smam based on init string -- esr)
  1048. #
  1049. # This entry, and those derived from it, is used in xwsh (also known as
  1050. # winterm).  Some capabilities that do not fit into the terminfo model
  1051. # include the shift- and control-functionkeys:
  1052. #
  1053. # F1-F12 generate different codes when shift or control modifiers are used.
  1054. # For example:
  1055. #    F1          \E[001q
  1056. #    shift F1    \E[013q
  1057. #    control-F1    \E[025q
  1058. #
  1059. # In application keypad mode, F9-F12 generate codes like vt100 PF1-PF4, i.e.,
  1060. # \EOP to \EOS.  The shifted and control modifiers still do the same thing.
  1061. #
  1062. # The cursor keys also have different codes:
  1063. #    control-up    \E[162q
  1064. #    control-down    \E[165q
  1065. #    control-left    \E[159q
  1066. #    control-right    \E[168q
  1067. #
  1068. #    shift-up    \E[161q
  1069. #    shift-down    \E[164q
  1070. #    shift-left    \E[158q
  1071. #    shift-right    \E[167q
  1072. #
  1073. #    control-tab    \[072q
  1074. #
  1075. iris-ansi|iris-ansi-net|IRIS emulating 40 line ANSI terminal (almost VT100), 
  1076.     am, 
  1077.     cols#80, it#8, lines#40, 
  1078.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, 
  1079.     cnorm=\E[9/y\E[12/y\E[=6l, cr=^M, cub=\E[%p1%dD, 
  1080.     cub1=\E[D, cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, 
  1081.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  1082.     cuu1=\E[A, cvvis=\E[10/y\E[=1h\E[=2l\E[=6h, 
  1083.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  1084.     home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1085.     is2=\E[?1l\E>\E[?7h\E[100g\E[0m\E7\E[r\E8, kDC=\E[P, 
  1086.     kEND=\E[147q, kHOM=\E[143q, kLFT=\E[158q, kPRT=\E[210q, 
  1087.     kRIT=\E[167q, kSPD=\E[218q, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
  1088.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
  1089.     kend=\E[146q, kent=^M, kf1=\E[001q, kf10=\E[010q, 
  1090.     kf11=\E[011q, kf12=\E[012q, kf2=\E[002q, kf3=\E[003q, 
  1091.     kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
  1092.     kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
  1093.     knp=\E[154q, kpp=\E[150q, kprt=\E[209q, krmir=\E[146q, 
  1094.     kspd=\E[217q, nel=\EE, pfkey=\EP101;%p1%d.y%p2%s\E\\, 
  1095.     rc=\E8, rev=\E[7m, ri=\EM, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
  1096.     sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[1;7m, smul=\E[4m, 
  1097.     tbc=\E[3g, 
  1098. iris-ansi-ap|IRIS ANSI in application-keypad mode, 
  1099.     is2=\E[?1l\E=\E[?7h, kent=\EOM, kf10=\E[010q, 
  1100.     kf11=\E[011q, kf12=\E[012q, kf9=\E[009q, use=iris-ansi, 
  1101.  
  1102. # From the man-page, this is a quasi-vt100 emulator that runs on SGI's IRIX
  1103. # (T.Dickey 98/1/24)
  1104. iris-color|xwsh|IRIX ANSI with color, 
  1105.     ncv#33, 
  1106.     csr=\E[%i%p1%d;%p2%dr, dch=\E[%p1%dP, dim=\E[2m, 
  1107.     ech=\E[%p1%dX, ich=\E[%p1%d@, rc=\E8, ritm=\E[23m, 
  1108.     rmul=\E[24m, rs1=\Ec, 
  1109.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1110.     sitm=\E[3m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  1111.     use=klone+color, use=iris-ansi-ap, 
  1112.  
  1113. # The following is a version of the ibm-pc entry distributed with PC/IX,
  1114. # (Interactive Systems' System 3 for the Big Blue), modified by Richard
  1115. # McIntosh at UCB/CSM.  The :pt: and :uc: have been removed from the original,
  1116. # (the former is untrue, and the latter failed under UCB/man); standout and
  1117. # underline modes have been added.  Note: this entry describes the "native"
  1118. # capabilities of the PC monochrome display, without ANY emulation; most
  1119. # communications packages (but NOT PC/IX connect) do some kind of emulation.
  1120. pcix|PC/IX console, 
  1121.     am, bw, eo, 
  1122.     cols#80, lines#24, 
  1123.     clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1124.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  1125.     home=\E[H, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, 
  1126.     smul=\E[4m, 
  1127.  
  1128. # (ibmpcx: this entry used to be known as ibmx.
  1129. # It formerly included the following extension capabilities:
  1130. #    :GC=b:GL=v:GR=t:RT=^J:\
  1131. #    :GH=\E[196g:GV=\E[179g:\
  1132. #    :GU=\E[193g:GD=\E[194g:\
  1133. #    :G1=\E[191g:G2=\E[218g:G3=\E[192g:G4=\E[217g:\
  1134. #    :CW=\E[E:NU=\E[F:RF=\E[G:RC=\E[H:\
  1135. #    :WL=\E[K:WR=\E[L:CL=\E[M:CR=\E[N:\
  1136. # I renamed GS/GE/WL/WR/CL/CR/PU/PD/HM/EN; also, removed a duplicate
  1137. # ":kh=\E[Y:".  Added IBM-PC forms characters and highlights, they match
  1138. # what was there before. -- esr)
  1139. ibmpcx|xenix|ibmx|IBM PC xenix console display, 
  1140.     OTbs, am, msgr, 
  1141.     cols#80, lines#25, 
  1142.     clear=^L, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1143.     cup=\E[%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  1144.     ed=\E[J, el=\E[K, home=\E[H, ich1=\E[@, il1=\E[L, kbs=^H, 
  1145.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[d, 
  1146.     kf1=\E[K, kf2=\E[L, kf3=\E[M, kf4=\E[N, khome=\E[Y, knp=\E[e, 
  1147.     kpp=\E[Z, use=klone+acs, use=klone+sgr, 
  1148.  
  1149. #### QNX
  1150. #
  1151.  
  1152. # QNX 4.0 Console
  1153. # Michael's original version of this entry had <am@>, <smcup=\Ei>,
  1154. # <rmcup=\Eh\ER>; this was so terminfo applications could write the lower
  1155. # right corner without triggering a scroll.  The ncurses terminfo library can
  1156. # handle this case with the <ich1> capability, and prefers <am> for better
  1157. # optimization.  Bug: The <op> capability resets attributes.
  1158. # From: Michael Hunter <mphunter@qnx.com> 30 Jul 1996
  1159. # (removed: <sgr=%?%p1%t\E<%;%p2%t\E[%;%p3%t\E(%;%p4%t\E{%;%p6%t\E<%;,>)
  1160. qnx|qnx4|qnx console, 
  1161.     daisy, km, mir, msgr, xhpa, xt, 
  1162.     colors#8, cols#80, it#4, lines#25, ncv#3, pairs#8, 
  1163.     acsc=O\333a\261j\331k\277l\332m\300n\305o\337q\304s\334t\303u\264v\301w\302x\263, 
  1164.     bel=^G, blink=\E{, bold=\E<, civis=\Ey0, clear=\EH\EJ, 
  1165.     cnorm=\Ey1, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  1166.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\Ey2, 
  1167.     dch1=\Ef, dl1=\EF, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\Ee, 
  1168.     il1=\EE, ind=^J, kBEG=\377\356, kCAN=\377\263, 
  1169.     kCMD=\377\267, kCPY=\377\363, kCRT=\377\364, 
  1170.     kDL=\377\366, kEND=\377\301, kEOL=\377\311, 
  1171.     kEXT=\377\367, kFND=\377\370, kHLP=\377\371, 
  1172.     kHOM=\377\260, kIC=\377\340, kLFT=\377\264, 
  1173.     kMOV=\377\306, kMSG=\377\304, kNXT=\377\272, 
  1174.     kOPT=\377\372, kPRT=\377\275, kPRV=\377\262, 
  1175.     kRDO=\377\315, kRES=\377\374, kRIT=\377\266, 
  1176.     kRPL=\377\373, kSAV=\377\307, kSPD=\377\303, 
  1177.     kUND=\377\337, kbeg=\377\300, kcan=\377\243, kcbt=\377\0, 
  1178.     kclo=\377\343, kclr=\377\341, kcmd=\377\245, 
  1179.     kcpy=\377\265, kcrt=\377\305, kctab=\377\237, 
  1180.     kcub1=\377\244, kcud1=\377\251, kcuf1=\377\246, 
  1181.     kcuu1=\377\241, kdch1=\377\254, kdl1=\377\274, 
  1182.     ked=\377\314, kel=\377\310, kend=\377\250, kent=\377\320, 
  1183.     kext=\377\270, kf1=\377\201, kf10=\377\212, 
  1184.     kf11=\377\256, kf12=\377\257, kf13=\377\213, 
  1185.     kf14=\377\214, kf15=\377\215, kf16=\377\216, 
  1186.     kf17=\377\217, kf18=\377\220, kf19=\377\221, 
  1187.     kf2=\377\202, kf20=\377\222, kf21=\377\223, 
  1188.     kf22=\377\224, kf23=\377\333, kf24=\377\334, 
  1189.     kf25=\377\225, kf26=\377\226, kf27=\377\227, 
  1190.     kf28=\377\230, kf29=\377\231, kf3=\377\203, 
  1191.     kf30=\377\232, kf31=\377\233, kf32=\377\234, 
  1192.     kf33=\377\235, kf34=\377\236, kf35=\377\276, 
  1193.     kf36=\377\277, kf37=\377\321, kf38=\377\322, 
  1194.     kf39=\377\323, kf4=\377\204, kf40=\377\324, 
  1195.     kf41=\377\325, kf42=\377\326, kf43=\377\327, 
  1196.     kf44=\377\330, kf45=\377\331, kf46=\377\332, 
  1197.     kf47=\377\316, kf48=\377\317, kf5=\377\205, kf6=\377\206, 
  1198.     kf7=\377\207, kf8=\377\210, kf9=\377\211, kfnd=\377\346, 
  1199.     khlp=\377\350, khome=\377\240, khts=\377\342, 
  1200.     kich1=\377\253, kil1=\377\273, kind=\377\261, 
  1201.     kmov=\377\351, kmrk=\377\355, kmsg=\377\345, 
  1202.     knp=\377\252, knxt=\377\312, kopn=\377\357, 
  1203.     kopt=\377\353, kpp=\377\242, kprt=\377\255, 
  1204.     kprv=\377\302, krdo=\377\336, kref=\377\354, 
  1205.     kres=\377\360, krfr=\377\347, kri=\377\271, 
  1206.     krmir=\377\313, krpl=\377\362, krst=\377\352, 
  1207.     ksav=\377\361, kslt=\377\247, kspd=\377\335, 
  1208.     ktbc=\377\344, kund=\377\365, mvpa=\E!%p1%02d, op=\ER, 
  1209.     rep=\Eg%p2%{32}%+%c%p1%c, rev=\E(, ri=\EI, rmcup=\Eh\ER, 
  1210.     rmso=\E), rmul=\E], rs1=\ER, setb=\E@%p1%Pb%gb%gf%d%d, 
  1211.     setf=\E@%p1%Pf%gb%gf%d%d, sgr0=\E}\E]\E>\E), smcup=\Ei, 
  1212.     smso=\E(, smul=\E[, 
  1213. #
  1214. #
  1215. qnxt|qnxt4|QNX4 terminal, 
  1216.     crxm, use=qnx4, 
  1217. #
  1218. qnxm|QNX4 with mouse events, 
  1219.     maddr#1, 
  1220.     chr=\E/, cvr=\E", is1=\E/0t, mcub=\E/>1h, mcub1=\E/>7h, 
  1221.     mcud=\E/>1h, mcud1=\E/>1l\E/>9h, mcuf=\E/>1h\E/>9l, 
  1222.     mcuf1=\E/>7l, mcuu=\E/>6h, mcuu1=\E/>6l, rmicm=\E/>2l, 
  1223.     smicm=\E/>2h, use=qnx4, 
  1224. #
  1225. qnxw|QNX4 windows, 
  1226.     xvpa, use=qnxm, 
  1227. #
  1228. #    Monochrome QNX4 terminal or console. Setting this terminal type will
  1229. #    allow an application running on a color console to behave as if it
  1230. #    were a monochrome terminal. Output will be through stdout instead of
  1231. #    console writes because the term routines will recognize that the
  1232. #    terminal name starts with 'qnxt'.
  1233. #
  1234. qnxtmono|Monochrome QNX4 terminal or console, 
  1235.     colors@, pairs@, 
  1236.     scp@, use=qnx4, 
  1237.  
  1238. # From: Federico Bianchi <bianchi@pc-arte2.arte.unipi.it>, 1 Jul 1998
  1239. # (esr: commented out <scp> and <rmcup> to avoid warnings.)
  1240. # (TD: derive from original qnx4 entry)
  1241. qnxt2|qnx 2.15 serial terminal, 
  1242.     am, 
  1243.     civis@, cnorm@, cvvis@, dch1@, ich1@, kRES@, kRPL@, kUND@, kspd@, 
  1244.     rep@, rmcup@, rmso=\E>, setb@, setf@, smcup@, smso=\E<, use=qnx4, 
  1245.  
  1246. # QNX ANSI terminal definition
  1247. qansi-g|QNX ANSI, 
  1248.     am, eslok, hs, xon, 
  1249.     colors#8, cols#80, it#8, lines#25, ncv#19, pairs#64, wsl#80, 
  1250.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~Oa, 
  1251.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  1252.     clear=\E[2J\E[H, cnorm=\E[?25h\E[?12l, cr=^M, 
  1253.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  1254.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  1255.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, cuu1=\E[A, 
  1256.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  1257.     dl=\E[%p1%dM, dl1=\E[1M, dsl=\E[r, ech=\E[%p1%dX, ed=\E[J, 
  1258.     el=\E[K, el1=\E[1K\E[X, flash=\E[?5h$<200>\E[?5l, 
  1259.     fsl=\E[?6h\E8, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  1260.     ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, 
  1261.     ind=\E[S, indn=\E[%p1%dS, invis=\E[9m, 
  1262.     is2=\E>\E[?1l\E[?7h\E[0;10;39;49m, is3=\E(B\E)0, 
  1263.     kBEG=\ENn, kCAN=\E[s, kCMD=\E[t, kCPY=\ENs, kCRT=\ENt, 
  1264.     kDL=\ENv, kEXT=\ENw, kFND=\ENx, kHLP=\ENy, kHOM=\E[h, 
  1265.     kLFT=\E[d, kNXT=\E[u, kOPT=\ENz, kPRV=\E[v, kRIT=\E[c, 
  1266.     kbs=^H, kcan=\E[S, kcbt=\E[Z, kclo=\ENc, kclr=\ENa, 
  1267.     kcmd=\E[G, kcpy=\E[g, kctab=\E[z, kcub1=\E[D, kcud1=\E[B, 
  1268.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[p, kend=\E[Y, 
  1269.     kext=\E[y, kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, 
  1270.     kf13=\EOp, kf14=\EOq, kf15=\EOr, kf16=\EOs, kf17=\EOt, 
  1271.     kf18=\EOu, kf19=\EOv, kf2=\EOQ, kf20=\EOw, kf21=\EOx, 
  1272.     kf22=\EOy, kf23=\EOz, kf24=\EOa, kf25=\E[1~, kf26=\E[2~, 
  1273.     kf27=\E[3~, kf28=\E[4~, kf29=\E[5~, kf3=\EOR, kf30=\E[6~, 
  1274.     kf31=\E[7~, kf32=\E[8~, kf33=\E[9~, kf34=\E[10~, 
  1275.     kf35=\E[11~, kf36=\E[12~, kf37=\E[17~, kf38=\E[18~, 
  1276.     kf39=\E[19~, kf4=\EOS, kf40=\E[20~, kf41=\E[21~, 
  1277.     kf42=\E[22~, kf43=\E[23~, kf44=\E[24~, kf45=\E[25~, 
  1278.     kf46=\E[26~, kf47=\E[27~, kf48=\E[28~, kf5=\EOT, kf6=\EOU, 
  1279.     kf7=\EOV, kf8=\EOW, kf9=\EOX, kfnd=\ENf, khlp=\ENh, 
  1280.     khome=\E[H, khts=\ENb, kich1=\E[@, kil1=\E[`, kind=\E[a, 
  1281.     kmov=\ENi, kmrk=\ENm, kmsg=\ENe, knp=\E[U, kopn=\ENo, 
  1282.     kopt=\ENk, kpp=\E[V, kref=\ENl, kres=\ENp, krfr=\ENg, 
  1283.     kri=\E[b, krpl=\ENr, krst=\ENj, ksav=\ENq, kslt=\E[T, 
  1284.     ktbc=\ENd, kund=\ENu, ll=\E[99H, nel=\EE, op=\E[39;49m, 
  1285.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\E[T, 
  1286.     rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmso=\E[27m, 
  1287.     rmul=\E[24m, rs1=\017\E[?7h\E[0;39;49m$<2>\E>\E[?1l, 
  1288.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1289.     setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  1290.     setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  1291.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;9%;m%?%p9%t\016%e\017%;, 
  1292.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smso=\E[7m, 
  1293.     smul=\E[4m, tbc=\E[2g, 
  1294.     tsl=\E7\E1;24r\E[?6l\E[25;%i%p1%dH, 
  1295. #
  1296. qansi|QNX ansi with console writes, 
  1297.     daisy, xhpa, use=qansi-g, 
  1298. #
  1299. qansi-t|QNX ansi without console writes, 
  1300.     crxm, use=qansi, 
  1301. #
  1302. qansi-m|QNX ansi with mouse, 
  1303.     maddr#1, 
  1304.     chr=\E[, cvr=\E], is1=\E[0t, mcub=\E[>1h, mcub1=\E[>7h, 
  1305.     mcud=\E[>1h, mcud1=\E[>1l\E[>9h, mcuf=\E[>1h\E[>9l, 
  1306.     mcuf1=\E[>7l, mcuu=\E[>6h, mcuu1=\E[>6l, rmicm=\E[>2l, 
  1307.     smicm=\E[>2h, use=qansi, 
  1308. #
  1309. qansi-w|QNX ansi for windows, 
  1310.     xvpa, use=qansi-m, 
  1311.  
  1312. #### NetBSD consoles
  1313. #
  1314. # pcvt termcap database entries (corresponding to release 3.31)
  1315. # Author's last edit-date: [Fri Sep 15 20:29:10 1995]
  1316. #
  1317. # (For the terminfo master file, I translated these into terminfo syntax.
  1318. # Then I dropped all the pseudo-HP entries. we don't want and can't use
  1319. # the :Xs: flag. Then I split :is: into a size-independent <is1> and a
  1320. # size-dependent <is2>.  Finally, I added <rmam>/<smam> -- esr)
  1321.  
  1322. # NOTE: <ich1> has been taken out of this entry. for reference, it should
  1323. # be <ich1=\E[@>.  For discussion, see ICH/ICH1 VERSUS RMIR/SMIR below.
  1324. # (esr: added <civis> and <cnorm> to resolve NetBSD Problem Report #4583)
  1325. pcvtXX|pcvt vt200 emulator (DEC VT220), 
  1326.     am, km, mir, msgr, xenl, 
  1327.     it#8, vt#3, 
  1328.     acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz~~, 
  1329.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  1330.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  1331.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1332.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  1333.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1334.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  1335.     el=\E[K, el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  1336.     il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, 
  1337.     is1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=\177, 
  1338.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  1339.     kdch1=\E[3~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
  1340.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  1341.     khome=\E[1~, kich1=\E[2~, kll=\E[4~, knp=\E[6~, kpp=\E[5~, 
  1342.     nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, 
  1343.     ri=\EM, rin=\E[%p1%dT, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
  1344.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  1345.     rs1=\Ec\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1346.     sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  1347.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  1348.  
  1349. #    NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
  1350. #    termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
  1351. #    50 lines entries; 80 columns
  1352. pcvt25|dec vt220 emulation with 25 lines, 
  1353.     cols#80, lines#25, 
  1354.     is2=\E[1;25r\E[25;1H, use=pcvtXX, 
  1355. pcvt28|dec vt220 emulation with 28 lines, 
  1356.     cols#80, lines#28, 
  1357.     is2=\E[1;28r\E[28;1H, use=pcvtXX, 
  1358. pcvt35|dec vt220 emulation with 35 lines, 
  1359.     cols#80, lines#35, 
  1360.     is2=\E[1;35r\E[35;1H, use=pcvtXX, 
  1361. pcvt40|dec vt220 emulation with 40 lines, 
  1362.     cols#80, lines#40, 
  1363.     is2=\E[1;40r\E[40;1H, use=pcvtXX, 
  1364. pcvt43|dec vt220 emulation with 43 lines, 
  1365.     cols#80, lines#43, 
  1366.     is2=\E[1;43r\E[43;1H, use=pcvtXX, 
  1367. pcvt50|dec vt220 emulation with 50 lines, 
  1368.     cols#80, lines#50, 
  1369.     is2=\E[1;50r\E[50;1H, use=pcvtXX, 
  1370.  
  1371. #    NetBSD/FreeBSD vt220 terminal emulator console (pc keyboard & monitor)
  1372. #    termcap entries for pure VT220-Emulation and 25, 28, 35, 40, 43 and
  1373. #    50 lines entries; 132 columns
  1374. pcvt25w|dec vt220 emulation with 25 lines and 132 cols, 
  1375.     cols#132, lines#25, 
  1376.     is2=\E[1;25r\E[25;1H, use=pcvtXX, 
  1377. pcvt28w|dec vt220 emulation with 28 lines and 132 cols, 
  1378.     cols#132, lines#28, 
  1379.     is2=\E[1;28r\E[28;1H, use=pcvtXX, 
  1380. pcvt35w|dec vt220 emulation with 35 lines and 132 cols, 
  1381.     cols#132, lines#35, 
  1382.     is2=\E[1;35r\E[35;1H, use=pcvtXX, 
  1383. pcvt40w|dec vt220 emulation with 40 lines and 132 cols, 
  1384.     cols#132, lines#40, 
  1385.     is2=\E[1;40r\E[40;1H, use=pcvtXX, 
  1386. pcvt43w|dec vt220 emulation with 43 lines and 132 cols, 
  1387.     cols#132, lines#43, 
  1388.     is2=\E[1;43r\E[43;1H, use=pcvtXX, 
  1389. pcvt50w|dec vt220 emulation with 50 lines and 132 cols, 
  1390.     cols#132, lines#50, 
  1391.     is2=\E[1;50r\E[50;1H, use=pcvtXX, 
  1392.  
  1393. #    OpenBSD implements a color variation
  1394. pcvt25-color|dec vt220 emulation with 25 lines and color, 
  1395.     cols#80, lines#25, 
  1396.     is2=\E[1;25r\E[25;1H, kf1=\EOP, kf10=\E[29~, kf11=\E[23~, 
  1397.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  1398.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  1399.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
  1400.     kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, use=pcvtXX, 
  1401.     use=ecma+color, 
  1402.  
  1403. # Terminfo entries to enable the use of the ncurses library in colour on a
  1404. # NetBSD-arm32 console (only tested on a RiscPC).
  1405. # Created by Dave Millen <dmill@globalnet.co.uk> 22.07.98
  1406. # modified codes for setf/setb to setaf/setab, then to klone+color, corrected
  1407. # typo in invis - TD
  1408. arm100|arm100-am|Arm(RiscPC) ncurses compatible (for 640x480), 
  1409.     am, bce, msgr, xenl, xon, 
  1410.     cols#80, it#8, lines#30, 
  1411.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1412.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1413.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1414.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1415.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  1416.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  1417.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  1418.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, 
  1419.     invis=\E[8m$<2>, ka1=\E[q, ka3=\E[s, kb2=\E[r, kbs=^H, 
  1420.     kc1=\E[p, kc3=\E[n, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  1421.     kcuu1=\E[A, kent=\E[M, kf0=\E[y, kf1=\E[P, kf10=\E[x, 
  1422.     kf2=\E[Q, kf3=\E[R, kf4=\E[S, kf5=\E[t, kf6=\E[u, kf7=\E[v, 
  1423.     kf8=\E[l, kf9=\E[w, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
  1424.     rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
  1425.     rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  1426.     sc=\E7, 
  1427.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;$<2>, 
  1428.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  1429.     smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, use=ecma+sgr, 
  1430.     use=klone+color, 
  1431.  
  1432. arm100-w|arm100-wam|Arm(RiscPC) ncurses compatible (for 1024x768), 
  1433.     cols#132, lines#50, use=arm100, 
  1434.  
  1435. # NetBSD/x68k console vt200 emulator. This port runs on a 68K machine
  1436. # manufactured by Sharp for the Japenese market.
  1437. # From Minoura Makoto <minoura@netlaputa.or.jp>, 12 May 1996
  1438. x68k|x68k-ite|NetBSD/x68k ITE, 
  1439.     cols#96, lines#32, 
  1440.     kclr=\E[9~, khlp=\E[28~, use=vt220, 
  1441.  
  1442. # <tv@pobox.com>:
  1443. # Entry for the DNARD OpenFirmware console, close to ANSI but not quite.
  1444. #
  1445. # (still unfinished, but good enough so far.)
  1446. ofcons, 
  1447.     bw, 
  1448.     cols#80, lines#30, 
  1449.     bel=^G, blink=\2337;2m, bold=\2331m, clear=^L, cr=^M, 
  1450.     cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
  1451.     cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
  1452.     cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
  1453.     dim=\2332m, dl=\233%p1%dM, dl1=\233M, ed=\233J, el=\233K, 
  1454.     flash=^G, ht=^I, ich=\233%p1%d@, ich1=\233@, il=\233%p1%dL, 
  1455.     il1=\233L, ind=^J, invis=\2338m, kbs=^H, kcub1=\233D, 
  1456.     kcud1=\233B, kcuf1=\233C, kcuu1=\233A, kdch1=\233P, 
  1457.     kf1=\2330P, kf10=\2330M, kf2=\2330Q, kf3=\2330W, 
  1458.     kf4=\2330x, kf5=\2330t, kf6=\2330u, kf7=\2330q, kf8=\2330r, 
  1459.     kf9=\2330p, knp=\233/, kpp=\233?, nel=^M^J, rev=\2337m, 
  1460.     rmso=\2330m, rmul=\2330m, sgr0=\2330m, 
  1461.  
  1462. # NetBSD "wscons" emulator in vt220 mode
  1463. # These are micro-minimal and probably need to be redone for real
  1464. # after the manner of the pcvt entries.
  1465. wsvt25|NetBSD wscons in 25 line DEC VT220 mode, 
  1466.     cols#80, lines#25, use=vt220, 
  1467.  
  1468. wsvt25m|NetBSD wscons in 25 line DEC VT220 mode with Meta, 
  1469.     km, 
  1470.     cols#80, lines#25, use=vt220, 
  1471.  
  1472. # `rasterconsole' provided by 4.4BSD, NetBSD and OpenBSD on SPARC, and 
  1473. # DECstation/pmax.
  1474. rcons|BSD rasterconsole, 
  1475.     use=sun-il, 
  1476. # Color version of above. Color currenly only provided by NetBSD.
  1477. rcons-color|BSD rasterconsole with ANSI color, 
  1478.     bce, 
  1479.     colors#8, pairs#64, 
  1480.     op=\E[m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=rcons, 
  1481.  
  1482. # mgterm -- MGL/MGL2, MobileGear Graphic Library
  1483. # for PocketBSD,PocketLinux,NetBSD/{hpcmips,mac68k}
  1484. # -- the setf/setb are probably incorrect, more likely setaf/setab -TD
  1485. # -- compare with cons25w
  1486. mgterm, 
  1487.     OTbs, OTpt, am, bce, bw, eo, km, msgr, npc, 
  1488.     colors#8, cols#80, it#8, lines#18, pairs#64, 
  1489.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  1490.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1491.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  1492.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1493.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, dl=\E[%p1%dM, 
  1494.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  1495.     home=\E[H, hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, 
  1496.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  1497.     indn=\E[%p1%dS, kb2=\E[E, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
  1498.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, kend=\E[F, 
  1499.     kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf2=\E[N, 
  1500.     kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
  1501.     kf9=\E[U, khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, 
  1502.     nel=\E[E, op=\E[x, rc=\E8, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, 
  1503.     rmso=\E[m, rs2=\E[x\E[m\Ec, sc=\E7, setb=\E[4%p1%dm, 
  1504.     setf=\E[3%p1%dm, sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
  1505.  
  1506. #### FreeBSD console entries
  1507. #
  1508. # From: Andrey Chernov <ache@astral.msk.su> 29 Mar 1996
  1509. # Andrey Chernov maintains the FreeBSD termcap distributions.
  1510. #
  1511. # Note: Users of FreeBSD 2.1.0 and older versions must either upgrade
  1512. # or comment out the :cb: capability in the console entry.
  1513. #
  1514. # Alexander Lukyanov reports:
  1515. # I have seen FreeBSD-2.1.5R... The old el1 bug changed, but it is still there.
  1516. # Now el1 clears not only to the line beginning, but also a large chunk
  1517. # of previous line. But there is another bug - ech does not work at all.
  1518. #
  1519.  
  1520. # for syscons
  1521. # common entry without semigraphics
  1522. # Bug: The <op> capability resets attributes.
  1523. # Bug? The ech and el1 attributes appear to move the cursor in some cases; for
  1524. # instance el1 does if the cursor is moved to the right margin first.  Removed
  1525. # by T.Dickey 97/5/3 (ech=\E[%p1%dX, el1=\E[1K)
  1526. #
  1527. # Setting colors turns off reverse; we cannot guarantee order, so use ncv.
  1528. # Note that this disables standout with color.
  1529. #
  1530. # The emulator sends difference strings based on shift- and control-keys,
  1531. # like scoansi:
  1532. #    F13-F24 are shifted F1-F12
  1533. #    F25-F36 are control F1-F12
  1534. #    F37-F48 are shift+control F1-F12
  1535. cons25w|ansiw|ansi80x25-raw|freebsd console (25-line raw mode), 
  1536.     am, bce, bw, eo, msgr, npc, 
  1537.     colors#8, cols#80, it#8, lines#25, ncv#21, pairs#64, 
  1538.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  1539.     cnorm=\E[=0C, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
  1540.     cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  1541.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1542.     cvvis=\E[=1C, dch=\E[%p1%dP, dch1=\E[P, dim=\E[30;1m, 
  1543.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  1544.     hpa=\E[%i%p1%d`, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  1545.     il=\E[%p1%dL, il1=\E[L, ind=\E[S, indn=\E[%p1%dS, kb2=\E[E, 
  1546.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  1547.     kcuu1=\E[A, kdch1=\177, kend=\E[F, kf1=\E[M, kf10=\E[V, 
  1548.     kf11=\E[W, kf12=\E[X, kf13=\E[Y, kf14=\E[Z, kf15=\E[a, 
  1549.     kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e, kf2=\E[N, 
  1550.     kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i, kf24=\E[j, 
  1551.     kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n, kf29=\E[o, 
  1552.     kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r, kf33=\E[s, 
  1553.     kf34=\E[t, kf35=\E[u, kf36=\E[v, kf37=\E[w, kf38=\E[x, 
  1554.     kf39=\E[y, kf4=\E[P, kf40=\E[z, kf41=\E[@, kf42=\E[[, 
  1555.     kf43=\E[\\, kf44=\E[], kf45=\E[\^, kf46=\E[_, kf47=\E[`, 
  1556.     kf48=\E[{, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, 
  1557.     khome=\E[H, kich1=\E[L, knp=\E[G, kpp=\E[I, nel=\E[E, 
  1558.     op=\E[x, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmso=\E[m, 
  1559.     rs2=\E[x\E[m\Ec, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  1560.     sgr0=\E[m, smso=\E[7m, vpa=\E[%i%p1%dd, 
  1561. cons25|ansis|ansi80x25|freebsd console (25-line ansi mode), 
  1562.     acsc=-\030.^Y0\333`\004a\260f\370g\361h\261i\025j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263y\363z\362~\371, 
  1563.     use=cons25w, 
  1564. cons25-m|ansis-mono|ansi80x25-mono|freebsd console (25-line mono ansi mode), 
  1565.     colors@, pairs@, 
  1566.     bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, 
  1567.     use=cons25, 
  1568. cons30|ansi80x30|freebsd console (30-line ansi mode), 
  1569.     lines#30, use=cons25, 
  1570. cons30-m|ansi80x30-mono|freebsd console (30-line mono ansi mode), 
  1571.     lines#30, use=cons25-m, 
  1572. cons43|ansi80x43|freebsd console (43-line ansi mode), 
  1573.     lines#43, use=cons25, 
  1574. cons43-m|ansi80x43-mono|freebsd console (43-line mono ansi mode), 
  1575.     lines#43, use=cons25-m, 
  1576. cons50|ansil|ansi80x50|freebsd console (50-line ansi mode), 
  1577.     lines#50, use=cons25, 
  1578. cons50-m|ansil-mono|ansi80x50-mono|freebsd console (50-line mono ansi mode), 
  1579.     lines#50, use=cons25-m, 
  1580. cons60|ansi80x60|freebsd console (60-line ansi mode), 
  1581.     lines#60, use=cons25, 
  1582. cons60-m|ansi80x60-mono|freebsd console (60-line mono ansi mode), 
  1583.     lines#60, use=cons25-m, 
  1584. cons25r|pc3r|ibmpc3r|cons25-koi8-r|freebsd console w/koi8-r cyrillic, 
  1585.     acsc=-\030.^Y0\215`\004a\220f\234h\221i\025j\205k\203l\202m\204n\212q\0t\206u\207v\211w\210x\201y\230z\231~\225, 
  1586.     use=cons25w, 
  1587. cons25r-m|pc3r-m|ibmpc3r-mono|cons25-koi8r-m|freebsd console w/koi8-r cyrillic (mono), 
  1588.     colors@, pairs@, 
  1589.     op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, use=cons25r, 
  1590. cons50r|cons50-koi8r|freebsd console w/koi8-r cyrillic (50 lines), 
  1591.     lines#50, use=cons25r, 
  1592. cons50r-m|cons50-koi8r-m|freebsd console w/koi8-r cyrillic (50-line mono), 
  1593.     lines#50, use=cons25r-m, 
  1594. cons60r|cons60-koi8r|freebsd console w/koi8-r cyrillic (60 lines), 
  1595.     lines#60, use=cons25r, 
  1596. cons60r-m|cons60-koi8r-m|freebsd console w/koi8-r cyrillic (60-line mono), 
  1597.     lines#60, use=cons25r-m, 
  1598. # ISO 8859-1 FreeBSD console
  1599. cons25l1|cons25-iso8859|freebsd console w/iso 8859-1 chars, 
  1600.     acsc=+\253\,\273-\030.\031`\201a\202f\207g\210i\247j\213k\214l\215m\216n\217o\220p\221q\222r\223s\224t\225u\226v\227w\230x\231y\232z\233~\237, 
  1601.     use=cons25w, 
  1602. cons25l1-m|cons25-iso-m|freebsd console w/iso 8859-1 chars (mono), 
  1603.     colors@, pairs@, 
  1604.     bold@, dim@, op@, rmul=\E[m, setab@, setaf@, smul=\E[4m, 
  1605.     use=cons25l1, 
  1606. cons50l1|cons50-iso8859|freebsd console w/iso 8859-1 chars (50 lines), 
  1607.     lines#50, use=cons25l1, 
  1608. cons50l1-m|cons50-iso-m|freebsd console w/iso 8859-1 chars (50-line mono), 
  1609.     lines#50, use=cons25l1-m, 
  1610. cons60l1|cons60-iso|freebsd console w/iso 8859-1 chars (60 lines), 
  1611.     lines#60, use=cons25l1, 
  1612. cons60l1-m|cons60-iso-m|freebsd console w/iso 8859-1 chars (60-line mono), 
  1613.     lines#60, use=cons25l1-m, 
  1614.  
  1615. #### 386BSD and BSD/OS Consoles
  1616. #
  1617.  
  1618. # This was the original 386BSD console entry (I think).  
  1619. # Some places it's named oldpc3|oldibmpc3.
  1620. # From: Alex R.N. Wetmore <aw2t@andrew.cmu.edu>
  1621. origpc3|origibmpc3|IBM PC 386BSD Console, 
  1622.     OTbs, am, bw, eo, xon, 
  1623.     cols#80, lines#25, 
  1624.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  1625.     bold=\E[7m, clear=\Ec, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1626.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  1627.     home=\E[H, ind=\E[S, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  1628.     kcuu1=\E[A, khome=\E[Y, ri=\E[T, rmso=\E[1;0x\E[2;7x, 
  1629.     rmul=\E[1;0x\E[2;7x, sgr0=\E[m\E[1;0x\E[2;7x, 
  1630.     smso=\E[1;7x\E[2;0x, smul=\E[1;7x\E[2;0x, 
  1631.  
  1632. # description of BSD/386 console emulator in version 1.0 (supplied by BSDI)
  1633. oldpc3|oldibmpc3|old IBM PC BSD/386 Console, 
  1634.     OTbs, km, 
  1635.     lines#25, 
  1636.     bel=^G, bold=\E[=15F, cr=^M, cud1=^J, dim=\E[=8F, dl1=\E[M, 
  1637.     ht=^I, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  1638.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, kll=\E[F, 
  1639.     knp=\E[G, kpp=\E[I, nel=^M^J, sgr0=\E[=R, 
  1640.  
  1641. # Description of BSD/OS console emulator in version 1.1, 2.0, 2.1
  1642. # Note, the emulator supports many of the additional console features
  1643. # listed in the iBCS2 (e.g. character-set selection) though not all
  1644. # are described here.  This entry really ought to be upgraded.
  1645. # Also note, the console will also work with fewer lines after doing
  1646. # "stty rows NN", e.g. to use 24 lines.
  1647. # (Color support from Kevin Rosenberg <kevin@cyberport.com>, 2 May 1996) 
  1648. # Bug: The <op> capability resets attributes.
  1649. bsdos-pc|IBM PC BSD/OS Console, 
  1650.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;1%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  1651.     use=bsdos-pc-nobold, 
  1652.  
  1653. bsdos-pc-nobold|BSD/OS PC console w/o bold, 
  1654.     use=klone+color, use=bsdos-pc-m, 
  1655.  
  1656. bsdos-pc-m|bsdos-pc-mono|BSD/OS PC console mono, 
  1657.     OTbs, am, eo, km, xon, 
  1658.     cols#80, it#8, lines#25, 
  1659.     bel=^G, clear=\Ec, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  1660.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1661.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1662.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  1663.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\E[D, 
  1664.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kich1=\E[L, 
  1665.     kll=\E[F, knp=\E[G, kpp=\E[I, nel=^M^J, rc=\E8, sc=\E7, 
  1666.     sgr=\E[0;10%?%p1%t;7%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m%?%p5%t\E[=8F%;, 
  1667.     use=klone+sgr, 
  1668.  
  1669. # Old names for BSD/OS PC console used in releases before 4.1. 
  1670. pc3|BSD/OS on the PC Console, 
  1671.     use=bsdos-pc-nobold, 
  1672. ibmpc3|pc3-bold|BSD/OS on the PC Console with bold instead of underline, 
  1673.     use=bsdos-pc, 
  1674.  
  1675. # BSD/OS on the SPARC 
  1676. bsdos-sparc|Sun SPARC BSD/OS Console, 
  1677.     use=sun, 
  1678.      
  1679. # BSD/OS on the PowerPC 
  1680. bsdos-ppc|PowerPC BSD/OS Console, 
  1681.     use=bsdos-pc, 
  1682.  
  1683. #### DEC VT52
  1684. # (<acsc>/<rmacs>/<smacs> capabilities aren't in DEC's official entry -- esr)
  1685. vt52|dec vt52, 
  1686.     OTbs, 
  1687.     cols#80, it#8, lines#24, 
  1688.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1689.     bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
  1690.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  1691.     el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  1692.     kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
  1693.  
  1694. #### DEC VT100 and compatibles
  1695. #
  1696. # DEC terminals from the vt100 forward are collected here. Older DEC terminals
  1697. # and micro consoles can be found in the `obsolete' section.  More details on
  1698. # the relationship between the VT100 and ANSI X3.64/ISO 6429/ECMA-48 may be
  1699. # found near the end of this file.
  1700. #
  1701. # Except where noted, these entries are DEC's official terminfos.
  1702. # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
  1703. # Engineering for more information.  Updated terminfos and termcaps 
  1704. # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
  1705. #
  1706. # In October 1995 DEC sold its terminals business, including the VT and Dorio
  1707. # line and trademark, to SunRiver Data Systems.  SunRiver has since changed
  1708. # its name to Boundless Technologies; see http://www.boundless.com.
  1709. #
  1710.  
  1711. # NOTE:  Any VT100 emulation, whether in hardware or software, almost
  1712. # certainly includes what DEC called the `Level 1 editing extension' codes;
  1713. # only the very oldest VT100s lacked these and there probably aren't any of
  1714. # those left alive.  To capture these, use one of the VT102 entries.
  1715. #
  1716. # Note that the <xenl> glitch in vt100 is not quite the same as on the Concept,
  1717. # since the cursor is left in a different position while in the
  1718. # weird state (concept at beginning of next line, vt100 at end
  1719. # of this line) so all versions of vi before 3.7 don't handle
  1720. # <xenl> right on vt100. The correct way to handle <xenl> is when
  1721. # you output the char in column 80, immediately output CR LF
  1722. # and then assume you are in column 1 of the next line. If <xenl>
  1723. # is on, am should be on too.
  1724. # I assume you have smooth scroll off or are at a slow enough baud
  1725. # rate that it doesn't matter (1200? or less). Also this assumes
  1726. # that you set auto-nl to "on", if you set it off use vt100-nam 
  1727. # below.
  1728. # The padding requirements listed here are guesses. It is strongly
  1729. # recommended that xon/xoff be enabled, as this is assumed here.
  1730. # The vt100 uses <rs2> and <rf> rather than <is2>/<tbc>/<hts> because the 
  1731. # tab settings are in non-volatile memory and don't need to be 
  1732. # reset upon login. Also setting the number of columns glitches 
  1733. # the screen annoyingly. You can type "reset" to get them set.
  1734. #
  1735. # The VT100 series terminals have cursor ("arrows") keys which can operate
  1736. # in two different modes: Cursor Mode and Application Mode.  Cursor Mode
  1737. # is the reset state, and is assumed to be the normal state.  Application
  1738. # Mode is the "set" state.  In Cursor Mode, the cursor keys transmit
  1739. # "Esc [ {code}" sequences, conforming to ANSI standards.  In Application
  1740. # Mode, the cursor keys transmit "Esc O <code>" sequences.  Application Mode
  1741. # was provided primarily as an aid to the porting of VT52 applications.  It is
  1742. # assumed that the cursor keys are normally in Cursor Mode, and expected that
  1743. # applications such as vi will always transmit the <smkx> string.  Therefore,
  1744. # the definitions for the cursor keys are made to match what the terminal
  1745. # transmits after the <smkx> string is transmitted.  If the <smkx> string
  1746. # is a null string or is not defined, then cursor keys are assumed to be in
  1747. # "Cursor Mode", and the cursor keys definitions should match that assumption,
  1748. # else the application may fail.  It is also expected that applications will
  1749. # always transmit the <rmkx> string to the terminal before they exit.
  1750. #
  1751. # The VT100 series terminals have an auxiliary keypad, commonly referred to as
  1752. # the "Numeric Keypad", because it is a cluster of numeric and function keys.
  1753. # The Numeric Keypad which can operate in two different modes: Numeric Mode and
  1754. # Application Mode.  Numeric Mode is the reset state, and is assumed to be
  1755. # the normal state.  Application Mode is the "set" state.  In Numeric Mode,
  1756. # the numeric and punctuation keys transmit ASCII 7-bit characters, and the 
  1757. # Enter key transmits the same as the Return key (Note: the Return key
  1758. # can be configured to send either LF (\015) or CR LF).  In Application Mode,
  1759. # all the keypad keys transmit "Esc O {code}" sequences.  The PF1 - PF4 keys
  1760. # always send the same "Esc O {code}" sequences.  It is assumed that the keypad
  1761. # is normally in Numeric Mode.  If an application requires that the keypad be
  1762. # in Application Mode then it is expected that the user, or the application,
  1763. # will set the TERM environment variable to point to a terminfo entry which has
  1764. # defined the <smkx> string to include the codes that switch the keypad into
  1765. # Application Mode, and the terminfo entry will also define function key
  1766. # fields to match the Application Mode control codes.  If the <smkx> string
  1767. # is a null string or is not defined, then the keypad is assumed to be in
  1768. # Numeric Mode.  If the <smkx> string switches the keypad into Application
  1769. # Mode, it is expected that the <rmkx> string will contain the control codes
  1770. # necessary to reset the keypad to "Normal" mode, and it is also expected that
  1771. # applications which transmit the <smkx> string will also always transmit the
  1772. # <rmkx> string to the terminal before they exit.
  1773. #
  1774. # Here's a diagram of the VT100 keypad keys with their bindings.
  1775. # The top line is the name of the key (some DEC keyboards have the keys
  1776. # labelled somewhat differently, like GOLD instead of PF1, but this is
  1777. # the most "official" name).  The second line is the escape sequence it
  1778. # generates in Application Keypad mode (where "$" means the ESC
  1779. # character).  The third line contains two items, first the mapping of
  1780. # the key in terminfo, and then in termcap.
  1781. #   _______________________________________
  1782. #  |   PF1   |   PF2   |   PF3   |   PF4   |
  1783. #  |   $OP   |   $OQ   |   $OR   |   $OS   |
  1784. #  |_kf1__k1_|_kf2__k2_|_kf3__k3_|_kf4__k4_|
  1785. #  |    7         8         9         -    |
  1786. #  |   $Ow   |   $Ox   |   $Oy   |   $Om   |
  1787. #  |_kf9__k9_|_kf10_k;_|_kf0__k0_|_________|
  1788. #  |    4    |    5    |    6    |    ,    |
  1789. #  |   $Ot   |   $Ou   |   $Ov   |   $Ol   |
  1790. #  |_kf5__k5_|_kf6__k6_|_kf7__k7_|_kf8__k8_|
  1791. #  |    1    |    2    |    3    |         |
  1792. #  |   $Oq   |   $Or   |   $Os   |  enter  |
  1793. #  |_ka1__K1_|_kb2__K2_|_ka3__K3_|  $OM    |
  1794. #  |         0         |   .     |         |
  1795. #  |        $Op        |  $On    |         |
  1796. #  |___kc1_______K4____|_kc3__K5_|_kent_@8_|
  1797. #
  1798. # And here, for those of you with orphaned VT100s lacking documentation, is
  1799. # a description of the soft switches invoked when you do `Set Up'.
  1800. #  Scroll 0-Jump               Shifted 3   0-#
  1801. #  |      1-Smooth             |           1-British pound sign
  1802. #  | Autorepeat 0-Off          | Wrap Around 0-Off
  1803. #  | |          1-On           | |           1-On
  1804. #  | | Screen 0-Dark Bkg       | | New Line 0-Off
  1805. #  | | |      1-Light Bkg      | | |        1-On
  1806. #  | | | Cursor 0-Underline    | | | Interlace 0-Off
  1807. #  | | | |      1-Block        | | | |         1-On
  1808. #  | | | |                     | | | |
  1809. #  1 1 0 1       1 1 1 1       0 1 0 0       0 0 1 0       <--Standard Settings
  1810. #                | | | |                     | | | |
  1811. #                | | | Auto XON/XOFF 0-Off   | | | Power 0-60 Hz
  1812. #                | | |               1-On    | | |       1-50 Hz
  1813. #                | | Ansi/VT52 0-VT52        | | Bits Per Char. 0-7 Bits
  1814. #                | |           1-ANSI        | |                1-8 Bits
  1815. #                | Keyclick 0-Off            | Parity 0-Off
  1816. #                |          1-On             |        1-On
  1817. #                Margin Bell 0-Off           Parity Sense 0-Odd
  1818. #                            1-On                         1-Even
  1819. #
  1820. # The following SET-UP modes are assumed for normal operation:
  1821. #    ANSI_MODE    AUTO_XON/XOFF_ON    NEWLINE_OFF    80_COLUMNS
  1822. #    WRAP_AROUND_ON  JUMP_SCROLL_OFF
  1823. # Other SET-UP modes may be set for operator convenience or communication
  1824. # requirements; I recommend
  1825. #    AUTOREPEAT_ON    BLOCK_CURSOR    MARGIN_BELL_OFF    SHIFTED_3_#
  1826. # Unless you have a graphics add-on such as Digital Engineering's VT640
  1827. # (and even then, whenever it can be arranged!) you should set
  1828. #    INTERLACE_OFF
  1829. #
  1830. # (vt100: I added <rmam>/<smam> based on the init string, also <OTbs>. -- esr)
  1831. vt100|vt100-am|dec vt100 (w/advanced video), 
  1832.     OTbs, am, msgr, xenl, xon, 
  1833.     cols#80, it#8, lines#24, vt#3, 
  1834.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1835.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  1836.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1837.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  1838.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  1839.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  1840.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  1841.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
  1842.     ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  1843.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  1844.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
  1845.     kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
  1846.     rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  1847.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  1848.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1849.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
  1850.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  1851.     smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  1852. vt100nam|vt100-nam|vt100 no automargins, 
  1853.     am@, xenl@, use=vt100-am, 
  1854. vt100-vb|dec vt100 (w/advanced video) & no beep, 
  1855.     bel@, flash=\E[?5h\E[?5l, use=vt100, 
  1856.  
  1857. # Ordinary vt100 in 132 column ("wide") mode.
  1858. vt100-w|vt100-w-am|dec vt100 132 cols (w/advanced video), 
  1859.     cols#132, lines#24, 
  1860.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-am, 
  1861. vt100-w-nam|vt100-nam-w|dec vt100 132 cols (w/advanced video no automargin), 
  1862.     cols#132, lines#14, vt@, 
  1863.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=vt100-nam, 
  1864.  
  1865. # vt100 with no advanced video.
  1866. vt100-nav|vt100 without advanced video option, 
  1867.     xmc#1, 
  1868.     blink@, bold@, rev@, rmso=\E[m, rmul@, sgr@, sgr0@, smso=\E[7m, 
  1869.     smul@, use=vt100, 
  1870. vt100-nav-w|vt100-w-nav|dec vt100 132 cols 14 lines (no advanced video option), 
  1871.     cols#132, lines#14, use=vt100-nav, 
  1872.  
  1873. # vt100 with one of the 24 lines used as a status line.
  1874. # We put the status line on the top.
  1875. vt100-s|vt100-s-top|vt100-top-s|vt100 for use with top sysline, 
  1876.     eslok, hs, 
  1877.     lines#23, 
  1878.     clear=\E[2;1H\E[J$<50>, csr=\E[%i%i%p1%d;%p2%dr, 
  1879.     cup=\E[%i%p1%{1}%+%d;%p2%dH$<5>, dsl=\E7\E[1;24r\E8, 
  1880.     fsl=\E8, home=\E[2;1H, is2=\E7\E[2;24r\E8, 
  1881.     tsl=\E7\E[1;%p1%dH\E[1K, use=vt100-am, 
  1882.  
  1883. # Status line at bottom. 
  1884. # Clearing the screen will clobber status line.
  1885. vt100-s-bot|vt100-bot-s|vt100 for use with bottom sysline, 
  1886.     eslok, hs, 
  1887.     lines#23, 
  1888.     dsl=\E7\E[1;24r\E8, fsl=\E8, is2=\E[1;23r\E[23;1H, 
  1889.     tsl=\E7\E[24;%p1%dH\E[1K, use=vt100-am, 
  1890.  
  1891. # Most of the `vt100' emulators out there actually emulate a vt102
  1892. # This entry (or vt102-nsgr) is probably the right thing to use for
  1893. # these.  
  1894. vt102|dec vt102, 
  1895.     mir, 
  1896.     dch1=\E[P, dl1=\E[M, il1=\E[L, rmir=\E[4l, smir=\E[4h, 
  1897.     use=vt100, 
  1898. vt102-w|dec vt102 in wide mode, 
  1899.     cols#132, 
  1900.     rs3=\E[?3h, use=vt102, 
  1901.  
  1902. # Many brain-dead PC comm programs that pretend to be `vt100-compatible'
  1903. # fail to interpret the ^O and ^N escapes properly.  Symptom: the <sgr0>
  1904. # string in the canonical vt100 entry above leaves the screen littered
  1905. # with little  snowflake or star characters (IBM PC ROM character \017 = ^O)
  1906. # after highlight turnoffs.  This entry should fix that, and even leave
  1907. # ACS support working, at the cost of making multiple-highlight changes 
  1908. # slightly more expensive.
  1909. # From: Eric S. Raymond <esr@snark.thyrsus.com> July 22 1995
  1910. vt102-nsgr|vt102 no sgr (use if you see snowflakes after highlight changes), 
  1911.     sgr@, sgr0=\E[m, use=vt102, 
  1912.  
  1913. # VT125 Graphics CRT.  Clear screen also erases graphics
  1914. vt125|vt125 graphics terminal, 
  1915.     clear=\E[H\E[2J\EPpS(E)\E\\$<50>, use=vt100, 
  1916.  
  1917. # This isn't a DEC entry, it came from University of Wisconsin.
  1918. # (vt131: I added <rmam>/<smam> based on the init string, also <OTbs> -- esr)
  1919. vt131|dec vt131, 
  1920.     OTbs, am, xenl, 
  1921.     cols#80, it#8, lines#24, vt#3, 
  1922.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  1923.     clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  1924.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  1925.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  1926.     ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
  1927.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  1928.     kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  1929.     kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, ri=\EM$<5/>, 
  1930.     rmam=\E[?7h, rmkx=\E[?1l\E>, rmso=\E[m$<2/>, 
  1931.     rmul=\E[m$<2/>, 
  1932.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1933.     sgr0=\E[m$<2/>, smam=\E[?7h, smkx=\E[?1h\E=, 
  1934.     smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  1935.  
  1936. # vt132 - like vt100 but slower and has ins/del line and such.
  1937. # I'm told that <smir>/<rmir> are backwards in the terminal from the
  1938. # manual and from the ANSI standard, this describes the actual 
  1939. # terminal. I've never actually used a vt132 myself, so this 
  1940. # is untested.
  1941. #
  1942. vt132|DEC vt132, 
  1943.     xenl, 
  1944.     dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
  1945.     ip=$<7>, rmir=\E[4h, smir=\E[4l, use=vt100, 
  1946.  
  1947. # This vt220 description maps F5--F9 to the second block of function keys
  1948. # at the top of the keyboard.  The "DO" key is used as F10 to avoid conflict
  1949. # with the key marked (ESC) on the vt220.  See vt220d for an alternate mapping.
  1950. # PF1--PF4 are used as F1--F4.
  1951. #
  1952. vt220-old|vt200-old|DEC VT220 in vt100 emulation mode, 
  1953.     OTbs, OTpt, am, mir, xenl, xon, 
  1954.     cols#80, lines#24, vt#3, 
  1955.     OTnl=^J, 
  1956.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1957.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, civis=\E[?25l, 
  1958.     clear=\E[H\E[2J$<50>, cnorm=\E[?25h, cr=^M, 
  1959.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  1960.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  1961.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  1962.     if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED$<20/>, 
  1963.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  1964.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\EOP, 
  1965.     kf10=\E[29~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\E[17~, 
  1966.     kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, 
  1967.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rc=\E8, 
  1968.     rev=\E[7m$<2>, rf=/usr/share/tabset/vt100, 
  1969.     ri=\EM$<14/>, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  1970.     rmso=\E[27m, rmul=\E[24m, 
  1971.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  1972.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
  1973.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  1974.     smso=\E[7m, smul=\E[4m, 
  1975.  
  1976. # A much better description of the VT200/220; used to be vt220-8
  1977. # changed rmacs/smacs from shift-in/shift-out to vt200-old's explicit G0/G1
  1978. # designation to accommodate bug in pcvt -TD
  1979. vt220|vt200|dec vt220, 
  1980.     OTbs, am, mc5i, mir, msgr, xenl, xon, 
  1981.     cols#80, it#8, lines#24, vt#3, 
  1982.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  1983.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  1984.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  1985.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  1986.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  1987.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  1988.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
  1989.     flash=\E[?5h$<200/>\E[?5l, home=\E[H, ht=^I, hts=\EH, 
  1990.     ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
  1991.     il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  1992.     is2=\E[?7h\E[>\E[?1h\E F\E[?4l, kbs=^H, kcub1=\E[D, 
  1993.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf10=\E[21~, 
  1994.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  1995.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  1996.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  1997.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  1998.     khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, 
  1999.     kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, mc0=\E[i, 
  2000.     mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  2001.     rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, rmso=\E[27m, 
  2002.     rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=\E(0$<2>, 
  2003.     smam=\E[?7h, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  2004. vt220-w|vt200-w|DEC vt220 in wide mode, 
  2005.     cols#132, 
  2006.     rs3=\E[?3h, use=vt220, 
  2007. vt220-8bit|vt220-8|vt200-8bit|vt200-8|dec vt220/200 in 8-bit mode, 
  2008.     OTbs, am, mc5i, mir, msgr, xenl, xon, 
  2009.     cols#80, it#8, lines#24, vt#3, 
  2010.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2011.     bel=^G, blink=\2335m, bold=\2331m, clear=\233H\233J, cr=^M, 
  2012.     csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
  2013.     cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
  2014.     cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
  2015.     dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
  2016.     ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, enacs=\E)0, 
  2017.     flash=\233?5h$<200/>\233?5l, home=\233H, ht=^I, hts=\EH, 
  2018.     ich=\233%p1%d@, if=/usr/share/tabset/vt100, 
  2019.     il=\233%p1%dL, il1=\233L, ind=\ED, 
  2020.     is2=\233?7h\233>\233?1h\E F\233?4l, kbs=^H, 
  2021.     kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
  2022.     kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~, 
  2023.     kf13=\23325~, kf14=\23326~, kf17=\23331~, kf18=\23332~, 
  2024.     kf19=\23333~, kf2=\EOQ, kf20=\23334~, kf3=\EOR, kf4=\EOS, 
  2025.     kf6=\23317~, kf7=\23318~, kf8=\23319~, kf9=\23320~, 
  2026.     kfnd=\2331~, khlp=\23328~, khome=\233H, kich1=\2332~, 
  2027.     knp=\2336~, kpp=\2335~, krdo=\23329~, kslt=\2334~, lf1=pf1, 
  2028.     lf2=pf2, lf3=pf3, lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, 
  2029.     nel=\EE, rc=\E8, rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, 
  2030.     rmir=\2334l, rmso=\23327m, rmul=\23324m, rs1=\233?3l, 
  2031.     sc=\E7, sgr0=\233m, smacs=^N, smam=\233?7h, smir=\2334h, 
  2032.     smso=\2337m, smul=\2334m, tbc=\2333g, 
  2033.  
  2034. #
  2035. # vt220d:
  2036. # This vt220 description regards F6--F10 as the second block of function keys
  2037. # at the top of the keyboard.  This mapping follows the description given
  2038. # in the VT220 Programmer Reference Manual and agrees with the labeling
  2039. # on some terminals that emulate the vt220.  There is no support for an F5.
  2040. # See vt220 for an alternate mapping. 
  2041. #
  2042. vt220d|DEC VT220 in vt100 mode with DEC function key labeling, 
  2043.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  2044.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  2045.     kf18=\E[32~, kf19=\E[33~, kf20=\E[34~, kf5@, kf6=\E[17~, 
  2046.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, use=vt220-old, 
  2047.  
  2048. vt220-nam|v200-nam|VT220 in vt100 mode with no auto margins, 
  2049.     am@, 
  2050.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
  2051.  
  2052. # vt220 termcap written Tue Oct 25 20:41:10 1988 by Alex Latzko
  2053. # (not an official DEC entry!)
  2054. # The problem with real vt220 terminals is they don't send escapes when in
  2055. # in vt220 mode.  This can be gotten around two ways.  1> don't send
  2056. # escapes or 2> put the vt220 into vt100 mode and use all the nifty
  2057. # features of vt100 advanced video which it then has.
  2058. #
  2059. # This entry takes the view of putting a vt220 into vt100 mode so
  2060. # you can use the escape key in emacs and everything else which needs it.
  2061. #
  2062. # You probably don't want to use this on a VMS machine since VMS will think
  2063. # it has a vt220 and will get fouled up coming out of emacs
  2064. #
  2065. # From: Alexander Latzko <latzko@marsenius.rutgers.edu>, 30 Dec 1996
  2066. # (Added vt100 <rc>,<sc> to quiet a tic warning -- esr)
  2067. vt200-js|vt220-js|dec vt200 series with jump scroll, 
  2068.     am, 
  2069.     cols#80, 
  2070.     bel=^G, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  2071.     cub1=^H, cud1=^J, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  2072.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  2073.     il1=\E[L, ind=\ED, 
  2074.     is2=\E[61"p\E[H\E[?3l\E[?4l\E[?1l\E[?5l\E[?6l\E[?7h\E[?8h\E[?25h\E>\E[m, 
  2075.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  2076.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=^M\ED, rc=\E8, 
  2077.     rf=/usr/share/tabset/vt100, ri=\EM, rmdc=, rmir=\E[4l, 
  2078.     rmkx=\E[?1l\E>, rmso=\E[27m$<5/>, rmul=\E[24m, 
  2079.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, smdc=, 
  2080.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m$<5/>, smul=\E[4m, 
  2081.  
  2082. # This was DEC's vt320.  Use the purpose-built one below instead 
  2083. #vt320|DEC VT320 in vt100 emulation mode,
  2084. #    use=vt220,
  2085.  
  2086. #
  2087. # Use v320n for SCO's LYRIX.  Otherwise, use Adam Thompson's vt320-nam.
  2088. #
  2089. vt320nam|v320n|DEC VT320 in vt100 emul. mode with NO AUTO WRAP mode, 
  2090.     am@, 
  2091.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7l\E[?8h, use=vt220, 
  2092.  
  2093. # These entries are not DEC's official ones, they were purpose-built for the 
  2094. # VT320.  Here are the designer's notes:
  2095. # <kel> is end on a PC kbd.  Actually 'select' on a VT.  Mapped to 
  2096. # 'Erase to End of Field'... since nothing seems to use 'end' anyways...
  2097. # khome is Home on a PC kbd.  Actually 'FIND' on a VT.
  2098. # Things that use <knxt> usually use tab anyways... and things that don't use
  2099. # tab usually use <knxt> instead...
  2100. # kprv is same as tab - Backtab is useless...
  2101. # I left out <sgr> because of its RIDICULOUS complexity,
  2102. # and the resulting fact that it causes the termcap translation of the entry
  2103. # to SMASH the 1k-barrier...
  2104. # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
  2105. # (vt320: uncommented <fsl> --esr) 
  2106. vt320|vt300|dec vt320 7 bit terminal, 
  2107.     am, eslok, hs, mir, msgr, xenl, 
  2108.     cols#80, lines#24, wsl#80, 
  2109.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2110.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2111.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  2112.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2113.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2114.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2115.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  2116.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, fsl=\E[0$}, 
  2117.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, 
  2118.     il1=\E[L, ind=\ED, 
  2119.     is2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  2120.     ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=\177, kc1=\EOq, kc3=\EOs, 
  2121.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  2122.     kdch1=\E[3~, kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
  2123.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  2124.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  2125.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
  2126.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  2127.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, knxt=^I, kpp=\E[5~, 
  2128.     kprv=\E[Z, kslt=\E[4~, mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, 
  2129.     nel=\EE, rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt300, 
  2130.     ri=\EM, rmacs=\E(B, rmam=\E[?7l, rmir=\E[4l, 
  2131.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  2132.     rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  2133.     sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  2134.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  2135.     tsl=\E[1$}\E[H\E[K, 
  2136. vt320-nam|vt300-nam|dec vt320 7 bit terminal with no am to make SAS happy, 
  2137.     am@, 
  2138.     is2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  2139.     rs2=\E>\E[?3l\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  2140.     use=vt320, 
  2141. # We have to init 132-col mode, not 80-col mode.
  2142. vt320-w|vt300-w|dec vt320 wide 7 bit terminal, 
  2143.     cols#132, wsl#132, 
  2144.     is2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  2145.     rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  2146.     use=vt320, 
  2147. vt320-w-nam|vt300-w-nam|dec vt320 wide 7 bit terminal with no am, 
  2148.     am@, 
  2149.     is2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  2150.     rs2=\E>\E[?3h\E[?4l\E[5?l\E[?7l\E[?8h\E[1;24r\E[24;1H, 
  2151.     use=vt320-w, 
  2152.  
  2153. # VT330 and VT340 -- These are ReGIS and SIXEL graphics terminals
  2154. #   which are pretty much a superset of the VT320.  They have the
  2155. #   host writable status line, yet another different DRCS matrix size,
  2156. #   and such, but they add the DEC Technical character set, Multiple text
  2157. #   pages, selectable length pages, and the like.  The difference between
  2158. #   the vt330 and vt340 is that the latter has only 2 planes and a monochrome
  2159. #   monitor, the former has 4 planes and a color monitor.  These terminals
  2160. #   support VT131 and ANSI block mode, but as with much of these things,
  2161. #   termcap/terminfo doesn't deal with these features.
  2162. #
  2163. # Note that this entry is are set up in what was the standard way for GNU
  2164. # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
  2165. # keys were switched into application mode at the same time the numeric pad
  2166. # is switched into application mode.  This changes the definitions of the
  2167. # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
  2168. # your termcap or terminfo entry,
  2169. #
  2170. # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
  2171. # (vt340: string capability "sb=\E[M" corrected to "sr";
  2172. # also, added <rmam>/<smam> based on the init string -- esr)
  2173. vt340|dec-vt340|vt330|dec-vt330|dec vt340 graphics terminal with 24 line page, 
  2174.     am, eslok, hs, mir, msgr, xenl, xon, 
  2175.     cols#80, it#8, lines#24, vt#3, 
  2176.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2177.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
  2178.     cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  2179.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  2180.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  2181.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[?25h, dch=\E[%p1%dP, 
  2182.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  2183.     dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
  2184.     flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, home=\E[H, ht=^I, 
  2185.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  2186.     is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  2187.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  2188.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  2189.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
  2190.     lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
  2191.     rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
  2192.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
  2193.     rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
  2194.     smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
  2195.     smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
  2196.  
  2197. # DEC doesn't supply a vt400 description, so we add Daniel Glasser's
  2198. # (originally written with vt420 as its primary name, and usable for it).
  2199. # VT400/420 -- This terminal is a superset of the vt320.  It adds the multiple 
  2200. #    text pages and long text pages with selectable length of the vt340, along
  2201. #    with left and right margins, rectangular area text copy, fill, and erase
  2202. #    operations, selected region character attribute change operations,
  2203. #    page memory and rectangle checksums, insert/delete column, reception
  2204. #    macros, and other features too numerous to remember right now.  TERMCAP
  2205. #    can only take advantage of a few of these added features.
  2206. #
  2207. # Note that this entry is are set up in what was the standard way for GNU
  2208. # Emacs v18 terminal modes to deal with the cursor keys in that the arrow
  2209. # keys were switched into application mode at the same time the numeric pad
  2210. # is switched into application mode.  This changes the definitions of the
  2211. # arrow keys.  Emacs v19 is smarter and mines its keys directly out of 
  2212. # your termcap entry,
  2213. #
  2214. # From: Daniel Glasser <dag@persoft.persoft.com>, 13 Oct 1993
  2215. # (vt400: string capability ":sb=\E[M:" corrected to ":sr=\E[M:";
  2216. # also, added <rmam>/<smam> based on the init string -- esr)
  2217. vt400|vt400-24|dec-vt400|dec vt400 24x80 column autowrap, 
  2218.     am, eslok, hs, mir, msgr, xenl, xon, 
  2219.     cols#80, it#8, lines#24, vt#3, 
  2220.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2221.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2222.     clear=\E[H\E[J$<10/>, cnorm=\E[?25h, cr=^M, 
  2223.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2224.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2225.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2226.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  2227.     dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J$<10/>, 
  2228.     el=\E[K$<4/>, flash=\E[?5h\E[?5l$<200/>, fsl=\E[$}, 
  2229.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  2230.     il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  2231.     is2=\E<\E F\E>\E[?1h\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  2232.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  2233.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  2234.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
  2235.     lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
  2236.     rf=/usr/share/tabset/vt300, ri=\EM, rmacs=^O, 
  2237.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
  2238.     rmul=\E[24m, rs1=\E<\E[?3l\E[!p\E[?7h, sc=\E7, sgr0=\E[m, 
  2239.     smacs=^N, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  2240.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  2241.     tsl=\E[2$~\E[1$}\E[1;%dH, 
  2242.  
  2243. # (vt420: I removed <kf0>, it collided with <kf10>.  I also restored
  2244. # a missing <sc> -- esr)
  2245. vt420|DEC VT420, 
  2246.     am, mir, xenl, xon, 
  2247.     cols#80, lines#24, vt#3, 
  2248.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2249.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  2250.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  2251.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  2252.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  2253.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  2254.     if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
  2255.     is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
  2256.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  2257.     kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
  2258.     kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
  2259.     kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  2260.     kslt=\E[4~, rc=\E8, rev=\E[7m$<2>, 
  2261.     rf=/usr/share/tabset/vt300, ri=\EM, rmacs=\E(B$<4>, 
  2262.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
  2263.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  2264.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
  2265.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
  2266.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  2267.     smkx=\E=, smso=\E[7m, smul=\E[4m, 
  2268.  
  2269. #
  2270. # DEC VT220 and up support DECUDK (user-defined keys).  DECUDK (i.e., pfx)
  2271. # takes two parameters, the key and the string.  Translating the key is
  2272. # straightforward (keys 1-5 are not defined on real terminals, though some
  2273. # emulators define these):
  2274. #
  2275. #               if (key < 16) then  value = key;
  2276. #               else if (key < 21) then value = key + 1; 
  2277. #               else if (key < 25) then value = key + 2;
  2278. #               else if (key < 27) then value = key + 3;
  2279. #               else if (key < 30) then value = key + 4;
  2280. #               else value = key + 5;
  2281. #
  2282. # The string must be the hexadecimal equivalent, e.g., "5052494E" for "PRINT". 
  2283. # There's no provision in terminfo for emitting a string in this format, so the
  2284. # application has to know it.
  2285. #
  2286. vt420pc|DEC VT420 w/PC keyboard, 
  2287.     kdch1=\177, kend=\E[4~, kf1=\E[11~, kf10=\E[21~, 
  2288.     kf11=\E[23~, kf12=\E[24~, kf13=\E[11;2~, kf14=\E[12;2~, 
  2289.     kf15=\E[13;2~, kf16=\E[14;2~, kf17=\E[15;2~, 
  2290.     kf18=\E[17;2~, kf19=\E[18;2~, kf2=\E[12~, kf20=\E[19;2~, 
  2291.     kf21=\E[20;2~, kf22=\E[21;2~, kf23=\E[23;2~, 
  2292.     kf24=\E[24;2~, kf25=\E[23~, kf26=\E[24~, kf27=\E[25~, 
  2293.     kf28=\E[26~, kf29=\E[28~, kf3=\E[13~, kf30=\E[29~, 
  2294.     kf31=\E[31~, kf32=\E[32~, kf33=\E[33~, kf34=\E[34~, 
  2295.     kf35=\E[35~, kf36=\E[36~, kf37=\E[23;2~, kf38=\E[24;2~, 
  2296.     kf39=\E[25;2~, kf4=\E[14~, kf40=\E[26;2~, kf41=\E[28;2~, 
  2297.     kf42=\E[29;2~, kf43=\E[31;2~, kf44=\E[32;2~, 
  2298.     kf45=\E[33;2~, kf46=\E[34;2~, kf47=\E[35;2~, 
  2299.     kf48=\E[36;2~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  2300.     kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
  2301.     pctrm=USR_TERM\:vt420pcdos\:, 
  2302.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  2303.     use=vt420, 
  2304.  
  2305. vt420pcdos|DEC VT420 w/PC for DOS Merge, 
  2306.     lines#25, 
  2307.     dispc=%?%p1%{19}%=%t\E\023\021%e%p1%{32}%<%t\E%p1%c%e%p1%{127}%=%t\E\177%e%p1%c%;, 
  2308.     pctrm@, 
  2309.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr@, 
  2310.     sgr0=\E[m, smsc=\E[?1;2r\E[34h, use=vt420pc, 
  2311.  
  2312. vt420f|DEC VT420 with VT kbd; VT400 mode; F1-F5 used as Fkeys, 
  2313.     kdch1=\177, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
  2314.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  2315.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  2316.     kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
  2317.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  2318.     khome=\E[H, lf1=\EOP, lf2=\EOQ, lf3=\EOR, lf4=\EOS, 
  2319.     use=vt420, 
  2320.  
  2321. vt510|DEC VT510, 
  2322.     use=vt420, 
  2323. vt510pc|DEC VT510 w/PC keyboard, 
  2324.     use=vt420pc, 
  2325. vt510pcdos|DEC VT510 w/PC for DOS Merge, 
  2326.     use=vt420pcdos, 
  2327.  
  2328. # VT520/VT525
  2329. #
  2330. # The VT520 is a monochrome text terminal capable of managing up to
  2331. # four independent sessions in the terminal.  It has multiple ANSI
  2332. # emulations (VT520, VT420, VT320, VT220, VT100, VT PCTerm, SCO Console)
  2333. # and ASCII emulations (WY160/60, PCTerm, 50/50+, 150/120, TVI 950,
  2334. # 925 910+, ADDS A2).  This terminfo data is for the ANSI emulations only.
  2335. #
  2336. # Terminal Set-Up is entered by pressing [F3], [Caps Lock]/[F3] or
  2337. # [Alt]/[Print Screen] depending upon which keyboard and which
  2338. # terminal mode is being used.  If Set-Up has been disabled or
  2339. # assigned to an unknown key, Set-Up may be entered by pressing
  2340. # [F3] as the first key after power up, regardless of keyboard type.
  2341. # (vt520: I added <rmam>/<smam> based on the init string, also <sc> -- esr)
  2342. vt520|DEC VT520, 
  2343.     am, mir, xenl, xon, 
  2344.     cols#80, lines#24, vt#3, 
  2345.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2346.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  2347.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  2348.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  2349.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  2350.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  2351.     if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
  2352.     is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
  2353.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  2354.     kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
  2355.     kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
  2356.     kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  2357.     kslt=\E[4~, 
  2358.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  2359.     rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
  2360.     ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  2361.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  2362.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
  2363.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
  2364.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  2365.     smso=\E[7m, smul=\E[4m, 
  2366.  
  2367. # (vt525: I added <rmam>/<smam> based on the init string;
  2368. # removed <rmso>=\E[m, <rmul>=\E[m, added <sc> -- esr)
  2369. vt525|DEC VT525, 
  2370.     am, mir, xenl, xon, 
  2371.     cols#80, lines#24, vt#3, 
  2372.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2373.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  2374.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  2375.     cub1=^H, cud1=\E[B, cuf1=\E[C, 
  2376.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu1=\E[A, dch1=\E[P, 
  2377.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  2378.     if=/usr/share/tabset/vt300, il1=\E[L, ind=\ED, 
  2379.     is2=\E[1;24r\E[24;1H, is3=\E[?67h\E[64;1"p, kbs=^H, 
  2380.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  2381.     kdch1=\E[3~, kf1=\EOP, kf10=\E[29~, kf2=\EOQ, kf3=\EOR, 
  2382.     kf4=\EOS, kf5=\E[17~, kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, 
  2383.     kf9=\E[21~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  2384.     kslt=\E[4~, 
  2385.     pfx=\EP1;1|%?%{16}%p1%>%t%{0}%e%{21}%p1%>%t%{1}%e%{25}%p1%>%t%{2}%e%{27}%p1%>%t%{3}%e%{30}%p1%>%t%{4}%e%{5}%;%p1%+%d/%p2%s\E\\, 
  2386.     rc=\E8, rev=\E[7m$<2>, rf=/usr/share/tabset/vt300, 
  2387.     ri=\EM, rmacs=\E(B$<4>, rmam=\E[?7l, rmir=\E[4l, 
  2388.     rmsc=\E[?0;0r\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  2389.     rmso=\E[m, rmul=\E[m, rs3=\E[?67h\E[64;1"p, sc=\E7, 
  2390.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;$<2>, 
  2391.     sgr0=\E[m$<2>, smacs=\E(0$<2>, smam=\E[?7h, smir=\E[4h, 
  2392.     smso=\E[7m, smul=\E[4m, 
  2393.  
  2394. #### VT100 emulations
  2395. #
  2396.  
  2397. # John Hawkinson <jhawk@MIT.EDU> tells us that the EWAN telnet for Windows
  2398. # (the best Windows telnet as of September 1995) presents the name `dec-vt100'
  2399. # to telnetd.   Michael Deutschmann <ldeutsch@mail.netshop.net> informs us
  2400. # that this works best with a stock vt100 entry.
  2401. dec-vt100|EWAN telnet's vt100 emulation, 
  2402.     use=vt100, 
  2403.  
  2404. # From: Adrian Garside <94ajg2@eng.cam.ac.uk>, 19 Nov 1996
  2405. dec-vt220|DOS tnvt200 terminal emulator, 
  2406.     am@, use=vt220, 
  2407.  
  2408. # Zstem340 is an (IMHO) excellent VT emulator for PC's.  I recommend it to
  2409. # anyone who needs PC VT340 emulation. (or anything below that level, for
  2410. # that matter -- DEC's ALL-in-1 seems happy with it, as does INFOPLUS's
  2411. # RDBM systems, it includes ReGIS and SiXel support!  I'm impressed...
  2412. # I can send the address if requested.
  2413. # (z340: changed garbled \E[5?l to \E[?5l, DEC smooth scroll off -- esr)
  2414. # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
  2415. z340|zstem vt340 terminal emulator 132col 42line, 
  2416.     lines#42, 
  2417.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
  2418.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h\E[1;42r\E[42;1H, 
  2419.     use=vt320-w, 
  2420. z340-nam|zstem vt340 terminal emulator 132col 42line (no automatic margins), 
  2421.     am@, 
  2422.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
  2423.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7l\E[?8h\E[1;42r\E[42;1H, 
  2424.     use=z340, 
  2425.  
  2426. # CRT is shareware.  It implements some xterm features, including mouse.
  2427. crt|crt-vt220|CRT 2.3 emulating VT220, 
  2428.     bce, msgr, 
  2429.     ncv@, 
  2430.     hts=\EH, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2431.     use=vt220, use=ecma+color, 
  2432.  
  2433. # PuTTY 0.51 (released 14 December 2000)
  2434. # http://www.chiark.greenend.org.uk/~sgtatham/putty/
  2435. #
  2436. # This emulates vt100 + vt52 (plus a few vt220 features:  ech, SRM, DECTCEM, as
  2437. # well as SCO and Atari, color palettes from Linux console).  Reading the code,
  2438. # it is intended to be VT102 plus selected features By default, it sets $TERM
  2439. # to xterm, which is incorrect, since several features are misimplemented:
  2440. #
  2441. #    Alt+key always sends ESC+key, so 'km' capability is removed.
  2442. #
  2443. #    Control responses, wrapping and tabs are buggy, failing a couple of
  2444. #    screens in vttest.
  2445. #
  2446. #    xterm mouse support is not implemented (unrelease version may).
  2447. #
  2448. # Several features such as backspace/delete are optional; this entry documents
  2449. # the default behavior -TD
  2450. putty|xterm clone (win32), 
  2451.     am, bw, ccc, km, mir, msgr, xenl, 
  2452.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  2453.     acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2454.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  2455.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  2456.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2457.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2458.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2459.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  2460.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, enacs=\E)0, home=\E[H, 
  2461.     hpa=\E[%i%p1%dG, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, 
  2462.     ind=^J, 
  2463.     initc=\E]P%?%p1%{9}%>%t%p1%{10}%-%'a'%+%c%e%p1%d%;%p2%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p3%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%p4%{255}%&%Pr%gr%{16}%/%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;%gr%{15}%&%Px%?%gx%{9}%>%t%gx%{10}%-%'A'%+%c%e%gx%d%;, 
  2464.     is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
  2465.     kbs=\177, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  2466.     kcuu1=\EOA, kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, 
  2467.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  2468.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  2469.     kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
  2470.     kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  2471.     kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, 
  2472.     kpp=\E[5~, kslt=\E[4~, oc=\E]R, op=\E[39;49m, rc=\E8, 
  2473.     rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
  2474.     rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
  2475.     rmso=\E[27m, rmul=\E[24m, 
  2476.     rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
  2477.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  2478.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2479.     sgr0=\E[m, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
  2480.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  2481.     tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2482.     vpa=\E[%i%p1%dd, 
  2483.  
  2484. # This entry is for Tera Term Pro version 2.3, for MS-Windows 95/NT written by
  2485. # T. Teranishi dated Mar 10, 1998.  It is a free software terminal emulator
  2486. # (communication program) which supports:
  2487. #
  2488. #    - Serial port connections.
  2489. #    - TCP/IP (telnet) connections.
  2490. #    - VT100 emulation, and selected VT200/300 emulation.
  2491. #    - TEK4010 emulation.
  2492. #    - File transfer protocols (Kermit, XMODEM, ZMODEM, B-PLUS and
  2493. #      Quick-VAN).
  2494. #    - Scripts using the "Tera Term Language".
  2495. #    - Japanese and Russian character sets.
  2496. #
  2497. # The program does not come with terminfo or termcap entries.  However, the
  2498. # emulation (testing with vttest and ncurses) is reasonably close to vt100 (no
  2499. # vt52 or doublesize character support; blinking is done with color).  Besides
  2500. # the HPA, VPA extensions it also implements CPL and CNL.
  2501. #
  2502. # All of the function keys can be remapped.  This description shows the default
  2503. # mapping, as installed.  Both vt100 PF1-PF4 keys and quasi-vt220 F1-F4 keys
  2504. # are supported.  F13-F20 are obtained by shifting F3-F10.  The editing keypad
  2505. # is laid out like vt220, rather than the face codes on the PC keyboard, i.e,
  2506. #    kfnd    Insert
  2507. #    kslt    Delete
  2508. #    kich1    Home
  2509. #    kdch1    PageUp
  2510. #    kpp    End
  2511. #    knp    PageDown
  2512. #
  2513. # ANSI colors are implemented, but cannot be combined with video attributes
  2514. # except for reverse.
  2515. #
  2516. # No fonts are supplied with the program, so the acsc string is chosen to
  2517. # correspond with the default Microsoft terminal font.
  2518. #
  2519. # Tera Term recognizes some xterm sequences, including those for setting and
  2520. # retrieving the window title, and for setting the window size (i.e., using
  2521. # "resize -s"), though it does not pass SIGWINCH to the application if the
  2522. # user resizes the window with the mouse.
  2523. teraterm|Tera Term Pro, 
  2524.     km, xon@, 
  2525.     ncv#43, vt@, 
  2526.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  2527.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, clear=\E[H\E[J, 
  2528.     cnorm=\E[?25h, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  2529.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  2530.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  2531.     flash=\E[?5h\E[?5l$<200/>, hpa=\E[%i%p1%dG, 
  2532.     il=\E[%p1%dL, il1=\E[L, kdch1=\E[3~, kf1=\E[11~, 
  2533.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  2534.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  2535.     kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
  2536.     kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  2537.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, kich1=\E[2~, knp=\E[6~, 
  2538.     kpp=\E[5~, kslt=\E[4~, op=\E[100m, rev=\E[7m, ri=\EM, 
  2539.     rmso=\E[27m, rmul=\E[24m, sgr0=\E[m, smso=\E[7m, 
  2540.     smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2541.     vpa=\E[%i%p1%dd, use=klone+color, use=vt100, 
  2542.  
  2543. # Tested with WinNT 4.0, the telnet application assumes the screensize is
  2544. # 25x80.  This entry uses the 'Terminal' font, to get line-drawing characters.
  2545. #
  2546. # Other notes:
  2547. # a) Fails tack's cup (cursor-addressing) test, though cup works well enough
  2548. #    for casual (occasional) use.  Also fails several of the vttest screens,
  2549. #    but that is not unusual for vt100 "emulators".
  2550. # b) Does not implement vt100 keypad
  2551. # c) Recognizes a subset of vt52 controls.
  2552. ms-vt100|MS telnet imitating dec vt100, 
  2553.     lines#25, 
  2554.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260i\316j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  2555.     ka1@, ka3@, kb2@, kc1@, kc3@, kent@, kf0@, kf1@, kf10@, kf2@, kf3@, kf4@, 
  2556.     kf5@, kf6@, kf7@, kf8@, kf9@, tbc@, u6=\E[%i%d;%dR, u7=\E[6n, 
  2557.     u8=\E[?6c, u9=\E[c, use=vt100, 
  2558.  
  2559. # Tested with Windows 2000, the telnet application runs in a console window,
  2560. # also using 'Terminal' font.
  2561. #
  2562. # Other notes:
  2563. # a) This version has no function keys or numeric keypad.  Unlike the older
  2564. #    version, the numeric keypad is entirely ignored.
  2565. # b) The program sets $TERM to "ansi", which of course is inaccurate.
  2566. ms-vt100-color|windows 2000 ansi (sic), 
  2567.     bce, 
  2568.     dch=\E[%p1%dP, ich=\E[%p1%d@, use=ecma+color, 
  2569.     use=ms-vt100, 
  2570.  
  2571. #### X terminal emulators
  2572. #
  2573. # You can add the following line to your .Xdefaults to change the terminal type
  2574. # set by the xterms you start up to my-xterm:
  2575. #
  2576. # *termName:  my-xterm
  2577. #
  2578. # System administrators can change the default entry for xterm instances
  2579. # by adding a similar line to /usr/X11/lib/X11/app-defaults/XTerm.  In either
  2580. # case, xterm will detect and reject an invalid terminal type, falling back
  2581. # to the default of xterm.
  2582. #
  2583.  
  2584. # X10/6.6    11/7/86, minus alternate screen, plus (csr)
  2585. # (xterm: ":MT:" changed to ":km:"; added <smam>/<rmam> based on init string;
  2586. # removed (hs, eslok, tsl=\E[?E\E[?%i%dT, fsl=\E[?F, dsl=\E[?E)
  2587. # as these seem not to work -- esr)
  2588. x10term|vs100-x10|xterm terminal emulator (X10 window system), 
  2589.     OTbs, am, km, mir, msgr, xenl, xon, 
  2590.     cols#80, it#8, lines#65, 
  2591.     bold=\E[1m, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
  2592.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  2593.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  2594.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
  2595.     il1=\E[L, ind=^J, is2=\E\E[m\E[?7h\E[?1;4l, kbs=^H, 
  2596.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  2597.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rev=\E[7m, ri=\EM, rmam=\E[?7l, 
  2598.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  2599.     sgr0=\E[m, smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, 
  2600.     smso=\E[7m, smul=\E[4m, 
  2601. # Compatible with the R5 xterm 
  2602. # (from the XFree86 3.2 distribution, <blink=@> removed)
  2603. # added khome/kend, rmir/smir, rmul/smul, hts based on the R5 xterm code - TD
  2604. # corrected typos in rs2 string - TD
  2605. # added u6-u9 -TD
  2606. xterm-r5|xterm R5 version, 
  2607.     OTbs, am, km, msgr, xenl, 
  2608.     cols#80, it#8, lines#24, 
  2609.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  2610.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2611.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2612.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2613.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  2614.     el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  2615.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcub1=\EOD, 
  2616.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[3~, 
  2617.     kdl1=\E[31~, kel=\E[8~, kend=\E[4~, kf0=\EOq, kf1=\E[11~, 
  2618.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
  2619.     kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  2620.     kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
  2621.     kil1=\E[30~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, 
  2622.     rev=\E[7m, ri=\EM, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
  2623.     rmul=\E[m, 
  2624.     rs2=\E>\E[?1;3;4;5;6l\E[4l\E[?7h\E[m\E[r\E[2J\E[H, 
  2625.     sc=\E7, 
  2626.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  2627.     sgr0=\E[m, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
  2628.     smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
  2629.     u8=\E[?1;2c, u9=\E[c, 
  2630. # Compatible with the R6 xterm
  2631. # (from XFree86 3.2 distribution, <acsc> and <it> added, <blink@> removed)
  2632. # added khome/kend, hts based on the R6 xterm code - TD
  2633. # (khome/kend do not actually work in X11R5 or X11R6, but many people use this
  2634. # for compatibility with other emulators).
  2635. xterm-r6|xterm-old|xterm X11R6 version, 
  2636.     OTbs, am, km, mir, msgr, xenl, 
  2637.     cols#80, it#8, lines#24, 
  2638.     acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2639.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  2640.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2641.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2642.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2643.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  2644.     el=\E[K, enacs=\E)0, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
  2645.     il1=\E[L, ind=^J, 
  2646.     is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, kbs=^H, 
  2647.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  2648.     kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
  2649.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  2650.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  2651.     kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
  2652.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  2653.     kfnd=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  2654.     kslt=\E[4~, meml=\El, memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, 
  2655.     rmacs=^O, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
  2656.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  2657.     rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
  2658.     sgr0=\E[m, smacs=^N, smcup=\E7\E[?47h, smir=\E[4h, 
  2659.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  2660.     u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2661. # This is the base xterm entry for the xterm supplied with XFree86 3.2 & up.
  2662. # The name has been changed and some aliases have been removed.
  2663. xterm-xf86-v32|xterm terminal emulator (XFree86 3.2 Window System), 
  2664.     OTbs, am, bce, km, mir, msgr, xenl, 
  2665.     cols#80, it#8, lines#24, ncv@, 
  2666.     acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2667.     bel=^G, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  2668.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  2669.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2670.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2671.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2672.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  2673.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  2674.     flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
  2675.     ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  2676.     il1=\E[L, ind=^J, 
  2677.     is2=\E7\E[r\E[m\E[?7h\E[?1;3;4;6l\E[4l\E8\E>, 
  2678.     ka1=\EOw, ka3=\EOu, kb2=\EOy, kbeg=\EOE, kbs=^H, kc1=\EOq, 
  2679.     kc3=\EOs, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  2680.     kdch1=\177, kend=\EOF, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
  2681.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  2682.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  2683.     kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
  2684.     kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  2685.     kf9=\E[20~, kfnd=\E[1~, khome=\EOH, kich1=\E[2~, 
  2686.     kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, meml=\El, 
  2687.     memu=\Em, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, 
  2688.     rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmkx=\E[?1l\E>, 
  2689.     rmso=\E[27m, rmul=\E[24m, rs1=^O, 
  2690.     rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;3;4;6l\E[4l\E>, sc=\E7, 
  2691.     setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2692.     setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2693.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2694.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
  2695.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  2696.     tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2697.     vpa=\E[%i%p1%dd, use=ecma+color, 
  2698.  
  2699. # This is the stock xterm entry supplied with XFree86 3.3, which uses VT100
  2700. # codes for F1-F4 except while in VT220 mode.
  2701. xterm-xf86-v33|xterm terminal emulator (XFree86 3.3 Window System), 
  2702.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, use=xterm-xf86-v32, 
  2703.  
  2704. # This version was released in XFree86 3.3.3 (November 1998).
  2705. # Besides providing printer support, it exploits a new feature that allows
  2706. # xterm to use terminfo-based descriptions with the titeInhibit resource.
  2707. # -- the distribution contained incorrect khome/kend values -TD
  2708. xterm-xf86-v333|xterm terminal emulator (XFree86 3.3.3 Window System), 
  2709.     mc5i, 
  2710.     blink=\E[5m, ich1@, invis=\E[8m, 
  2711.     is2=\E[!p\E[?3;4l\E[4l\E>, kdch1=\E[3~, kfnd@, kslt@, 
  2712.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, rmcup=\E[?1047l\E[?1048l, 
  2713.     rs1=\Ec, rs2=\E[!p\E[?3;4l\E[4l\E>, 
  2714.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  2715.     smcup=\E[?1048h\E[?1047h, use=xterm-xf86-v33, 
  2716.  
  2717. # This version was released in XFree86 4.0.
  2718. xterm-xf86-v40|xterm terminal emulator (XFree86 4.0 Window System), 
  2719.     npc, 
  2720.     kDC=\E[3;5~, kEND=\EO5F, kHOM=\EO5H, kIC=\E[2;5~, 
  2721.     kLFT=\EO5D, kNXT=\E[6;5~, kPRV=\E[5;5~, kRIT=\EO5C, ka1@, 
  2722.     ka3@, kb2=\EOE, kc1@, kc3@, kcbt=\E[Z, kdch1=\E[3~, kend=\EOF, 
  2723.     kf13=\EO2P, kf14=\EO2Q, kf15=\EO2R, kf16=\EO2S, 
  2724.     kf17=\E[15;2~, kf18=\E[17;2~, kf19=\E[18;2~, 
  2725.     kf20=\E[19;2~, kf21=\E[20;2~, kf22=\E[21;2~, 
  2726.     kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, kf26=\EO5Q, 
  2727.     kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, kf30=\E[17;5~, 
  2728.     kf31=\E[18;5~, kf32=\E[19;5~, kf33=\E[20;5~, 
  2729.     kf34=\E[21;5~, kf35=\E[23;5~, kf36=\E[24;5~, kf37=\EO6P, 
  2730.     kf38=\EO6Q, kf39=\EO6R, kf40=\EO6S, kf41=\E[15;6~, 
  2731.     kf42=\E[17;6~, kf43=\E[18;6~, kf44=\E[19;6~, 
  2732.     kf45=\E[20;6~, kf46=\E[21;6~, kf47=\E[23;6~, 
  2733.     kf48=\E[24;6~, khome=\EOH, rmcup=\E[?1049l, 
  2734.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2735.     smcup=\E[?1049h, use=xterm-xf86-v333, 
  2736.  
  2737. xterm-xfree86|xterm-new|xterm terminal emulator (XFree86 4.0 Window System), 
  2738.     npc, 
  2739.     kDC=\E[3;2~, kEND=\EO2F, kHOM=\EO2H, kIC=\E[2;2~, 
  2740.     kLFT=\EO2D, kNXT=\E[6;2~, kPRV=\E[5;2~, kRIT=\EO2C, 
  2741.     kb2=\EOE, kcbt=\E[Z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  2742.     kcuu1=\EOA, kend=\EOF, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
  2743.     kf11=\E[23~, kf12=\E[24~, kf13=\EO2P, kf14=\EO2Q, 
  2744.     kf15=\EO2R, kf16=\EO2S, kf17=\E[15;2~, kf18=\E[17;2~, 
  2745.     kf19=\E[18;2~, kf2=\EOQ, kf20=\E[19;2~, kf21=\E[20;2~, 
  2746.     kf22=\E[21;2~, kf23=\E[23;2~, kf24=\E[24;2~, kf25=\EO5P, 
  2747.     kf26=\EO5Q, kf27=\EO5R, kf28=\EO5S, kf29=\E[15;5~, 
  2748.     kf3=\EOR, kf30=\E[17;5~, kf31=\E[18;5~, kf32=\E[19;5~, 
  2749.     kf33=\E[20;5~, kf34=\E[21;5~, kf35=\E[23;5~, 
  2750.     kf36=\E[24;5~, kf37=\EO6P, kf38=\EO6Q, kf39=\EO6R, 
  2751.     kf4=\EOS, kf40=\EO6S, kf41=\E[15;6~, kf42=\E[17;6~, 
  2752.     kf43=\E[18;6~, kf44=\E[19;6~, kf45=\E[20;6~, 
  2753.     kf46=\E[21;6~, kf47=\E[23;6~, kf48=\E[24;6~, kf5=\E[15~, 
  2754.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\EOH, 
  2755.     kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  2756.     use=xterm-basic, 
  2757. #
  2758. # This chunk is used for building the VT220/Sun/PC keyboard variants.
  2759. xterm-basic|xterm terminal emulator - common (XFree86), 
  2760.     am, bce, km, mc5i, mir, msgr, xenl, 
  2761.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  2762.     acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2763.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  2764.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  2765.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2766.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2767.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2768.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  2769.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  2770.     flash=\E[?5h$<100/>\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, 
  2771.     ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  2772.     ind=^J, invis=\E[8m, is2=\E[!p\E[?3;4l\E[4l\E>, kbs=^H, 
  2773.     kdch1=\E[3~, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, meml=\El, 
  2774.     memu=\Em, op=\E[39;49m, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
  2775.     rmam=\E[?7l, rmcup=\E[?1049l, rmir=\E[4l, rmkx=\E[?1l\E>, 
  2776.     rmso=\E[27m, rmul=\E[24m, rs1=\Ec, 
  2777.     rs2=\E[!p\E[?3;4l\E[4l\E>, sc=\E7, setab=\E[4%p1%dm, 
  2778.     setaf=\E[3%p1%dm, 
  2779.     setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2780.     setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2781.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  2782.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[?1049h, 
  2783.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  2784.     tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  2785.     vpa=\E[%i%p1%dd, 
  2786.  
  2787. # From: David J. MacKenzie <djm@va.pubnix.com>, 14 Nov 1997
  2788. xterm-xi|xterm on XI Graphics Accelerated X under BSD/OS 3.1, 
  2789.     rmso=\E[m, rmul=\E[m, use=xterm-xf86-v33, 
  2790.  
  2791. # This is one of the variants of XFree86 3.3 xterm, updated for 4.0 (T.Dickey)
  2792. xterm-16color|xterm with 16 colors like aixterm, 
  2793.     ncv#32, use=ibm+16color, use=xterm-xfree86, 
  2794.  
  2795. # These variants of XFree86 3.9.16 xterm are built as a configure option.
  2796. xterm-256color|xterm with 256 colors, 
  2797.     ccc, 
  2798.     colors#256, ncv#32, pairs#256, 
  2799.     initc=\E]4;%p1%d;rgb\:%p2%{255}%*%{1000}%/%2.2X/%p3%{255}%*%{1000}%/%2.2X/%p4%{255}%*%{1000}%/%2.2X\E\\, 
  2800.     setab=\E[48;5;%p1%dm, setaf=\E[38;5;%p1%dm, 
  2801.     setb=\E[48;5;%p1%dm, setf=\E[38;5;%p1%dm, 
  2802.     use=xterm-xfree86, 
  2803. xterm-88color|xterm with 88 colors, 
  2804.     colors#88, pairs#88, use=xterm-256color, 
  2805.  
  2806. # This is another variant, for XFree86 4.0 xterm (T.Dickey)
  2807. # This is an 8-bit version of xterm, which emulates DEC vt220 with ANSI color.
  2808. # To use it, your decTerminalID resource must be set to 200 or above.
  2809. #
  2810. #    HTS    \E H    \210
  2811. #    RI    \E M    \215
  2812. #    SS3    \E O    \217
  2813. #    CSI    \E [    \233
  2814. #
  2815. xterm-8bit|xterm terminal emulator 8-bit controls (X Window System), 
  2816.     OTbs, am, bce, km, mc5i, mir, msgr, npc, xenl, 
  2817.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  2818.     acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2819.     bel=^G, blink=\2335m, bold=\2331m, cbt=\233Z, 
  2820.     civis=\233?25l, clear=\233H\2332J, cnorm=\233?25h, cr=^M, 
  2821.     csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cub1=^H, 
  2822.     cud=\233%p1%dB, cud1=^J, cuf=\233%p1%dC, cuf1=\233C, 
  2823.     cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, cuu1=\233A, 
  2824.     dch=\233%p1%dP, dch1=\233P, dl=\233%p1%dM, dl1=\233M, 
  2825.     ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
  2826.     enacs=\E(B\E)0, flash=\233?5h$<100/>\233?5l, 
  2827.     home=\233H, hpa=\233%i%p1%dG, ht=^I, hts=\210, 
  2828.     ich=\233%p1%d@, il=\233%p1%dL, il1=\233L, ind=^J, 
  2829.     invis=\2338m, 
  2830.     is2=\E7\E G\233r\233m\233?7h\233?1;3;4;6l\2334l\E8\E>, 
  2831.     ka1=\217w, ka3=\217u, kb2=\217y, kbeg=\217E, kbs=^H, 
  2832.     kc1=\217q, kc3=\217s, kcbt=\233Z, kcub1=\217D, kcud1=\217B, 
  2833.     kcuf1=\217C, kcuu1=\217A, kdch1=\2333~, kend=\2334~, 
  2834.     kent=\217M, kf1=\23311~, kf10=\23321~, kf11=\23323~, 
  2835.     kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
  2836.     kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
  2837.     kf2=\23312~, kf20=\23334~, kf3=\23313~, kf4=\23314~, 
  2838.     kf5=\23315~, kf6=\23317~, kf7=\23318~, kf8=\23319~, 
  2839.     kf9=\23320~, khome=\2331~, kich1=\2332~, kmous=\233M, 
  2840.     knp=\2336~, kpp=\2335~, mc0=\233i, mc4=\2334i, mc5=\2335i, 
  2841.     meml=\El, memu=\Em, op=\23339;49m, rc=\E8, rev=\2337m, 
  2842.     ri=\215, rmacs=^O, rmam=\233?7l, rmcup=\233?1049l, 
  2843.     rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
  2844.     rs1=\Ec, 
  2845.     rs2=\E[62"p\E G\E7\233r\E8\233m\233?7h\233?1;3;4;6l\2334l\E>, 
  2846.     sc=\E7, setab=\2334%p1%dm, setaf=\2333%p1%dm, 
  2847.     setb=\2334%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2848.     setf=\2333%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  2849.     sgr=\2330%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  2850.     sgr0=\233m^O, smacs=^N, smam=\233?7h, smcup=\233?1049h, 
  2851.     smir=\2334h, smkx=\233?1h\E=, smso=\2337m, smul=\2334m, 
  2852.     tbc=\2333g, u6=\233[%i%d;%dR, u7=\E[6n, u8=\233[?1;2c, 
  2853.     u9=\E[c, vpa=\233%i%p1%dd, 
  2854.  
  2855. xterm-hp|XFree86 xterm with hpterm function keys, 
  2856.     kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  2857.     kdch1=\EP, kend=\EF, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, 
  2858.     kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, kich1=\EQ, 
  2859.     knp=\ES, kpp=\ET, use=xterm-basic, 
  2860.  
  2861. xterm-sco|XFree86 xterm with SCO function keys, 
  2862.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, 
  2863.     kf1=\E[M, kf10=\E[V, kf11=\E[W, kf12=\E[X, kf13=\E[Y, 
  2864.     kf15=\E[a, kf16=\E[b, kf17=\E[c, kf18=\E[d, kf19=\E[e, 
  2865.     kf2=\E[N, kf20=\E[f, kf21=\E[g, kf22=\E[h, kf23=\E[i, 
  2866.     kf24=\E[j, kf25=\E[k, kf26=\E[l, kf27=\E[m, kf28=\E[n, 
  2867.     kf29=\E[o, kf3=\E[O, kf30=\E[p, kf31=\E[q, kf32=\E[r, 
  2868.     kf33=\E[s, kf34=\E[t, kf35=\E[u, kf4=\E[P, kf5=\E[Q, 
  2869.     kf6=\E[R, kf7=\E[S, kf8=\E[T, kf9=\E[U, khome=\E[H, 
  2870.     kich1=\E[L, knp=\E[G, kpp=\E[I, use=xterm-basic, 
  2871.  
  2872. # The xterm-xfree86 description has all of the features, but is not completely
  2873. # compatible with vt220.  If you are using a Sun or PC keyboard, set the
  2874. # sunKeyboard resource to true:
  2875. #    + maps the editing keypad
  2876. #    + interprets control-function-key as a second array of keys, so a
  2877. #      12-fkey keyboard can support vt220's 20-fkeys.
  2878. #    + maps numeric keypad "+" to ",".
  2879. #    + uses DEC-style control sequences for the application keypad.
  2880. #      
  2881. xterm-vt220|XFree86 xterm emulating vt220, 
  2882.     ka1=\EOw, ka3=\EOy, kbeg=\EOu, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, 
  2883.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kend=\E[4~, 
  2884.     kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  2885.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  2886.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  2887.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf5=\E[15~, kf6=\E[17~, 
  2888.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[1~, 
  2889.     kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  2890.     use=xterm-basic, 
  2891.  
  2892. xterm-vt52|XFree86 xterm emulating dec vt52, 
  2893.     cols#80, it#8, lines#24, 
  2894.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2895.     bel=^G, clear=\EH\EJ, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
  2896.     cup=\EY%p1%' '%+%c%p2%' '%+%c, cuu1=\EA, ed=\EJ, el=\EK, 
  2897.     home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  2898.     kcuf1=\EC, kcuu1=\EA, nel=^M^J, ri=\EI, rmacs=\EG, smacs=\EF, 
  2899.  
  2900. xterm-noapp|xterm with cursor keys in normal mode, 
  2901.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rmcup@, 
  2902.     rmkx=\E>, smcup@, smkx=\E=, use=xterm, 
  2903.  
  2904. xterm-24|vs100|xterms|xterm terminal emulator (X Window System), 
  2905.     lines#24, use=xterm-r6, 
  2906.  
  2907. # This is xterm for ncurses.
  2908. xterm|xterm terminal emulator (X Window System), 
  2909.     use=xterm-r6, 
  2910. #    use=xterm-xfree86, 
  2911.  
  2912. # These entries allow access to the X titlebar and icon name as a status line. 
  2913. # Note that twm (and possibly window managers descended from it such as tvtwm, 
  2914. # ctwm, and vtwm) track windows by icon-name; thus, you don't want to mess
  2915. # with it.
  2916. xterm+sl|access X title line and icon name, 
  2917.     hs, 
  2918.     wsl#40, 
  2919.     dsl=\E]0;\007, fsl=^G, tsl=\E]0;, use=xterm, 
  2920. xterm+sl-twm|access X title line (pacify twm-descended window managers), 
  2921.     hs, 
  2922.     wsl#40, 
  2923.     dsl=\E]2;\007, fsl=^G, tsl=\E]2;, use=xterm, 
  2924.  
  2925. #
  2926. # The following xterm variants don't depend on your base version
  2927. #
  2928. # xterm with bold instead of underline
  2929. xterm-bold|xterm terminal emulator (X11R6 Window System) standout w/bold, 
  2930.     smso=\E[7m, smul=\E[1m, use=xterm, 
  2931. # (kterm: this had extension capabilities ":KJ:TY=ascii:" -- esr)
  2932. # (kterm should not invoke DEC Graphics as the alternate character set
  2933. #  -- Kenji Rikitake)
  2934. # (proper setting of enacs, smacs, rmacs makes kterm to use DEC Graphics
  2935. #  -- MATSUMOTO Shoji)
  2936. kterm|kterm kanji terminal emulator (X window system), 
  2937.     eslok, hs, 
  2938.     acsc=++\,\,--..00II``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2939.     csr=\E[%i%p1%d;%p2%dr, dsl=\E[?H, enacs=, fsl=\E[?F, 
  2940.     kmous=\E[M, rc=\E8, rmacs=\E(B, sc=\E7, smacs=\E(0, 
  2941.     tsl=\E[?E\E[?%i%dT, use=xterm-r6, use=ecma+color, 
  2942. kterm-color|kterm-co|kterm with ANSI colors, 
  2943.     ncv@, use=kterm, use=ecma+color, 
  2944. # See the note on ICH/ICH1 VERSUS RMIR/SMIR near the end of file
  2945. xterm-nic|xterm with ich/ich1 suppressed for non-curses programs, 
  2946.     ich@, ich1@, use=xterm, 
  2947. # From: Mark Sheppard <kimble@mistral.co.uk>, 4 May 1996 
  2948. xterm1|xterm terminal emulator ignoring the alternate screen buffer, 
  2949.     rmcup@, smcup@, use=xterm, 
  2950.  
  2951. # This describes the capabilities of color_xterm, an xterm variant from
  2952. # before ECMA-64 color support was folded into the main-line xterm release.
  2953. # This entry is straight from color_xterm's maintainer.
  2954. # From: Jacob Mandelson <jlm@ugcs.caltech.edu>, 09 Nov 1996
  2955. # The README's with the distribution also say that it supports SGR 21, 24, 25
  2956. # and 27, but they are not present in the terminfo or termcap.
  2957. color_xterm|cx|cx100|color_xterm color terminal emulator for X, 
  2958.     OTbs, am, km, mir, msgr, xenl, 
  2959.     cols#80, it#8, lines#65, ncv@, 
  2960.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  2961.     bel=^G, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  2962.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  2963.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  2964.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  2965.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  2966.     el=\E[K, el1=\E[1K, enacs=\E(B\E)0, home=\E[H, ht=^I, 
  2967.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  2968.     is1=\E[r\E[m\E[?7h\E[?4;6l\E[4l, ka1=\EOw, ka3=\EOy, 
  2969.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\EOD, kcud1=\EOB, 
  2970.     kcuf1=\EOC, kcuu1=\EOA, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
  2971.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf2=\E[12~, 
  2972.     kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  2973.     kf8=\E[19~, kf9=\E[20~, khome=\E[7~, kich1=\E[2~, 
  2974.     kmous=\E[M, knp=\E[6~, kpp=\E[5~, rc=\E8, rev=\E[7m, ri=\EM, 
  2975.     rmacs=^O, rmam=\E[?7l, rmcup=\E>\E[?41;1r, rmir=\E[4l, 
  2976.     rmso=\E[27m, rmul=\E[24m, 
  2977.     rs1=\E(B\017\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E<, 
  2978.     sc=\E7, 
  2979.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  2980.     sgr0=\E[m, smacs=^N, smam=\E[?7h, 
  2981.     smcup=\E[?1;41s\E[?1;41h\E=, smir=\E[4h, smso=\E[7m, 
  2982.     smul=\E[4m, use=ecma+color, 
  2983.  
  2984. # The 'nxterm' distributed with Redhat Linux 5.2 is a slight rehack of
  2985. # xterm-sb_right-ansi-3d, which implements ANSI colors, but does not support
  2986. # SGR 39 or 49.  SGR 0 does reset colors (along with everything else).  This
  2987. # description is "compatible" with color_xterm, rxvt and XFree86 xterm, except
  2988. # that each of those implements the home, end, delete keys differently.
  2989. #
  2990. # Redhat Linux 6.x distributes XFree86 xterm as "nxterm", which uses bce
  2991. # colors; note that this is not compatible with the 5.2 version.
  2992. nxterm|xterm-color|generic color xterm, 
  2993.     ncv@, 
  2994.     op=\E[m, use=xterm-r6, use=klone+color, 
  2995.  
  2996. # this describes the alpha-version of Gnome terminal shipped with Redhat 6.0
  2997. gnome-rh62|Gnome terminal, 
  2998.     bce, 
  2999.     kdch1=\177, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  3000.     use=xterm-color, 
  3001.  
  3002. # GNOME Terminal 1.4.0.4 (Redhat 7.2)
  3003. #
  3004. # This implements a subset of vt102 with a random selection of features from
  3005. # other terminals such as color and function-keys.
  3006. #
  3007. # shift-f1 to shift-f10 are f11 to f20
  3008. #
  3009. # NumLock changes the application keypad to approximate vt100 keypad, except
  3010. # that there is no escape sequence matching comma (,).
  3011. #
  3012. # Other defects observed:
  3013. #    vt100 LNM mode is not implemented.
  3014. #    vt100 80/132 column mode is not implemented.
  3015. #    vt100 DECALN is not implemented.
  3016. #    vt100 DECSCNM mode is not implemented, so flash does not work.
  3017. #    vt100 TBC (tab reset) is not implemented.
  3018. #    xterm alternate screen controls do not restore cursor position properly
  3019. #    it hangs in tack after running function-keys test.
  3020. gnome-rh72|GNOME Terminal, 
  3021.     bce, 
  3022.     civis=\E[?25l, cnorm=\E[?25h, kdch1=\E[3~, kf1=\EOP, 
  3023.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmam=\E[?7l, 
  3024.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m%?%p9%t\016%e\017%;, 
  3025.     smam=\E[?7h, tbc@, use=xterm-color, 
  3026.  
  3027. gnome|GNOME Terminal, 
  3028.     use=gnome-rh72, 
  3029.  
  3030. # This is kvt 0-18.7, shipped with Redhat 6.0 (though whether it supports bce
  3031. # or not is debatable).
  3032. kvt|KDE terminal, 
  3033.     bce, km@, 
  3034.     kdch1=\177, kend=\E[F, khome=\E[H, use=xterm-color, 
  3035.  
  3036. # Konsole 1.0.1
  3037. # (formerly known as kvt)
  3038. #
  3039. # This program hardcodes $TERM to 'xterm', which is not accurate.  However, to
  3040. # simplify this entry (and point out why konsole isn't xterm), we base this on
  3041. # xterm-r6.  The default keyboard appears to be 'linux'.
  3042. #
  3043. # Notes:
  3044. # a) konsole implements several features from XFree86 xterm, though none of
  3045. #    that is documented - except of course in its source code - apparently
  3046. #    because its implementors are unaccustomed to reading documentation - as
  3047. #    evidenced by the sparse and poorly edited documentation distributed with
  3048. #    konsole.  Some features such as the 1049 private mode are recognized but
  3049. #    incorrectly implemented as a duplicate of the 47 private mode.
  3050. # b) even with the "vt100 (historical)" keyboard setting, the numeric keypad
  3051. #    sends PC-style escapes rather than vt100.
  3052. # c) fails vttest menu 3 (Test of character sets) because it does not properly
  3053. #    parse some control sequences.  Also fails vttest Primary Device Attributes
  3054. #    by sending a bogus code (in the source it says it's supposed to be a
  3055. #    vt220, which is doubly incorrect because it does not implement vt220
  3056. #    control sequences except for a few special cases).  Treat it as a
  3057. #    mildly-broken vt102.
  3058. konsole-base|KDE console window, 
  3059.     bce, km@, npc, 
  3060.     bel@, blink=\E[5m, civis=\E[?25l, cnorm=\E[?25h, 
  3061.     ech=\E[%p1%dX, flash=\E[?5h$<100/>\E[?5l, 
  3062.     hpa=\E[%i%p1%dG, kbs@, kdch1@, kend@, kf1@, kf10@, kf11@, kf12@, 
  3063.     kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@, kf2@, kf20@, kf3@, 
  3064.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, kfnd@, khome@, kslt@, 
  3065.     rmam=\E[?7l, rmso=\E[27m, rmul=\E[24m, 
  3066.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  3067.     smam=\E[?7h, vpa=\E[%i%p1%dd, use=ecma+color, 
  3068.     use=xterm-r6, 
  3069. konsole-linux|KDE console window with linux keyboard, 
  3070.     kdch1=\E[3~, kf1=\E[[A, kf10=\E[21~, kf11=\E[23~, 
  3071.     kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, kf18@, kf19@, 
  3072.     kf2=\E[[B, kf20@, kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, 
  3073.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  3074.     use=konsole-base, 
  3075. # KDE's "XFree86 3.x.x" keyboard is based on reading the xterm terminfo rather
  3076. # than testing the code.
  3077. konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm, 
  3078.     kend=\E[4~, khome=\E[1~, use=konsole-vt100, 
  3079. # The value for kbs reflects local customization rather than the settings used
  3080. # for XFree86 xterm.
  3081. konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm, 
  3082.     kbs=^H, kend=\EOF, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  3083.     khome=\EOH, use=konsole-vt100, 
  3084. # KDE's "vt100" keyboard has no relationship to any terminal that DEC made, but
  3085. # it is still useful for deriving the other entries.
  3086. konsole-vt100|KDE console window with vt100 (sic) keyboard, 
  3087.     kbs=\177, kdch1=\E[3~, kend=\E[F, kf1=\E[11~, kf10=\E[21~, 
  3088.     kf11=\E[23~, kf12=\E[24~, kf13@, kf14@, kf15@, kf16@, kf17@, 
  3089.     kf18@, kf19@, kf2=\E[12~, kf20@, kf3=\E[13~, kf4=\E[14~, 
  3090.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  3091.     khome=\E[H, use=konsole-base, 
  3092. konsole-vt420pc|KDE console window with vt420 pc keyboard, 
  3093.     kbs=^H, kdch1=\177, use=konsole-vt100, 
  3094. konsole-16color|klone of xterm-16color, 
  3095.     ncv#32, use=ibm+16color, use=konsole, 
  3096. # make a default entry for konsole
  3097. konsole|KDE console window, 
  3098.     use=konsole-linux, 
  3099.  
  3100. # From: Thomas Dickey <dickey@clark.net> 04 Oct 1997
  3101. # Updated: Oezguer Kesim <kesim@math.fu-berlin.de> 02 Nov 1997
  3102. # Notes:
  3103. # rxvt 2.21b uses
  3104. #    smacs=\E(B\E)U^N, rmacs=\E(B\E)0^O,
  3105. # but some applications don't work with that.
  3106. # It also has an AIX extension
  3107. #    box2=lqkxjmwuvtn,
  3108. # and
  3109. #    ech=\E[%p1%dX,
  3110. # but the latter does not work correctly.
  3111. #
  3112. # The distributed terminfo says it implements hpa and vpa, but they are not
  3113. # implemented correctly, using relative rather than absolute positioning.
  3114. #
  3115. # rxvt is normally configured to look for "xterm" or "xterm-color" as $TERM.
  3116. # Since rxvt is not really compatible with xterm, it should be configured as
  3117. # "rxvt" (monochrome) and "rxvt-color". 
  3118. rxvt-basic|rxvt terminal base (X Window System), 
  3119.     OTbs, am, bce, eo, km, mir, msgr, xenl, xon, 
  3120.     cols#80, it#8, lines#24, 
  3121.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3122.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  3123.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  3124.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3125.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3126.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3127.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  3128.     el=\E[K, el1=\E[1K, enacs=\E(B\E)0, flash=\E[?5h\E[?5l, 
  3129.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  3130.     il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E[?47l\E=\E[?1l, 
  3131.     is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
  3132.     kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
  3133.     kPRV=\E[5$, kRIT=\E[c, ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, 
  3134.     kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, 
  3135.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kel=\E[8\^, 
  3136.     kend=\E[8~, kent=\EOM, kf1=\E[11~, kf10=\E[21~, 
  3137.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  3138.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  3139.     kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, 
  3140.     kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, 
  3141.     kf9=\E[20~, kfnd=\E[1~, khome=\E[7~, kich1=\E[2~, 
  3142.     kmous=\E[M, knp=\E[6~, kpp=\E[5~, kslt=\E[4~, rc=\E8, 
  3143.     rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, 
  3144.     rmir=\E[4l, rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  3145.     rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
  3146.     rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
  3147.     s0ds=\E(B, s1ds=\E(0, sc=\E7, sgr0=\E[0m\017, smacs=^N, 
  3148.     smcup=\E7\E[?47h, smir=\E[4h, smkx=\E=, smso=\E[7m, 
  3149.     smul=\E[4m, tbc=\E[3g, 
  3150. rxvt|rxvt terminal emulator (X Window System), 
  3151.     ncv@, 
  3152.     sgr0=\E[m\017, use=rxvt-basic, use=ecma+color, 
  3153.  
  3154. # This variant is supposed to work with rxvt 2.7.7 when compiled with
  3155. # NO_BRIGHTCOLOR defined.  rxvt needs more work...
  3156. rxvt-16color|xterm with 16 colors like aixterm, 
  3157.     ncv#32, use=ibm+16color, use=rxvt, 
  3158.  
  3159. # From: Michael Jennings <mej@valinux.com>
  3160. # removed kf0 which conflicts with kf10 -TD
  3161. # remove cvvis which conflicts with cnorm -TD
  3162. Eterm|Eterm-color|Eterm with xterm-style color support (X Window System), 
  3163.     am, bce, bw, eo, km, mc5i, mir, msgr, xenl, xon, 
  3164.     btns#5, cols#80, it#8, lines#24, lm#0, ncv@, 
  3165.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3166.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  3167.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  3168.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3169.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  3170.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3171.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  3172.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
  3173.     flash=\E[?5h\E[?5l, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, 
  3174.     hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  3175.     ind=^J, is1=\E[?47l\E>\E[?1l, 
  3176.     is2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l, 
  3177.     kDC=\E[3$, kEND=\E[8$, kHOM=\E[7$, kLFT=\E[d, kNXT=\E[6$, 
  3178.     kPRV=\E[5$, kRIT=\E[c, ka1=\E[7~, ka3=\E[5~, kb2=\EOu, 
  3179.     kbeg=\EOu, kbs=^H, kc1=\E[8~, kc3=\E[6~, kcbt=\E[Z, 
  3180.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  3181.     kdch1=\E[3~, kel=\E[8\^, kend=\E[8~, kent=\EOM, kf1=\E[11~, 
  3182.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  3183.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  3184.     kf18=\E[32~, kf19=\E[33~, kf2=\E[12~, kf20=\E[34~, 
  3185.     kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, 
  3186.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  3187.     khome=\E[7~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  3188.     kslt=\E[4~, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM, 
  3189.     rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, 
  3190.     rmkx=, rmso=\E[27m, rmul=\E[24m, 
  3191.     rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
  3192.     rs2=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;3;4;6l\E[4l\E>, 
  3193.     sc=\E7, 
  3194.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  3195.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7\E[?47h, 
  3196.     smir=\E[4h, smkx=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  3197.     u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?1;2c, u9=\E[c, 
  3198.     vpa=\E[%i%p1%dd, use=ecma+color, 
  3199.  
  3200. # These (xtermc and xtermm) are distributed with Solaris.  They refer to a
  3201. # variant of xterm which is apparently no longer supported, but are interesting
  3202. # because they illustrate SVr4 curses mouse controls - T.Dickey
  3203. xtermm|xterm terminal emulator (monocrome), 
  3204.     OTbs, am, km, mir, msgr, xenl, 
  3205.     btns#3, cols#80, it#8, lines#24, 
  3206.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3207.     bel=^G, blink@, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  3208.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[1D, 
  3209.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3210.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3211.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  3212.     el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, getm=\E[%p1%dY, 
  3213.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, 
  3214.     il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, 
  3215.     kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, 
  3216.     kcuf1=\EOC, kcuu1=\EOA, kend=\E[Y, kent=\EOM, kf0=\EOy, 
  3217.     kf1=\EOP, kf10=\EOY, kf11=\EOZ, kf12=\EOA, kf2=\EOQ, 
  3218.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
  3219.     kf9=\EOX, khome=\E[H, kmous=\E[^_, knp=\E[U, kpp=\E[V, 
  3220.     rc=\E8, reqmp=\E[492Z, rev=\E[7m, ri=\EM, rmacs=^O, 
  3221.     rmcup=\E@0\E[?4r, rmso=\E[m, 
  3222.     rs1=\E>\E[1;3;4;5;6l\E[?7h\E[m\E[r\E[2J\E[H, 
  3223.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  3224.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  3225.     sgr0=\E[m\017, smacs=^N, smcup=\E@0\E[?4s\E[?4h\E@1, 
  3226.     smso=\E[7m, tbc=\E[3g, 
  3227.  
  3228. xtermc|xterm terminal emulator (color), 
  3229.     colors#8, ncv#7, pairs#64, 
  3230.     op=\E[100m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  3231.     setb=\E[4%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  3232.     setf=\E[3%?%p1%{1}%=%t4%e%p1%{3}%=%t6%e%p1%{4}%=%t1%e%p1%{6}%=%t3%e%p1%d%;m, 
  3233.     use=xtermm, 
  3234.  
  3235. # From: David J. MacKenzie <djm@va.pubnix.com> 20 Apr 1995
  3236. # Here's a termcap entry I've been using for xterm_color, which comes
  3237. # with BSD/OS 2.0, and the X11R6 contrib tape too I think.  Besides the
  3238. # color stuff, I also have a status line defined as the window manager
  3239. # title bar. [I have translated it to terminfo -- ESR]
  3240. xterm-pcolor|xterm with color used for highlights and status line, 
  3241.     bold=\E[1m\E[43m, rev=\E[7m\E[34m, smso=\E[7m\E[31m, 
  3242.     smul=\E[4m\E[42m, use=xterm+sl, use=xterm-r6, 
  3243.  
  3244. # HP ships this, except for the pb#9600 which was merged in from BSD termcap.
  3245. # (hpterm: added empty <acsc>, we have no idea what ACS chars look like --esr)
  3246. hpterm|X-hpterm|hp X11 terminal emulator, 
  3247.     am, da, db, mir, xhp, 
  3248.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, pb#9600, xmc#0, 
  3249.     acsc=, bel=^G, bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, 
  3250.     cub1=^H, cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, 
  3251.     cuu1=\EA, dch1=\EP, dim=\E&dH, dl1=\EM, ed=\EJ$<1>, el=\EK, 
  3252.     hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, ind=^J, kbs=^H, 
  3253.     kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  3254.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  3255.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  3256.     khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
  3257.     knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, meml=\El, 
  3258.     memu=\Em, pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
  3259.     pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
  3260.     pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
  3261.     pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rev=\E&dB, ri=\ET, 
  3262.     rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, 
  3263.     rmul=\E&d@, 
  3264.     sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
  3265.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
  3266.     smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  3267.  
  3268. # This entry describes an xterm with Sun-style function keys enabled
  3269. # via the X resource setting "xterm*sunFunctionKeys:true"
  3270. # To understand <kf11>/<kf12> note that L1,L2 and F11,F12 are the same.
  3271. # The <kf13>...<kf20> keys are L3-L10.  We don't set <kf16=\E[197z>
  3272. # because we want it to be seen as <kcpy>. 
  3273. # The <kf31>...<kf45> keys are R1-R15.  We treat some of these in accordance
  3274. # with their Sun keyboard labels instead.
  3275. # From: Simon J. Gerraty <sjg@zen.void.oz.au> 10 Jan 1996
  3276. xterm-sun|xterm with sunFunctionKeys true, 
  3277.     kb2=\E[218z, kcpy=\E[197z, kend=\E[220z, kf1=\E[224z, 
  3278.     kf10=\E[233z, kf11=\E[192z, kf12=\E[193z, kf13=\E[194z, 
  3279.     kf14=\E[195z, kf15=\E[196z, kf17=\E[198z, kf18=\E[199z, 
  3280.     kf19=\E[200z, kf2=\E[225z, kf20=\E[201z, kf3=\E[226z, 
  3281.     kf31=\E[208z, kf32=\E[209z, kf33=\E[210z, kf34=\E[211z, 
  3282.     kf35=\E[212z, kf36=\E[213z, kf38=\E[215z, kf4=\E[227z, 
  3283.     kf40=\E[217z, kf42=\E[219z, kf44=\E[221z, kf5=\E[228z, 
  3284.     kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
  3285.     kfnd=\E[200z, khlp=\E[196z, khome=\E[214z, kich1=\E[2z, 
  3286.     knp=\E[222z, kpp=\E[216z, kund=\E[195z, use=xterm, 
  3287. xterms-sun|small (80x24) xterm with sunFunctionKeys true, 
  3288.     cols#80, lines#24, use=xterm-sun, 
  3289.  
  3290. # This is for the extensible terminal emulator on the X11R6 contrib tape.
  3291. emu|emu native mode, 
  3292.     mir, msgr, xon, 
  3293.     colors#15, cols#80, it#8, lines#24, pairs#64, vt#200, 
  3294.     acsc=61a\202f\260g2j\213k\214l\215m\216n\217o\220q\222s\224t\225u\226v\227w\230x\231~\244, 
  3295.     bel=^G, blink=\ES\EW, bold=\ES\EU, civis=\EZ, 
  3296.     clear=\EP\EE0;0;, cnorm=\Ea, cr=^M, csr=\Ek%p1%d;%p2%d;, 
  3297.     cub=\Eq-%p1%d;, cub1=^H, cud=\Ep%p1%d;, cud1=\EB, 
  3298.     cuf=\Eq%p1%d;, cuf1=\ED, cup=\EE%p1%d;%p2%d;, 
  3299.     cuu=\Ep-%p1%d;, cuu1=\EA, dch=\EI%p1%d;, dch1=\EI1;, 
  3300.     dl=\ER%p1%d;, dl1=\ER1;, ech=\Ej%p1%d;, ed=\EN, el=\EK, 
  3301.     el1=\EL, enacs=\0, home=\EE0;0;, ht=^I, hts=\Eh, 
  3302.     il=\EQ%p1%d;, il1=\EQ1;, ind=\EG, is2=\ES\Er0;\Es0;, 
  3303.     kbs=^H, kcub1=\EC, kcud1=\EB, kcuf1=\ED, kcuu1=\EA, 
  3304.     kdch1=\177, kent=^M, kf0=\EF00, kf1=\EF01, kf10=\EF10, 
  3305.     kf11=\EF11, kf12=\EF12, kf13=\EF13, kf14=\EF14, kf15=\EF15, 
  3306.     kf16=\EF16, kf17=\EF17, kf18=\EF18, kf19=\EF19, kf2=\EF02, 
  3307.     kf20=\EF20, kf3=\EF03, kf4=\EF04, kf5=\EF05, kf6=\EF06, 
  3308.     kf7=\EF07, kf8=\EF08, kf9=\EF09, kfnd=\Efind, kich1=\Eins, 
  3309.     knp=\Enext, kpp=\Eprior, kslt=\Esel, oc=\Es0;\Er0;, 
  3310.     rev=\ES\ET, ri=\EF, rmacs=\0, rmir=\EX, rmso=\ES, rmul=\ES, 
  3311.     rs2=\ES\Es0;\Er0;, setab=\Es%i%p1%d;, 
  3312.     setaf=\Er%i%p1%d;, sgr0=\ES, smacs=\0, smir=\EY, 
  3313.     smso=\ES\ET, smul=\ES\EV, tbc=\Ej, 
  3314.  
  3315. # A commercial product, Reportedly a version of Xterm with an OPEN LOOK UI,
  3316. # print interface, ANSI X3.64 colour escape sequences, etc.  Newsgroup postings
  3317. # indicate that it emulates more than one terminal, but incompletely.
  3318. # This is dapted from a FreeBSD bug-report by Daniel Rudy <dcrudy@pacbell.net>
  3319. # It is based on vt102's entry, with some subtle differences, but also
  3320. #    has status line
  3321. #    supports ANSI colors (except for 'op' string)
  3322. #    apparently implements alternate screen like xterm
  3323. #    does not use padding, of course.
  3324. mvterm|vv100|SwitchTerm aka mvTERM, 
  3325.     am, eslok, hs, km, mir, msgr, xenl, 
  3326.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  3327.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3328.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  3329.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3330.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3331.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3332.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  3333.     dsl=\E[?E, ed=\E[J, el=\E[K, el1=\E[1K$<3>, enacs=\E(B\E)0, 
  3334.     fsl=\E[?F, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  3335.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, ka1=\EOq, 
  3336.     ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  3337.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  3338.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
  3339.     kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, op=\E[100m, rc=\E8, 
  3340.     rev=\E[7m, ri=\EM, rmacs=^O, rmcup=\E[2J\E[?47l\E8, 
  3341.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  3342.     rs2=\E>\E[1;3;4;5;6l\E[?7h\E[100m\E[m\E[r\E[2J\E[H, 
  3343.     sc=\E7, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  3344.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  3345.     sgr0=\E[m\017, smacs=^N, smcup=\E7\E[?47h, 
  3346.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  3347.     tsl=\E[?E\E[?%i%p1%dT, 
  3348. #### MGR
  3349. #
  3350. # MGR is a Bell Labs window system lighter-weight than X.
  3351. # These entries describe MGR's xterm-equivalent. 
  3352. # They are courtesy of Vincent Broman <broman@nosc.mil> 14 Jan 1997 
  3353. #
  3354.  
  3355. mgr|Bellcore MGR (non X) window system terminal emulation, 
  3356.     am, km, 
  3357.     bel=^G, bold=\E2n, civis=\E9h, clear=^L, cnorm=\Eh, cr=^M, 
  3358.     csr=\E%p1%d;%p2%dt, cub1=^H, cud1=\Ef, cuf1=\Er, 
  3359.     cup=\E%p2%d;%p1%dM, cuu1=\Eu, cvvis=\E0h, 
  3360.     dch=\E%p1%dE$<5>, dch1=\EE, dl=\E%p1%dd$<3*>, 
  3361.     dl1=\Ed$<3>, ed=\EC, el=\Ec, hd=\E1;2f, ht=^I, hu=\E1;2u, 
  3362.     ich=\E%p1%dA$<5>, ich1=\EA, il=\E%p1%da$<3*>, 
  3363.     il1=\Ea$<3>, ind=^J, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  3364.     kcuf1=\E[C, kcuu1=\E[A, nel=^M^J, rev=\E1n, rmam=\E5S, 
  3365.     rmso=\E0n, rmul=\E0n, sgr0=\E0n, smam=\E5s, smso=\E1n, 
  3366.     smul=\E4n, 
  3367. mgr-sun|Mgr window with Sun keyboard, 
  3368.     ka1=\E[214z, ka3=\E[216z, kb2=\E[218z, kc1=\E[220z, 
  3369.     kc3=\E[222z, kcpy=\E[197z, kend=\E[220z, kent=\E[250z, 
  3370.     kf1=\E[224z, kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, 
  3371.     kf2=\E[225z, kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, 
  3372.     kf6=\E[229z, kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, 
  3373.     kfnd=\E[200z, khlp=\E[207z, khome=\E[214z, knp=\E[222z, 
  3374.     kopn=\E[198z, kpp=\E[216z, kund=\E[195z, use=mgr, 
  3375. mgr-linux|Mgr window with Linux keyboard, 
  3376.     ka1=\E[H, ka3=\E[5~, kb2=\E[G, kc1=\E[Y, kc3=\E[6~, 
  3377.     kdch1=\E[3~, kend=\E[4~, kf0=\E[[J, kf1=\E[[A, kf10=\E[21~, 
  3378.     kf11=\E[23~, kf12=\E[24~, kf2=\E[[B, kf3=\E[[C, kf4=\E[[D, 
  3379.     kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  3380.     khome=\E[1~, knp=\E[6~, kpp=\E[5~, use=mgr, 
  3381.  
  3382. ######## UNIX VIRTUAL TERMINALS, VIRTUAL CONSOLES, AND TELNET CLIENTS
  3383. #
  3384.  
  3385. # Columbus UNIX virtual terminal. This terminal also appears in 
  3386. # UNIX 4.0 and successors as line discipline 1 (?), but is 
  3387. # undocumented and does not really work quite right.
  3388. cbunix|cb unix virtual terminal, 
  3389.     OTbs, am, da, db, 
  3390.     cols#80, lines#24, lm#0, 
  3391.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  3392.     cup=\EG%p2%c%p1%c, cuu1=\EA, dch1=\EM, dl1=\EN, ed=\EL, 
  3393.     el=\EK, ich1=\EO, il1=\EP, ind=^J, kcub1=\ED, kcud1=\EB, 
  3394.     kcuf1=\EC, kcuu1=\EA, khome=\EE, rmso=\Eb^D, rmul=\Eb^A, 
  3395.     smso=\Ea^D, smul=\Ea^A, 
  3396. # (vremote: removed obsolete ":nl@:" -- esr)
  3397. vremote|virtual remote terminal, 
  3398.     am@, 
  3399.     cols#79, use=cbunix, 
  3400.  
  3401. pty|4bsd pseudo teletype, 
  3402.     cup=\EG%p1%{32}%+%c%p2%{32}%+%c, rmso=\Eb$, rmul=\Eb!, 
  3403.     smso=\Ea$, smul=\Ea!, use=cbunix, 
  3404.  
  3405. # The codes supported by the term.el terminal emulation in GNU Emacs 19.30 
  3406. eterm|gnu emacs term.el terminal emulation, 
  3407.     am, mir, xenl, 
  3408.     cols#80, lines#24, 
  3409.     bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  3410.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3411.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3412.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3413.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  3414.     el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  3415.     il=\E[%p1%dL, il1=\E[L, ind=^J, rev=\E[7m, 
  3416.     rmcup=\E[2J\E[?47l\E8, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
  3417.     sgr0=\E[m, smcup=\E7\E[?47h, smir=\E[4h, smso=\E[7m, 
  3418.     smul=\E[4m, 
  3419.  
  3420. # Entries for use by the `screen' program by Juergen Weigert, 
  3421. # Michael Schroeder, Oliver Laumann.  The screen and
  3422. # screen-w entries came with version 3.7.1.  The screen2 and screen3 entries
  3423. # come from University of Wisconsin and may be older.
  3424. # (screen: added <cnorm> on ANSI model -- esr)
  3425. #
  3426. # 'screen' defines extensions to termcap.  Some are used in its terminal
  3427. # description:
  3428. #      G0   (bool)  Terminal can deal with ISO 2022  font  selection sequences.
  3429. #      AX   (bool)  Does  understand ANSI set default fg/bg color
  3430. #                   (\E[39m / \E[49m).
  3431. #      S0   (str)   Switch charset 'G0' to the specified charset.
  3432. #      E0   (str)   Switch charset 'G0' back to standard charset.
  3433. #
  3434. # tested with screen 3.09.08
  3435. screen|VT 100/ANSI X3.64 virtual terminal, 
  3436.     OTbs, OTpt, am, km, mir, msgr, xenl, G0, 
  3437.     colors#8, cols#80, it#8, lines#24, pairs#64, 
  3438.     acsc=++\,\,--..00``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3439.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  3440.     clear=\E[H\E[J, cnorm=\E[34h\E[?25h, cr=^M, 
  3441.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3442.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3443.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  3444.     cvvis=\E[34l, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  3445.     dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  3446.     flash=\Eg, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  3447.     il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcbt=\E[Z, 
  3448.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  3449.     kdch1=\E[3~, kend=\E[4~, kf1=\EOP, kf10=\E[21~, 
  3450.     kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  3451.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  3452.     khome=\E[1~, kich1=\E[2~, kmous=\E[M, knp=\E[6~, kpp=\E[5~, 
  3453.     nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmir=\E[4l, 
  3454.     rmkx=\E[?1l\E>, rmso=\E[23m, rmul=\E[24m, rs2=\Ec, sc=\E7, 
  3455.     sgr0=\E[m, smacs=^N, smir=\E[4h, smkx=\E[?1h\E=, 
  3456.     smso=\E[3m, smul=\E[4m, tbc=\E[3g, E0=\E(B, S0=\E(%p1%c, 
  3457.     use=ecma+color, 
  3458.  
  3459. # Read the fine manpage:
  3460. #       When  screen  tries  to  figure  out  a  terminal name for
  3461. #       itself, it first looks for an entry named "screen.<term>",
  3462. #       where  <term>  is the contents of your $TERM variable.  If
  3463. #       no such entry exists, screen tries "screen" (or "screen-w"
  3464. #       if the terminal is wide (132 cols or more)).  If even this
  3465. #       entry cannot be found, "vt100" is used as a substitute.
  3466. #
  3467. # Here are a few customized entries which are useful -TD
  3468. #
  3469. # Notes:
  3470. # (a)    screen does not support invis.
  3471. # (b)    screen's implementation of bw is incorrect according to tack.
  3472. # (c)    screen appears to hardcode the strings for khome/kend, making it
  3473. #    necessary to override the "use=" clause's values.
  3474. # (d)    screen sets $TERMCAP to a termcap-formatted copy of the 'screen' entry,
  3475. #    which is NOT the same as the terminfo screen.<term>.
  3476. # (e)    when screen finds one of these customized entries, it sets $TERM to
  3477. #    match.  Hence, no "screen.xterm" entry is provided, since that would
  3478. #    create heartburn for people running remote xterm's.
  3479. #
  3480. #    xterm (-xfree86 or -r6) does not normally support kIC, kNXT and kPRV
  3481. #    since the default translations override the built-in keycode
  3482. #    translation.  They are suppressed here to show what is tested by tack.
  3483. screen.xterm-xfree86|screen customized for XFree86 xterm, 
  3484.     bce@, bw, 
  3485.     invis@, kIC@, kNXT@, kPRV@, kend=\E[4~, khome=\E[1~, meml@, 
  3486.     memu@, 
  3487.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  3488.     use=xterm-xfree86, 
  3489. # xterm-r6 does not really support khome/kend unless it is propped up by
  3490. # the translations resource.
  3491. screen.xterm-r6|screen customized for X11R6 xterm, 
  3492.     bw, use=xterm-r6, 
  3493. # Color applications running in screen and TeraTerm do not play well together
  3494. # on Solaris.
  3495. screen.teraterm|disable ncv in teraterm, 
  3496.     ncv#127, use=screen, 
  3497.  
  3498. screen-w|VT 100/ANSI X3.64 virtual terminal with 132 cols, 
  3499.     cols#132, use=screen, 
  3500.  
  3501. screen2|old VT 100/ANSI X3.64 virtual terminal, 
  3502.     cols#80, it#8, lines#24, 
  3503.     cbt=\E[Z, clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  3504.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  3505.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3506.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  3507.     el=\E[K, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=, il=\E[%p1%dL, 
  3508.     il1=\E[L, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  3509.     kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  3510.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
  3511.     nel=^M^J, rc=\E8, ri=\EM, rmir=\E[4l, rmso=\E[23m, 
  3512.     rmul=\E[24m, rs1=\Ec, sc=\E7, sgr0=\E[m, smir=\E[4h, 
  3513.     smso=\E[3m, smul=\E[4m, tbc=\E[3g, 
  3514. # (screen3: removed unknown ":xv:LP:G0:" -- esr)
  3515. screen3|older VT 100/ANSI X3.64 virtual terminal, 
  3516.     km, mir, msgr, 
  3517.     cols#80, it#8, lines#24, 
  3518.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  3519.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3520.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3521.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  3522.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  3523.     el=\E[K, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  3524.     il=\E[%p1%dL, il1=\E[L, ind=^J, is2=\E)0, kbs=^H, kcub1=\EOD, 
  3525.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
  3526.     kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  3527.     rmir=\E[4l, rmkx=\E>, rmso=\E[23m, rmul=\E[24m, rs1=\Ec, 
  3528.     sc=\E7, sgr0=\E[m, smir=\E[4h, smkx=\E=, smso=\E[3m, 
  3529.     smul=\E[4m, tbc=\E[3g, 
  3530.  
  3531. # Francesco Potorti <F.Potorti@cnuce.cnr.it>:
  3532. # NCSA telnet is one of the most used telnet clients for the Macintosh.  It has
  3533. # been maintained until recently by the National Center for Supercomputer
  3534. # Applications, and it is feature rich, stable and free.  It can be downloaded
  3535. # from www.ncsa.edu.  This terminfo description file is based on xterm-vt220,
  3536. # xterm+sl, and the docs at NCSA.  It works well.
  3537. #
  3538. # NCSA Telnet 2.6 for Macintosh in vt220 8-bit emulation mode
  3539. # The terminal options should be set as follows:
  3540. #         Xterm sequences ON
  3541. #         use VT wrap mode ON
  3542. #         use Emacs arrow keys OFF
  3543. #         CTRL-COMND is Emacs meta ON
  3544. #         8 bit mode ON
  3545. #         answerback string: "ncsa-vt220-8"
  3546. #         setup keys: all disabled
  3547. #
  3548. # Application mode is not used.
  3549. #
  3550. # Other special mappings:
  3551. #    Apple        VT220
  3552. #    HELP         Find
  3553. #    HOME        Insert here
  3554. #    PAGEUP        Remove
  3555. #    DEL        Select
  3556. #    END        Prev Screen
  3557. #    PAGEDOWN    Next Screen
  3558. #
  3559. # Though it supports ANSI color, NCSA Telnet uses color to represent blinking
  3560. # text.
  3561. #
  3562. # The status-line manipulation is a mapping of the xterm-compatible control
  3563. # sequences for setting the window-title.  So you must use tsl and fsl in
  3564. # pairs, since the latter ends the string that is loaded to the window-title.
  3565. ncsa-m|ncsa-vt220-8|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
  3566.     am, hs, km, mir, msgr, xenl, 
  3567.     acsc=``aaffggiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3568.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  3569.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  3570.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3571.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3572.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3573.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  3574.     dsl=\E]0;\007, ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, 
  3575.     flash=\E[?5h\E[?5l, fsl=^G, home=\E[H, ht=^I, hts=\EH, 
  3576.     ich=\E[%p1%d@, if=/usr/share/tabset/vt100, 
  3577.     il=\E[%p1%dL, il1=\E[L, ind=\n$<150*>, 
  3578.     is2=\E7\E[r\E[m\E[?7h\E[?1;4;6l\E[4l\E8\E>, kbs=^H, 
  3579.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  3580.     kdch1=\E[4~, kend=\E[5~, kf1=\E[17~, kf10=\E[28~, 
  3581.     kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, kf14=\E[33~, 
  3582.     kf15=\E[34~, kf2=\E[18, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, 
  3583.     kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khlp=\E[1~, 
  3584.     khome=\E[2~, knp=\E[6~, kpp=\E[3~, mc4=\E[4i, mc5=\E[5i, 
  3585.     rc=\E8, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EM, 
  3586.     rmacs=^O, rmam=\E[?7l, rmcup=\E[2J\E8, rmir=\E[4l, 
  3587.     rmso=\E[27m, rmul=\E[24m, 
  3588.     rs2=\E7\E[r\E8\E[m\E[?7h\E[?1;4;6l\E[4l\E>, sc=\E7, 
  3589.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%|%t;7%;m%?%p9%t\E(0%e\E(B%;, 
  3590.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E7, 
  3591.     smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, tsl=\E]0;, 
  3592.     u6=\E[%i%d;%dR, u7=\E[6n, u8=\E[?62;1;6c, u9=\E[c, 
  3593. ncsa|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
  3594.     use=ncsa-m, use=klone+color, 
  3595. ncsa-ns|NCSA Telnet 2.7 for Macintosh in vt220-8 mode, 
  3596.     hs@, 
  3597.     dsl@, fsl@, tsl@, use=ncsa, 
  3598. ncsa-m-ns|NCSA Telnet 2.6 for Macintosh in vt220-8 mode, 
  3599.     hs@, 
  3600.     dsl@, fsl@, tsl@, use=ncsa-m, 
  3601. # alternate -TD:
  3602. # The documented function-key mapping refers to the Apple Extended Keyboard
  3603. # (e.g., NCSA Telnet's F1 corresponds to a VT220 F6).  We use the VT220-style
  3604. # codes, however, since the numeric keypad (VT100) PF1-PF4 are available on
  3605. # some keyboards and many applications require these as F1-F4.
  3606. #
  3607. ncsa-vt220|NCSA Telnet using vt220-compatible function keys, 
  3608.     kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  3609.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  3610.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  3611.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  3612.     kf8=\E[19~, kf9=\E[20~, use=ncsa, 
  3613.  
  3614. #### Pilot Pro Palm-Top
  3615. #
  3616. # Termcap for Top Gun Telnet and SSH on the Palm Pilot.
  3617. # http://www.isaac.cs.berkeley.edu/pilot/tgtelnet.html
  3618. pilot|tgtelnet|Top Gun Telnet on the Palm Pilot Professional, 
  3619.     OTbs, am, xenl, 
  3620.     cols#39, lines#16, 
  3621.     bel=^G, clear=\Ec, cr=^M, cub1=^H, cud1=^J, 
  3622.     cup=\Em%p1%{32}%+%c%p2%{32}%+%c, home=\Em\s\s, ht=^I, 
  3623.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, knp=^L, kpp=^K, nel=\Em~\s, 
  3624.     rmso=\EB, smso=\Eb, 
  3625.  
  3626. # From: Federico Bianchi <bianchi@www.arte.unipi.it>
  3627. # These entries are for the Embeddable Linux Kernel System (ELKS)
  3628. # project - an heavily stripped down Linux to be run on 16 bit
  3629. # boxes or, eventually, to be used in embedded systems - and have been
  3630. # adapted from the stock ELKS termcap. The project itself looks stalled,
  3631. # and the latest improvements I know of date back to March 2000.
  3632. #
  3633. # To cope with the ELKS dumb console I added an "elks-glasstty" entry;
  3634. # as an added bonus, this deals with all the capabilities common to
  3635. # both VT52 and ANSI (or, eventually, "special") modes.
  3636.  
  3637. elks-glasstty|ELKS glass-TTY capabilities, 
  3638.     OTbs, am, 
  3639.     cols#80, it#8, lines#25, 
  3640.     bel=^G, cr=^M, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  3641.     nel=^M^J, 
  3642.  
  3643. elks-vt52|ELKS vt52 console, 
  3644.     clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
  3645.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, el=\EK, 
  3646.     home=\EH, use=elks-glasstty, 
  3647.  
  3648. elks-ansi|ELKS ANSI console, 
  3649.     clear=\E[H\E[2J, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  3650.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  3651.     rmso=\E[m, smso=\E[7m, use=elks-glasstty, 
  3652.  
  3653. # As a matter of fact, ELKS 0.0.83 on PCs defaults to ANSI emulation
  3654. # instead of VT52, but the "elks" entry still refers to the latter.
  3655.  
  3656. elks|default ELKS console, 
  3657.     use=elks-vt52, 
  3658.  
  3659. # Project SIBO (for Psion 3 palmtops) console is identical to the ELKS
  3660. # one but in screen size
  3661.  
  3662. sibo|ELKS SIBO console, 
  3663.     cols#61, it#8, lines#20, use=elks-vt52, 
  3664.  
  3665. ######## COMMERCIAL WORKSTATION CONSOLES
  3666. #
  3667.  
  3668. #### Alpha consoles
  3669. #
  3670.  
  3671. # This is from the OSF/1 Release 1.0 termcap file
  3672. pccons|pcconsole|ANSI (mostly) Alpha PC console terminal emulation, 
  3673.     am, xon, 
  3674.     cols#80, lines#25, 
  3675.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  3676.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  3677.     el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, kbs=^H, 
  3678.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  3679.     nel=^M^J, rev=\E[7m, rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
  3680.  
  3681. #### Sun consoles
  3682. #
  3683.  
  3684. # :is1: resets scrolling region in case a previous user had used "tset vt100"
  3685. oldsun|Sun Microsystems Workstation console, 
  3686.     OTbs, am, km, mir, msgr, 
  3687.     cols#80, it#8, lines#34, 
  3688.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  3689.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  3690.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
  3691.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  3692.     is1=\E[1r, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  3693.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  3694.     rmso=\E[m, sgr0=\E[m, smso=\E[7m, 
  3695. # From: Alexander Lukyanov <lav@video.yars.free.net>, 14 Nov 1995
  3696. # <lines> capability later corrected by J.T. Conklin <jtc@cygnus.com>
  3697. # SGR 1, 4 aren't supported - removed bold/underline (T.Dickey 17 Jan 1998)
  3698. sun-il|Sun Microsystems console with working insert-line, 
  3699.     am, km, msgr, 
  3700.     cols#80, lines#34, 
  3701.     bel=^G, bold@, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  3702.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  3703.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, ht=^I, 
  3704.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  3705.     kb2=\E[218z, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  3706.     kcuu1=\E[A, kdch1=\177, kend=\E[220z, kf1=\E[224z, 
  3707.     kf10=\E[233z, kf11=\E[234z, kf12=\E[235z, kf2=\E[225z, 
  3708.     kf3=\E[226z, kf4=\E[227z, kf5=\E[228z, kf6=\E[229z, 
  3709.     kf7=\E[230z, kf8=\E[231z, kf9=\E[232z, khome=\E[214z, 
  3710.     knp=\E[222z, kopt=\E[194z, kpp=\E[216z, kres=\E[193z, 
  3711.     kund=\E[195z, rev=\E[7m, rmso=\E[m, rmul@, rs2=\E[s, 
  3712.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
  3713.     sgr0=\E[m, smso=\E[7m, smul@, u8=\E[1t, u9=\E[11t, 
  3714. # On some versions of CGSIX framebuffer firmware (SparcStation 5), <il1>/<il>
  3715. # flake out on the last line.  Unfortunately, without them the terminal has no
  3716. # way to scroll.
  3717. sun-cgsix|sun-ss5|Sun SparcStation 5 console, 
  3718.     il@, il1@, use=sun-il, 
  3719. # If you are using an SS5, change the sun definition to use sun-ss5.
  3720. sun|sun1|sun2|Sun Microsystems Inc. workstation console, 
  3721.     use=sun-il, 
  3722.  
  3723. # From: <john@ucbrenoir>  Tue Sep 24 13:14:44 1985
  3724. sun-s|Sun Microsystems Workstation window with status line, 
  3725.     hs, 
  3726.     dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun, 
  3727. sun-e-s|sun-s-e|Sun Microsystems Workstation with status hacked for emacs, 
  3728.     hs, 
  3729.     dsl=\E]l\E\\, fsl=\E\\, tsl=\E]l, use=sun-e, 
  3730. sun-48|Sun 48-line window, 
  3731.     cols#80, lines#48, use=sun, 
  3732. sun-34|Sun 34-line window, 
  3733.     cols#80, lines#34, use=sun, 
  3734. sun-24|Sun 24-line window, 
  3735.     cols#80, lines#24, use=sun, 
  3736. sun-17|Sun 17-line window, 
  3737.     cols#80, lines#17, use=sun, 
  3738. sun-12|Sun 12-line window, 
  3739.     cols#80, lines#12, use=sun, 
  3740. sun-1|Sun 1-line window for sysline, 
  3741.     eslok, hs, 
  3742.     cols#80, lines#1, 
  3743.     dsl=^L, fsl=\E[K, tsl=^M, use=sun, 
  3744. sun-e|sun-nic|sune|Sun Microsystems Workstation without insert character, 
  3745.     ich1@, rmir@, smir@, use=sun, 
  3746. sun-c|sun-cmd|Sun Microsystems Workstation console with scrollable history, 
  3747.     lines#35, 
  3748.     rmcup=\E[>4h, smcup=\E[>4l, use=sun, 
  3749.  
  3750. #### Iris consoles
  3751. #
  3752.  
  3753. # (wsiris: this had extension capabilities
  3754. #    :HS=\E7F2:HE=\E7F7:\
  3755. #    :CT#2:CZ=*Bblack,red,green,yellow,blue,magenta,cyan,*Fwhite:
  3756. # See the note on Iris extensions near the end of this file.  
  3757. # Finally, removed suboptimal <clear>=\EH\EJ and added <cud1> & 
  3758. # <flash> from BRL -- esr)
  3759. wsiris|iris40|iris emulating a 40 line visual 50 (approximately), 
  3760.     OTbs, OTnc, OTpt, am, 
  3761.     OTkn#3, cols#80, it#8, lines#40, 
  3762.     OTnl=\EB, bel=^G, clear=\Ev, cnorm=\E>, cub1=^H, cud1=\EB, 
  3763.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  3764.     cvvis=\E;, dim=\E7F2, dl1=\EM, ed=\EJ, el=\EK, 
  3765.     flash=\E7F4\E7B1\013\E7F7\E7B0, home=\EH, ht=^I, il1=\EL, 
  3766.     ind=^J, is2=\E7B0\E7F7\E7C2\E7R3, kcub1=\ED, kcud1=\EB, 
  3767.     kcuf1=\EC, kcuu1=\EA, kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, 
  3768.     kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, kf9=\E9, ri=\EI, 
  3769.     rmso=\E0@, rmul=\E7R3\E0@, sgr0=\E7F7, smso=\E9P, 
  3770.     smul=\E7R2\E9P, 
  3771.  
  3772. #### NeWS consoles
  3773. #
  3774. # Console terminal windows under the NeWS (Sun's Display Postscript windowing
  3775. # environment).   Note: these have nothing to do with Sony's News workstation
  3776. # line.
  3777. #
  3778.  
  3779. # Entry for NeWS's psterm from Eric Messick & Hugh Daniel
  3780. # (psterm: unknown ":sl=\EOl:el=\ENl:" removed -- esr)
  3781. psterm|psterm-basic|NeWS psterm-80x34, 
  3782.     OTbs, am, hs, km, ul, 
  3783.     cols#80, it#8, lines#34, 
  3784.     blink=\EOb, bold=\EOd, clear=^L, csr=\EE%p1%d;%p2%d;, 
  3785.     cub1=\ET, cud1=\EP, cuf1=\EV, cup=\E%p1%d;%p2%d;, cuu1=\EY, 
  3786.     dch1=\EF, dl1=\EK, ed=\EB, el=\EC, flash=\EZ, fsl=\ENl, 
  3787.     home=\ER, ht=^I, il1=\EA, ind=\EW, is1=\EN*, kcub1=\E[D, 
  3788.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ll=\EU, rc=^\, rev=\EOr, 
  3789.     ri=\EX, rmcup=\ENt, rmir=\ENi, rmso=\ENo, rmul=\ENu, sc=^], 
  3790.     sgr0=\EN*, smcup=\EOt, smir=\EOi, smso=\EOo, smul=\EOu, 
  3791.     tsl=\EOl, 
  3792. psterm-96x48|NeWS psterm 96x48, 
  3793.     cols#96, lines#48, use=psterm, 
  3794. psterm-90x28|NeWS psterm 90x28, 
  3795.     cols#90, lines#28, use=psterm, 
  3796. psterm-80x24|NeWS psterm 80x24, 
  3797.     cols#80, lines#24, use=psterm, 
  3798. # This is a faster termcap for psterm.  Warning:  if you use this termcap,
  3799. # some control characters you type will do strange things to the screen.
  3800. # (psterm-fast: unknown ":sl=^Ol:el=^Nl:" -- esr)
  3801. psterm-fast|NeWS psterm fast version (flaky ctrl chars), 
  3802.     OTbs, am, hs, km, ul, 
  3803.     cols#80, it#8, lines#34, 
  3804.     blink=^Ob, bold=^Od, clear=^L, csr=\005%p1%d;%p2%d;, 
  3805.     cub1=^T, cud1=^P, cuf1=^V, cup=\004%p1%d;%p2%d;, cuu1=^Y, 
  3806.     dch1=^F, dl1=^K, ed=^B, el=^C, flash=^Z, fsl=^Nl, home=^R, ht=^I, 
  3807.     il1=^A, ind=^W, is1=^N*, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  3808.     kcuu1=\E[A, ll=^U, rc=^\, rev=^Or, ri=^X, rmcup=^Nt, rmir=^Ni, 
  3809.     rmso=^No, rmul=^Nu, sc=^], sgr0=^N*, smcup=^Ot, smir=^Oi, 
  3810.     smso=^Oo, smul=^Ou, tsl=^Ol, 
  3811.  
  3812. #### NeXT consoles
  3813. #
  3814. # Use `glasstty' for the Workspace application
  3815. #
  3816.  
  3817. # From: Dave Wetzel <dave@turbocat.snafu.de> 22 Dec 1995
  3818. next|NeXT console, 
  3819.     am, xt, 
  3820.     cols#80, it#8, lines#24, 
  3821.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  3822.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  3823.     ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  3824.     rmso=\E[4;1m, sgr0=\E[m, smso=\E[4;2m, 
  3825. nextshell|NeXT Shell application, 
  3826.     am, 
  3827.     cols#80, 
  3828.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, kbs=^H, kcub1=^H, 
  3829.     kcud1=^J, nel=^M^J, 
  3830.  
  3831. #### Sony NEWS workstations
  3832. #
  3833.  
  3834. # (news-unk: this had :KB=news: -- esr)
  3835. news-unk|SONY NEWS vt100 emulator common entry, 
  3836.     OTbs, OTpt, am, xenl, 
  3837.     cols#80, 
  3838.     OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
  3839.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  3840.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
  3841.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  3842.     if=/usr/share/tabset/vt100, il=\E[%p1%dL, il1=\E[L, 
  3843.     is2=\E[?7h\E[?1l\E[?3l\E7\E8, kbs=^H, kcub1=\EOD, 
  3844.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOY, kf1=\EOP, 
  3845.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, 
  3846.     kf8=\EOW, kf9=\EOX, rc=\E8, rev=\E[7m, ri=\EM, 
  3847.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  3848.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[r, sc=\E7, 
  3849.     sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  3850. #
  3851. # (news-29: this had :TY=ascii: --esr)
  3852. news-29, 
  3853.     lines#29, use=news-unk, 
  3854. # (news-29-euc: this had :TY=euc: --esr)
  3855. news-29-euc, 
  3856.     use=news-29, 
  3857. # (news-29-sjis: this had :TY=sjis: --esr)
  3858. news-29-sjis, 
  3859.     use=news-29, 
  3860. #
  3861. # (news-33: this had :TY=ascii: --esr)
  3862. news-33, 
  3863.     lines#33, use=news-unk, 
  3864. # (news-33-euc: this had :TY=euc: --esr)
  3865. news-33-euc, 
  3866.     use=news-33, 
  3867. # (news-33-sjis: this had :TY=sjis: --esr)
  3868. news-33-sjis, 
  3869.     use=news-33, 
  3870. #
  3871. # (news-42: this had :TY=ascii: --esr)
  3872. news-42, 
  3873.     lines#42, use=news-unk, 
  3874. # (news-42-euc: this had :TY=euc: --esr)
  3875. news-42-euc, 
  3876.     use=news-42, 
  3877. # (news-42-sjis: this had :TY=sjis: --esr)
  3878. news-42-sjis, 
  3879.     use=news-42, 
  3880. #
  3881. #    NEWS-OS old termcap entry 
  3882. #
  3883. # (news-old-unk: this had :KB=news:TY=sjis: --esr)
  3884. news-old-unk|SONY NEWS vt100 emulator common entry, 
  3885.     OTbs, OTpt, am, xenl, 
  3886.     cols#80, vt#3, 
  3887.     OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, 
  3888.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  3889.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  3890.     home=\E[H, ht=^I, if=/usr/share/tabset/vt100, kbs=^H, 
  3891.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  3892.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, ri=\EM, 
  3893.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  3894.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  3895.     sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  3896. #
  3897. # (nwp512: this had :DE=^H:, which I think means <OTbs> --esr)
  3898. nwp512|news|nwp514|news40|vt100-bm|old sony vt100 emulator 40 lines, 
  3899.     OTbs, 
  3900.     lines#40, 
  3901.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, 
  3902.     use=news-old-unk, 
  3903. #
  3904. # (nwp512-a: this had :TY=ascii: and the alias vt100-bm --esr)
  3905. nwp512-a|nwp514-a|news-a|news42|news40-a|sony vt100 emulator 42 line, 
  3906.     lines#42, 
  3907.     is2=\E[?7h\E[?1l\E[?3l\E7\E[1;42r\E8, 
  3908.     use=news-old-unk, 
  3909. #
  3910. # (nwp-512-o: this had :KB=nwp410:DE=^H:  I interpret the latter as <OTbs>. --esr)
  3911. nwp512-o|nwp514-o|news-o|news40-o|vt100-bm-o|sony vt100 emulator 40 lines, 
  3912.     OTbs, 
  3913.     lines#40, 
  3914.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;40r\E8, 
  3915.     use=news-old-unk, 
  3916. #
  3917. # (nwp513: this had :DE=^H: and the alias vt100-bm --esr)
  3918. nwp513|nwp518|nwe501|newscbm|news31|sony vt100 emulator 33 lines, 
  3919.     OTbs, 
  3920.     lines#31, 
  3921.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, 
  3922.     use=news-old-unk, 
  3923. #
  3924. # (nwp513-a: this had :TY=ascii: and :DE=^H:, which I interpret as <OTbs>; --esr)
  3925. # also the alias vt100-bm.
  3926. nwp513-a|nwp518-a|nwe501-a|nwp251-a|newscbm-a|news31-a|newscbm33|news33|old sony vt100 emulator 33 lines, 
  3927.     OTbs, 
  3928.     lines#33, 
  3929.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;33r\E8, 
  3930.     use=news-old-unk, 
  3931. #
  3932. # (nwp513-o: had :DE=^H:, I think that's <OTbs>; also the alias vt100-bm --esr)
  3933. nwp513-o|nwp518-o|nwe501-o|nwp251-o|newscbm-o|news31-o|old sony vt100 emulator 33 lines, 
  3934.     OTbs, 
  3935.     lines#31, 
  3936.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;31r\E8, 
  3937.     use=news-old-unk, 
  3938. #
  3939. # (news28: this had :DE=^H:, I think that's <OTbs>, and :KB=nws1200: --esr)
  3940. news28|sony vt100 emulator 28 lines, 
  3941.     OTbs, 
  3942.     lines#28, 
  3943.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;28r\E8, 
  3944.     use=news-old-unk, 
  3945. #
  3946. # (news29: this had :TY=ascii:KB=nws1200:\ --esr)
  3947. news29|news28-a|sony vt100 emulator 29 lines, 
  3948.     lines#29, 
  3949.     is2=\E7\E[r\E8\EE\EE\EE\EM\EM\EM\E[?7h\E[?1l\E[?3l\E7\E[1;29r\E8, 
  3950.     use=news-old-unk, 
  3951. #
  3952. # (news511: this had :TY=sjis: --esr)
  3953. nwp511|nwp-511|nwp-511 vt100, 
  3954.     OTbs, OTpt, am, xenl, 
  3955.     cols#80, lines#24, 
  3956.     clear=\E[;H\E[2J$<20/>, cuf1=\E[C, 
  3957.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A$<2/>, dl1=\E[M, 
  3958.     ed=\E[J$<30/>, el=\E[K$<3/>, 
  3959.     flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
  3960.     il1=\E[L, is2=\E[?5l\E[?1l\E>\E[?7h\E[?8h, kcub1=\E[D, 
  3961.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
  3962.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\E#W, khome=\E[H, 
  3963.     ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
  3964.     rs2=\E7\E[r\E8\E[?5l\E[?1l\E>\E[?7h\E[?8h, 
  3965.     smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  3966. # (news517: this had :TY=sjis:. --esr)
  3967. nwp517|nwp-517|nwp-517 vt200 80 cols 30 rows, 
  3968.     eslok, hs, 
  3969.     cols#80, lines#30, 
  3970.     OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$}, 
  3971.     is2=\E7\E[r\E8\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  3972.     tsl=\E[1$}\E[;%df, use=vt200, 
  3973. # (news517-w: this had :TY=sjis:. --esr)
  3974. nwp517-w|nwp-517-w|nwp-517 vt200 132 cols 50 rows, 
  3975.     eslok, hs, 
  3976.     cols#132, lines#50, 
  3977.     OTi2=\E[2$~\n, dsl=\E[1$~, fsl=\E[0$}, 
  3978.     is2=\E7\E[r\E8\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
  3979.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, 
  3980.     tsl=\E[1$}\E[;%df, use=vt200, 
  3981.  
  3982. #### Common Desktop Environment
  3983. #
  3984.  
  3985. # This ships with Sun's CDE in Solaris 2.5
  3986. # Corrected Sun Aug 9 1998 by Alexander V. Lukyanov <lav@video.yars.free.net>
  3987. dtterm|CDE desktop terminal, 
  3988.     am, mir, msgr, xenl, xon, 
  3989.     cols#80, it#8, lines#24, lm#0, ncv@, 
  3990.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  3991.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  3992.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  3993.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  3994.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  3995.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  3996.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  3997.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, el1=\E[1K, 
  3998.     enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, home=\E[H, 
  3999.     ht=^I, hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  4000.     ind=\ED, invis=\E[8m, is2=\E F\E>\E[?1l\E[?7h\E[?45l, 
  4001.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  4002.     kdch1=\E[3~, kf1=\E[11~, kf10=\E[21~, kf11=\E[23~, 
  4003.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  4004.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  4005.     kf2=\E[12~, kf20=\E[34~, kf3=\E[13~, kf4=\E[14~, 
  4006.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  4007.     kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  4008.     kslt=\E[4~, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
  4009.     rmam=\E[?7l, rmir=\E[4l, rmso=\E[22;27m, rmul=\E[24m, 
  4010.     sc=\E7, 
  4011.     sgr=\E[0%?%p1%t;2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  4012.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  4013.     smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, use=ecma+color, 
  4014.  
  4015. #### Non-Unix Consoles
  4016. #
  4017.  
  4018. # Except for the "-emx" suffixes, these are as distributed with EMX 0.9b,
  4019. # a Unix-style environment used on OS/2.  (Note that the suffix makes some
  4020. # names longer than 14 characters, the nominal maximum).
  4021. #
  4022. # Removed: rmacs=\E[10m, smacs=\E[11m, because OS/2 does not implement acs.
  4023. ansi-emx|ANSI.SYS color, 
  4024.     am, bce, eo, mir, msgr, xenl, xon, 
  4025.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  4026.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  4027.     clear=\E[1;33;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
  4028.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  4029.     dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
  4030.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
  4031.     kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
  4032.     kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
  4033.     kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
  4034.     knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[5;37;41m, 
  4035.     rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;44m\E[1;33m, 
  4036.     rmul=\E[0;44m\E[1;33m, rs1=\Ec, setab=\E[4%p1%dm, 
  4037.     setaf=\E[3%p1%dm, sgr0=\E[0m\E[1;33;44m, smir=\E[4h, 
  4038.     smpch=\E[11m, smso=\E[0;31;47m, smul=\E[1;31;44m, 
  4039.     tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
  4040. ansi-color-2-emx|ANSI.SYS color 2, 
  4041.     am, bce, eo, mir, msgr, xenl, xon, 
  4042.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  4043.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  4044.     clear=\E[0;37;44m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
  4045.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  4046.     dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
  4047.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
  4048.     kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
  4049.     kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
  4050.     kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
  4051.     knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
  4052.     rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;44m, 
  4053.     rmul=\E[0;37;44m, rs1=\Ec, setab=\E[4%p1%dm, 
  4054.     setaf=\E[3%p1%dm, sgr0=\E[0;37;44m, smir=\E[4h, 
  4055.     smpch=\E[11m, smso=\E[1;37;46m, smul=\E[1;36;44m, 
  4056.     tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
  4057. ansi-color-3-emx|ANSI.SYS color 3, 
  4058.     am, bce, eo, mir, msgr, xenl, xon, 
  4059.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  4060.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  4061.     clear=\E[0;37;40m\E[H\E[J, cnorm=\E[?25h, cr=^M, cub1=^H, 
  4062.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  4063.     dch=\E[%p1%dp, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, 
  4064.     home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, ind=^J, 
  4065.     kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, kcuu1=\0H, 
  4066.     kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, kf5=\0?, kf6=\0@, 
  4067.     kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, kich1=\0R, kll=\0O, 
  4068.     knp=\0Q, kpp=\0I, kspd=^Z, nel=^M^J, rev=\E[1;37;46m, 
  4069.     rmir=\E[4l, rmpch=\E[10m, rmso=\E[0;37;40m, 
  4070.     rmul=\E[0;37;40m, rs1=\Ec, setab=\E[4%p1%dm, 
  4071.     setaf=\E[3%p1%dm, sgr0=\E[0;10m, smir=\E[4h, 
  4072.     smpch=\E[11m, smso=\E[1;37;46m, smul=\E[0;36;40m, 
  4073.     tbc=\E[3g, u8=\E[?6c, u9=\E[c, 
  4074. mono-emx|stupid monochrome ansi terminal with only one kind of emphasis, 
  4075.     am, 
  4076.     cols#80, it#8, lines#24, 
  4077.     clear=\E[H\E[2J$<50>, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  4078.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  4079.     ht=^I, kb2=\E[G, kbs=^H, kcub1=\0K, kcud1=\0P, kcuf1=\0M, 
  4080.     kcuu1=\0H, kf0=\0D, kf1=\0;, kf2=\0<, kf3=\0=, kf4=\0>, 
  4081.     kf5=\0?, kf6=\0@, kf7=\0A, kf8=\0B, kf9=\0C, khome=\0G, 
  4082.     kich1=\0R, kll=\0O, knp=\0Q, kpp=\0I, nel=^M^J, rev=\E[7m, 
  4083.     sgr0=\E[0m, 
  4084.  
  4085. # Use this for cygwin32 (tested with beta 19.1)
  4086. # underline is colored bright magenta
  4087. # shifted kf1-kf12 are kf11-kf22
  4088. cygwinB19|ansi emulation for cygwin32, 
  4089.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  4090.     kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, kf10=\E[21~, 
  4091.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  4092.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  4093.     kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, kf3=\E[[C, kf4=\E[[D, 
  4094.     kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  4095.     khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, rmam@, smam@, 
  4096.     use=ansi.sys, 
  4097.  
  4098. # Use this for cygwin (tested with version 1.1.0).
  4099. # I've combined pcansi and linux.  Some values of course were different and
  4100. # I've indicated which of these were and which I used.
  4101. # Cheers, earnie_boyd@yahoo.com
  4102. # several changes based on running with tack and comparing with older entry -TD
  4103. cygwin|ansi emulation for Cygwin, 
  4104.     am, eo, in, msgr, xon, 
  4105.     colors#8, cols#80, it#8, lines#25, ncv#3, pairs#64, 
  4106.     acsc=+\020\,\021-\030.^Y0\333`\004a\261f\370g\361h\260j\331k\277l\332m\300n\305o~p\304q\304r\304s_t\303u\264v\301w\302x\263y\363z\362{\343|\330}\234~\376, 
  4107.     bel=^G, bold=\E[1m, clear=\E[H\E[J, cr=^M, cub1=^H, 
  4108.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  4109.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  4110.     el=\E[K, el1=\E[1K, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, 
  4111.     hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  4112.     ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  4113.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kend=\E[4~, kf1=\E[[A, 
  4114.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  4115.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  4116.     kf18=\E[32~, kf19=\E[33~, kf2=\E[[B, kf20=\E[34~, 
  4117.     kf3=\E[[C, kf4=\E[[D, kf5=\E[[E, kf6=\E[17~, kf7=\E[18~, 
  4118.     kf8=\E[19~, kf9=\E[20~, khome=\E[1~, kich1=\E[2~, 
  4119.     knp=\E[6~, kpp=\E[5~, kspd=^Z, nel=^M^J, op=\E[39;49m, 
  4120.     rc=\E8, rev=\E[7m, ri=\EM, rmir=\E[4l, rmpch=\E[10m, 
  4121.     rmso=\E[27m, rmul=\E[24m, rs1=\Ec\E]R, sc=\E7, 
  4122.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  4123.     sgr=\E[0;10%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;%?%p9%t;11%;m, 
  4124.     sgr0=\E[0;10m, smir=\E[4h, smpch=\E[11m, smso=\E[7m, 
  4125.     smul=\E[4m, u6=\E[%i%d;%dR, u7=\E[6n, u9=\E[c, 
  4126.     vpa=\E[%i%p1%dd, 
  4127.  
  4128. # This entry fits the Windows NT console when the _POSIX_TERM environment
  4129. # variable is set to 'on'.  While the Windows NT POSIX console is seldom used,
  4130. # the Telnet client supplied with both the Windows for WorkGroup 3.11 TCP/IP
  4131. # stack and the Win32 (i.e., Windows 95 and Windows NT 3.1 or later) operating
  4132. # systems is not, and (surprise!) they match very well.
  4133. #
  4134. # See:  MS Knowledge Base item Q108581, dated 13-MAY-1997, titled "Setting Up
  4135. # VI POSIX Editor for Windows NT 3.1".  True to Microsoft form, not only
  4136. # are the installation instructions a pile of mind-numbing bureaucratese,
  4137. # but the termcap entry is actually broken and unusable as given; the :do:
  4138. # capability is misspelled "d".
  4139. #
  4140. # To use this, you need to a bunch of environment variables: 
  4141. #
  4142. # SET _POSIX_TERM=on
  4143. # SET TERM=ansi
  4144. # SET TERMCAP=location of termcap file in POSIX file format
  4145. # which is case-sensitive.
  4146. # e.g. SET TERMCAP=//D/RESKIT35/posix/termcap
  4147. # SET TMP=//C/TEMP
  4148. #
  4149. # Important note: setting the TMP environment variable in POSIX style renders
  4150. # it incompatible with a lot of other applications, including Visual C++. So
  4151. # you should have a separate command window just for vi. All the other
  4152. # variables may be permanently set in the Control Panel\System applet. 
  4153. #
  4154. # You can find out more about the restrictions of this facility at
  4155. # <http://www.nentug.org/unix-to-nt/ntposix.htm>.
  4156. #
  4157. # From: Federico Bianchi <bianchi@magna.cisid.unipi.it>, 15 Jan 1997
  4158. ansi-nt|psx_ansi|Microsoft Windows NT console POSIX ANSI mode, 
  4159.     am, bw, msgr, 
  4160.     cols#80, it#8, lines#25, 
  4161.     bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  4162.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  4163.     home=\E[H, ht=^I, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[V, 
  4164.     kcuf1=\E[C, kcuu1=\E[A, nel=\r\E[S, rc=\E[u, rev=\E[7m, 
  4165.     ri=\E[T, rmso=\E[m, sc=\E[s, sgr0=\E[0m, smso=\E[7m, 
  4166. # From: jew@venus.sunquest.com
  4167. # Date: 19 Feb 93 23:41:07 GMT
  4168. # Here's  a  combination of  ansi and  vt100 termcap
  4169. # entries   that  works  nearly   perfectly  for  me
  4170. # (Gateway 2000 Handbook and Microsoft Works 3.0):
  4171. pcmw|PC running Microsoft Works, 
  4172.     am, xenl, 
  4173.     cols#80, it#8, lines#24, vt#3, 
  4174.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  4175.     clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, 
  4176.     cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
  4177.     cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
  4178.     ht=^I, hts=\EH$<2/>, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, 
  4179.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  4180.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\r\ED$<5/>, 
  4181.     rc=\E8, rev=\E[7m$<2/>, rf=/usr/share/lib/tabset/vt100, 
  4182.     ri=\EM$<5/>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
  4183.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  4184.     sgr0=\E[m$<2/>, smso=\E[7m$<2/>, smul=\E[4m$<2/>, 
  4185.     tbc=\E[3g$<2/>, 
  4186.  
  4187. ######## COMMON TERMINAL TYPES
  4188. #
  4189. # This section describes terminal classes and maker brands that are still
  4190. # quite common, but have proprietary command sets not blessed by ANSI.
  4191. #
  4192.  
  4193. #### Altos
  4194. #
  4195. # Altos made a moderately successful line of UNIX boxes.  In 1990 they were
  4196. # bought out by Acer, a major Taiwanese manufacturer of PC-clones.
  4197. # Acer has a web site at http://www.acer.com.
  4198. #
  4199. # Altos descriptions from Ted Mittelstaedt <tedm@agora.rain.com> 4 Sep 1993
  4200. # His comments suggest they were shipped with the system.
  4201. #
  4202.  
  4203. # (altos2: had extension capabilities
  4204. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  4205. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  4206. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  4207. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  4208. #    :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
  4209. #    :YU=^AQ\r:YD=^AR\r:YR=^AS\r:YL=^AT\r:\
  4210. #    :HL=^AP\r:SP=\E[i:\
  4211. #    :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
  4212. #    :LO=\E[0q:LC=\E[5q:LL=\E[6q:\
  4213. # Comparison with the k* capabilities makes it obvious that the c* things are
  4214. # shift keys.  I have renamed them to keys 32 and up accordingly.  Also,
  4215. # :sr: was given as a boolean-- esr)
  4216. altos2|alt2|altos-2|altos II, 
  4217.     cols#80, it#8, lines#24, xmc#0, 
  4218.     clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[1B, cuf1=\E[1C, 
  4219.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[1A, dch1=\E[P, dl1=\E[M, 
  4220.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  4221.     if=/usr/share/tabset/vt100, il1=\E[L, ind=^J, 
  4222.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kDL=^Am\r, 
  4223.     kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=\E[D, 
  4224.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=^AM\r, kel=^AN\r, 
  4225.     kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
  4226.     kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
  4227.     kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
  4228.     kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  4229.     kf8=^AG\r, kf9=^AH\r, khome=\E[f, kil1=^AJ\r, kind=^AO\r, 
  4230.     nel=^M^J, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  4231.     smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  4232. # (altos3: had extension capabilities
  4233. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  4234. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  4235. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  4236. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  4237. #    :XU=^Aq\r:XD=^Ar\r:XR=^As\r:XL=^At\r:\
  4238. #    :HL=^AP\r:SP=\E[i:\
  4239. #    :IS=\E[@:DE=\E[P:IL=\E[L:NS=\E[S:PS=\E[T:\
  4240. altos3|altos5|alt3|alt5|altos-3|altos-5|altos III or V, 
  4241.     blink=\E[5p, ri=\EM, sgr0=\E[p, use=altos2, 
  4242. altos4|alt4|altos-4|altos IV, 
  4243.     use=wy50, 
  4244. # (altos7: had extension capabilities:
  4245. #    :GG#0:GI=\EH8:GF=\EH7:\
  4246. #    :c0=^A`\r:c1=^Aa\r:c2=^Ab\r:c3=^Ac\r:\
  4247. #    :c4=^Ad\r:c5=^Ae\r:c6=^Af\r:c7=^Ag\r:\
  4248. #    :c8=^Ah\r:c9=^Ai\r:cA=^Aj\r:cB=^Ak\r:\
  4249. #    :cC=^Al\r:cD=^Am\r:cE=^An\r:cF=^Ao\r:
  4250. # Comparison with the k* capabilities makes it obvious that the c* things are
  4251. # shift keys.  I have renamed them to keys 32 and up accordingly.  I have
  4252. # also made this entry relative to adm12 in order to give it an <sgr>. The
  4253. # <invis> imported by use=adm+sgr may work, let me know. -- esr)
  4254. altos7|alt7|altos VII, 
  4255.     am, mir, 
  4256.     cols#80, lines#24, xmc#0, 
  4257.     acsc=j5k3l2m1n8q\:t4u9v=w0x6, blink=\EG2, bold=\EGt, 
  4258.     clear=\E+^^, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4259.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  4260.     dim=\EGp, dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, il1=\EE, 
  4261.     ind=^J, invis=\EG1, 
  4262.     is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Eu\E~2, kDL=^Am\r, 
  4263.     kEOL=^An\r, kbs=^H, kcbt=^AK\r, kclr=^AL\r, kcub1=^H, 
  4264.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=^AM\r, kel=^AN\r, 
  4265.     kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf32=^A`\r, 
  4266.     kf33=^Aa\r, kf34=^Ab\r, kf35=^Ac\r, kf36=^Ad\r, kf37=^Ae\r, 
  4267.     kf38=^Af\r, kf39=^Ag\r, kf4=^AC\r, kf40=^Ah\r, kf41=^Ai\r, 
  4268.     kf42=^Aj\r, kf43=^Ak\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  4269.     kf8=^AG\r, kf9=^AH\r, khome=^^, kil1=^AJ\r, kind=^AO\r, 
  4270.     knp=\EK, kpp=\EJ, mc4=\EJ, mc5=\Ed#, nel=^M^J, ri=\Ej, 
  4271.     rmir=\Er, smir=\Eq, use=adm+sgr, 
  4272. altos7pc|alt7pc|altos PC VII, 
  4273.     kend=\ET, use=altos7, 
  4274.  
  4275. #### Hewlett-Packard (hp)
  4276. #
  4277. #    Hewlett-Packard
  4278. #    8000 Foothills Blvd 
  4279. #    Roseville, CA 95747
  4280. #    Vox: 1-(916)-785-4363    (Technical response line for VDTs)
  4281. #         1-(800)-633-3600    (General customer support)
  4282. #
  4283. #
  4284. # As of March 1998, HP no longer has any terminals in production.
  4285. # The 700 series (22, 32, 41, 44, 92, 94, 96, 98) is still being 
  4286. # supported (they still have parts). So are the 2392a and 2394a.
  4287. # See the WORKSTATION CONSOLES section for the 700s.
  4288. #
  4289.  
  4290. # Generic HP terminal - this should (hopefully) work on any HP terminal.
  4291. hpgeneric|hp|hewlett-packard generic terminal, 
  4292.     OTbs, OTpt, am, da, db, mir, xhp, 
  4293.     cols#80, lines#24, lm#0, vt#6, 
  4294.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  4295.     cup=\E&a%p2%dc%p1%dY$<6>, cuu1=\EA, dch1=\EP, dl1=\EM, 
  4296.     ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, il1=\EL, 
  4297.     ind=^J, kbs=^H, kcbt=\Ei, rmir=\ER, rmso=\E&d@, rmul=\E&d@, 
  4298.     sgr0=\E&d@, smir=\EQ, smso=\E&dJ, smul=\E&dD, tbc=\E3, 
  4299.     vpa=\E&a%p1%dY, 
  4300.  
  4301. hp110|hewlett-packard model 110 portable, 
  4302.     lines#16, use=hpgeneric, 
  4303.  
  4304. hp+pfk+cr|hp function keys with CR, 
  4305.     kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, 
  4306.     kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, 
  4307.  
  4308. hp+pfk-cr|hp function keys w/o CR, 
  4309.     kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, 
  4310.     kf8=\Ew, 
  4311.  
  4312. # The hp2621s use the same keys for the arrows and function keys, 
  4313. # but not separate escape sequences. These definitions allow the 
  4314. # user to use those keys as arrow keys rather than as function 
  4315. # keys.
  4316. hp+pfk+arrows|hp alternate arrow definitions, 
  4317.     kcub1=\Eu\r, kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1@, 
  4318.     kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, khome=\Ep\r, kind=\Er\r, 
  4319.     kll=\Eq\r, kri=\Es\r, 
  4320.  
  4321. hp+arrows|hp arrow definitions, 
  4322.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  4323.     kind=\ES, kll=\EF, kri=\ET, 
  4324.  
  4325. # Generic stuff from the HP 262x series
  4326. #
  4327. hp262x|HP 262x terminals, 
  4328.     xhp, 
  4329.     blink=\E&dA, dch1=\EP$<2>, ed=\EJ, ht=\011$<2>, ind=\ES, 
  4330.     invis=\E&dS, ip=$<2>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  4331.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
  4332.     kich1=\EQ, kil1=\EL, kind=\ES, knp=\EU, kpp=\EV, kri=\ET, 
  4333.     krmir=\ER, rev=\E&dB, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
  4334.     sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%c, 
  4335.     sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, 
  4336.  
  4337. # Note: no <home> on HPs since that homes to top of memory, not screen.
  4338. # Due to severe 2621 braindamage, the only way to get the arrow keys to
  4339. # transmit anything at all is to turn on the function key labels
  4340. # with <smkx>, and even then the user has to hold down shift!
  4341. # The default 2621 turns off the labels except when it has to to 
  4342. # enable the function keys. If your installation prefers labels 
  4343. # on all the time, or off all the time (at the "expense" of the 
  4344. # function keys), use 2621-nl or 2621-wl.
  4345. # Note: there are newer ROMs for 2621's that allow you to set 
  4346. # strap A so the regular arrow keys xmit \EA, etc, as with the 
  4347. # 2645. However, even with this strap set, the terminal stops 
  4348. # xmitting if you reset it, until you unset and reset the strap!
  4349. # Since there is no way to set/unset the strap with an escape 
  4350. # sequence, we don't use it in the default.
  4351. # If you like, you can use 2621-ba (brain-damaged arrow keys).
  4352. hp2621-ba|2621 w/new rom and strap A set, 
  4353.     rmkx@, smkx@, use=hp+arrows, use=hp2621, 
  4354.  
  4355. # hp2621 with function labels. Most of the time they are off,
  4356. # but inside vi, the function key labels appear. You have to
  4357. # hold down shift to get them to xmit.
  4358. hp2621|hp2621a|hp2621A|2621|2621a|2621A|hp2621-wl|2621-wl|hp 2621 w/labels, 
  4359.     is2=\E&jA\r, rmkx=\E&jA, use=hp2621-fl, 
  4360. hp2621-fl|hp 2621, 
  4361.     xhp@, xon, 
  4362.     pb#19200, 
  4363.     cbt=\Ei, cup=\E&a%p2%dc%p1%dY, dch1=\EP$<2>, ht=\011$<2>, 
  4364.     ip=$<2>, is2=\E&j@\r, rmkx=\E&j@, rmso=\E&d@, rmul=\E&d@, 
  4365.     sgr0=\E&d@, smkx=\E&jB, smso=\E&dD, smul=\E&dD, 
  4366.     use=hp+pfk+cr, use=hpgeneric, 
  4367.  
  4368. # To use hp2621p printer, setenv TERM=2621p, PRINTER=2612p
  4369. hp2621p|hp 2621 with printer, 
  4370.     mc4=\E&p13C, mc5=\E&p11C, use=hp2621, 
  4371.  
  4372. hp2621p-a|hp2621p with fn as arrows, 
  4373.     use=hp+pfk+arrows, use=hp2621p, 
  4374.  
  4375. # hp2621 with k45 keyboard
  4376. hp2621-k45|hp2621k45|k45|hp 2621 with 45 keyboard, 
  4377.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  4378.     khome=\Eh, rmkx=\E&s0A, smkx=\E&s1A, use=hp2621, 
  4379.  
  4380. # 2621 using all 48 lines of memory, only 24 visible at any time.  
  4381. hp2621-48|48 line 2621, 
  4382.     lines#48, 
  4383.     cup=\E&a%p2%dc%p1%dR, home=\EH, vpa=\E&a%p1%dR, 
  4384.     use=hp2621, 
  4385.  
  4386. # 2621 with no labels ever. Also prevents vi delays on escape.
  4387. hp2621-nl|hp 2621 with no labels, 
  4388.     kcub1@, kcud1@, kcuf1@, kcuu1@, khome@, rmkx@, smkx@, 
  4389.     use=hp2621-fl, 
  4390.  
  4391. # Needed for UCB ARPAVAX console, since lsi-11 expands tabs 
  4392. # (wrong).
  4393. #
  4394. hp2621-nt|hp 2621 w/no tabs, 
  4395.     ht@, use=hp2621, 
  4396.  
  4397. # Hp 2624 B with 4 or 10 pages of memory.
  4398. # Some assumptions are made with this entry. These settings are 
  4399. # NOT set up by the initialization strings.
  4400. # Port Configuration
  4401. #     RecvPace=Xon/Xoff
  4402. #     XmitPace=Xon/Xoff
  4403. #     StripNulDel=Yes
  4404. # Terminal Configuration
  4405. #     InhHndShk=Yes
  4406. #     InhDC2=Yes
  4407. #     XmitFnctn(A)=No
  4408. #     InhEolWrp=No
  4409. # Note: the 2624 DOES have a true <home>, believe it or not!
  4410. # The 2624 has an "error line" to which messages can be sent. 
  4411. # This is CLOSE to what is expected for a "status line". However,
  4412. # after a message is sent to the "error line", the next carriage 
  4413. # return is EATEN and the "error line" is turned back off again! 
  4414. # So I guess we can't define <hs>, <eslok>, <wsl>, <dsl>, <fsl>, <tsl>.
  4415. # This entry supports emacs (and any other program that uses raw 
  4416. # mode) at 4800 baud and less. I couldn't get the padding right 
  4417. # for 9600.
  4418. #
  4419. # (hp2624: replaced NUL sequences in flash with mandatory pauses -- esr)
  4420. hp2624|hp2624a|hp2624b|hp2624b-4p|Hewlett Packard 2624 B, 
  4421.     da, db, 
  4422.     lm#96, 
  4423.     flash=\E&w13F$<66/>\E&w12F$<66/>\E&w13F$<66/>\E&w12F, 
  4424.     use=hp+labels, use=scrhp, 
  4425.  
  4426. # This hp2626 entry does not use any of the fancy windowing stuff 
  4427. # of the 2626.
  4428. # Indeed, terminfo does not yet handle such stuff. Since changing 
  4429. # any window clears memory, it is probably not possible to use 
  4430. # this for screen opt.
  4431. # ed is incredibly slow most of the time - I am guessing at the 
  4432. # exact padding. Since the terminal uses xoff/xon this is intended 
  4433. # only for cost computation, so that the terminal will prefer el 
  4434. # or even dl1 which is probably faster!
  4435. # \ED\EJ\EC hack for ed from Ed Bradford - apparently ed is only 
  4436. # extra slow on the last line of the window. 
  4437. # The padding probably should be changed.
  4438. #
  4439. hp2626|hp2626a|hp2626p|hp 2626, 
  4440.     da, db, 
  4441.     lm#0, pb#19200, 
  4442.     ed=\ED\EJ$<500>\EC, indn=\E&r%p1%dD, ip=$<4>, 
  4443.     is2=\E&j@\r, rin=\E&r%p1%dU, use=hp+pfk+cr, 
  4444.     use=hp+labels, use=scrhp, 
  4445.  
  4446. # This entry is for sysline. It allocates a 23 line window with 
  4447. # a 115 line workspace for regular use, and a 1 line window for 
  4448. # the status line.
  4449. # This assumes port 2 is being used.
  4450. # Turn off horizontal line, Create ws #1 with 115 lines,
  4451. # Create ws #2 with 1 line, Create window #1 lines 1-23,
  4452. # Create window #2 lines 24-24, Attach cursor to workspace #1.
  4453. # Note that this clears the tabs so it must be done by tset before
  4454. # it sets the tabs.
  4455. #
  4456. hp2626-s|hp 2626 using only 23 lines, 
  4457.     eslok, hs, 
  4458.     lines#23, 
  4459.     fsl=\E&d@\E&w7f2p1I\E&w4f1I, 
  4460.     is1=\E&q3t0{0H \E&w0f115n1I \E&w0f1n2I \E&w2f1i0d0u22l0S \E&w2f2i0d23u23l0S \E&w7f2p1I \r, 
  4461.     tsl=\E&w7f2p2I\E&w4f2I\r\EK\E&a%p1%dC, use=hp2626, 
  4462. # Force terminal back to 24 lines after being 23.
  4463. hp2626-ns|hp 2626 using all 24 lines, 
  4464.     is1=\E&q3t0{0H \E&w0f118n1I \E&w0f1n2I \E&w2f1i0d0u23l0S \E&w3f2I \E&w7f2p1I \r, 
  4465.     use=hp2626, 
  4466. # Various entries useful for small windows on 2626.
  4467. hp2626-12|hewlett-packard 2626 12 lines, 
  4468.     lines#12, use=hp2626, 
  4469. hp2626-12x40|hewlett-packard 2626 12 lines 40 columns, 
  4470.     cols#40, lines#12, use=hp2626, 
  4471. hp2626-x40|hewlett-packard 2626 40 columns, 
  4472.     cols#40, use=hp2626, 
  4473. hp2626-12-s|hewlett-packard 2626 11 lines plus status, 
  4474.     lines#11, use=hp2626-s, 
  4475.  
  4476. #
  4477. # hp2627 color tubes from University of Wisconsin
  4478. #
  4479. hp2627a-rev|hp 2627 with reverse video colors, 
  4480.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  4481.     is2=\E&v0m1a0b0c1x1y1z1i0a0b1c1x1y1z0i0S\E&j@\r\E3\r, 
  4482.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmul=\E&v0S\E&d@, 
  4483.     smul=\E&dD\E&v1S, use=hp2621-nl, 
  4484. hp2627a|hp 2627 color terminal with no labels, 
  4485.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  4486.     is2=\E&v0m1a1b0c1i0a1b1c2i1a0b0c0i0S\E&j@\r\E3\r, 
  4487.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rmso=\E&v0S, 
  4488.     rmul=\E&v0S\E&d@, smso=\E&v2S, smul=\E&dD\E&v1S, 
  4489.     use=hp2621-nl, 
  4490. hp2627c|hp 2627 color (cyan) terminal with no labels, 
  4491.     cr=^M, cud1=^J, ht=^I, ind=^J, 
  4492.     is2=\E&v0m1a0b0c2i1a1b0c1i0a1b1c0i0S\E&j@\r\E3\r, 
  4493.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, use=hp2627a, 
  4494.  
  4495. # hp2640a doesn't have the Y cursor addressing feature, and C is 
  4496. # memory relative instead of screen relative, as we need.
  4497. #
  4498. hp2640a|hp 2640a, 
  4499.     cup@, rmkx@, smkx@, use=hp2645, 
  4500.  
  4501. hp2640b|hp2644a|hp 264x series, 
  4502.     rmkx@, smkx@, use=hp2645, 
  4503.  
  4504. # (hp2641a: removed unknown :gu: -- esr)
  4505. hp2641a|hp2645a|hp2647a|HP 264?A series BRL entry, 
  4506.     am, da, db, mir, xhp, 
  4507.     cols#80, lines#24, 
  4508.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  4509.     cup=\E&a%p2%2dc%p1%2dY, cuu1=\EA, dch1=\EP, dl1=\EM, 
  4510.     ed=\EJ, el=\EK, hpa=\E&a%p1%2dC, ht=^I, 
  4511.     if=/usr/share/tabset/std, il1=\EL, ind=^J, 
  4512.     is2=\EE$<500/>, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  4513.     rmir=\ER, rmso=\E&d@, smir=\EQ, smso=\E&dB, 
  4514.     vpa=\E&a%p1%2dY, 
  4515.  
  4516. # This terminal should be used at 4800 baud or less. It needs padding for
  4517. # plain characters at 9600, I guessed at an appropriate cr delay.  It really
  4518. # wants ^E/^F handshaking, but that doesn't work well even if you write
  4519. # software to support it.
  4520. hp2645|hp45|HP 2645 series, 
  4521.     pb#9600, 
  4522.     blink=\E&dA, cr=\r$<20>, dim=\E&dH, kctab=\E2, kcub1=\ED, 
  4523.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  4524.     ked=\EJ, kel=\EK, khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, 
  4525.     kind=\ES, knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, rev=\E&dB, 
  4526.     rmkx=\E&s0A, 
  4527.     sgr=\E&d%{64}%?%p1%t%{66}%|%;%?%p2%t%{68}%|%;%?%p3%t%{66}%|%;%?%p4%t%{65}%|%;%?%p5%t%{72}%|%;%?%p6%t%{66}%|%;%c, 
  4528.     sgr0=\E&d@, smkx=\E&s1A, smul=\E&dD, use=hpgeneric, 
  4529. # You should use this terminal at 4800 baud or less.
  4530. hp2648|hp2648a|HP 2648a graphics terminal, 
  4531.     clear=\EH\EJ$<50>, cup=\E&a%p2%dc%p1%dY$<20>, 
  4532.     dch1=\EP$<7>, ip=$<5>, use=hp2645, 
  4533.  
  4534. # The HP 150 terminal is a fairly vanilla HP terminal, with the 
  4535. # clreol standout problem. It also has graphics capabilities and 
  4536. # a touch screen, which we don't describe here.
  4537. hp150|hewlett packard Model 150, 
  4538.     OTbs, use=hp2622, 
  4539.  
  4540. # HP 2382a terminals, "the little ones." They don't have any 
  4541. # alternate character set support and sending out ^N/^O will 
  4542. # leave the screen blank.
  4543. hp2382a|hp2382|hewlett packard 2382a, 
  4544.     da, db, 
  4545.     lh#1, lm#48, 
  4546.     acsc@, 
  4547.     pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
  4548.     rmacs@, 
  4549.     sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c, 
  4550.     sgr0=\E&d@, smacs@, use=hp+labels, use=scrhp, 
  4551.  
  4552. hp2621-a|hp2621a-a|hp2621 with fn as arrows, 
  4553.     use=hp+pfk+arrows, use=hp2621-fl, 
  4554.  
  4555. # newer hewlett packard terminals
  4556.  
  4557. newhpkeyboard|generic entry for HP extended keyboard, 
  4558.     kbs=^H, kcbt=\Ei, kclr=\EJ, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  4559.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, khome=\Eh, 
  4560.     kich1=\EQ, kil1=\EL, kind=\ET, kll=\EF, knp=\EU, kpp=\EV, 
  4561.     kri=\ES, krmir=\ER, rmkx=\E&s0A, smkx=\E&s1A, 
  4562.     use=hp+pfk-cr, 
  4563.  
  4564. newhp|generic entry for new hewlett packard terminals, 
  4565.     am, bw, mir, xhp, xon, 
  4566.     cols#80, lines#24, pb#4800, 
  4567.     acsc=2[3@4>5I9(\:'JSKWLQMAO#P$Q;R!S"T1U2V4W3X\:Y+Z*dHjGkTlRmFn/q\,t5u6v8w7x., 
  4568.     bel=^G, blink=\E&dA, bold=\E&dF, cbt=\Ei, cr=^M, cub1=^H, 
  4569.     cud1=^J, cuf1=\EC, cuu1=\EA, dch1=\EP$<2>, dim=\E&dH, 
  4570.     dl1=\EM, ed=\EJ, el=\EK, ht=\011$<2>, hts=\E1, il1=\EL, ind=^J, 
  4571.     invis=\E&dS, ip=$<2>, is1=\E&jB$<8>, nel=^M^J, 
  4572.     pfkey=\E&f0a%p1%dk0d%p2%l%dL%p2%s, 
  4573.     pfloc=\E&f1a%p1%dk0d%p2%l%dL%p2%s, 
  4574.     pfx=\E&f2a%p1%dk0d%p2%l%dL%p2%s, rev=\E&dB, ri=\ET, 
  4575.     rmacs=^O, rmir=\ER, rmso=\E&d@, rmul=\E&d@, rs1=\Eg, 
  4576.     sgr=\E&d%{0}%Pa%?%p4%t%{1}%ga%+%Pa%;%?%p1%p3%|%p6%|%t%{2}%ga%+%Pa%;%?%p2%p6%|%t%{4}%ga%+%Pa%;%?%p1%p5%|%t%{8}%ga%+%Pa%;%?%p7%t%?%ga%ts%ga%{64}%+%e%{83}%;%e%?%ga%t%ga%{64}%+%e%{64}%;%;%c%?%p9%t\016%e\017%;, 
  4577.     sgr0=\E&d@\017, smacs=^N, smir=\EQ, smso=\E&dJ, smul=\E&dD, 
  4578.     tbc=\E3, use=newhpkeyboard, 
  4579.  
  4580. memhp|memory relative addressing for new HP ttys, 
  4581.     vt#6, 
  4582.     clear=\EH\EJ$<40>, cub=\E&a-%p1%dC, cud=\E&a+%p1%dR, 
  4583.     cuf=\E&a+%p1%dC, cup=\E&a%p1%dr%p2%dC, cuu=\E&a-%p1%dR, 
  4584.     home=\EH, hpa=\E&a%p1%dC, ll=\E&a23R\r, 
  4585.     mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dR, use=newhp, 
  4586.  
  4587. scrhp|screen relative addressing for new HP ttys, 
  4588.     clear=\E&a0c0Y\EJ$<40>, cub=\E&a-%p1%dC, 
  4589.     cud=\E&a+%p1%dR, cuf=\E&a+%p1%dC, 
  4590.     cup=\E&a%p1%dy%p2%dC$<10>, cuu=\E&a-%p1%dR, 
  4591.     home=\E&a0y0C, hpa=\E&a%p1%dC, ll=\E&a0y0C\EA, 
  4592.     mrcup=\E&a%p1%dr%p2%dC, vpa=\E&a%p1%dY, use=newhp, 
  4593.  
  4594. # (hp+labels: added label values from a BRL termcap -- esr)
  4595. hp+labels|"standard" label info for new HP ttys, 
  4596.     lh#2, lw#8, nlab#8, 
  4597.     lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, 
  4598.     pln=\E&f2a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d0L%?%ga%!%t %;%p2%s, 
  4599.     rmln=\E&j@, smln=\E&jB, 
  4600.  
  4601. hp+printer|"standard" printer info for HP ttys, 
  4602.     ff=\E&p4u0C, mc0=\EH\E&p4dF, mc4=\E&p13C, mc5=\E&p11C, 
  4603.  
  4604.  
  4605. # The new hp2621b is kind of a cross between the old 2621 and the
  4606. # new 262x series of machines. It has dip-switched options. 
  4607. # The firmware has a bug in it such that if you give it a null 
  4608. # length label, the following character is eaten!
  4609. hp2621b|hp 2621b with old style keyboard, 
  4610.     lh#1, lm#48, lw#8, nlab#8, 
  4611.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  4612.     kind=\ET, kll=\EF, kri=\ES, 
  4613.     pln=\E&f0a%p1%dk%p2%l%Pa%?%ga%t%ga%d%e1%;d3L%?%ga%!%t%{32}%c%;%p2%s\E%{111}%p1%+%c\r, 
  4614.     smln=\E&jB, use=hp2621, 
  4615.  
  4616. hp2621b-p|hp 2621b with printer, 
  4617.     use=hp+printer, use=hp2621b, 
  4618.  
  4619. # hp2621b - new 2621b with new extended keyboard
  4620. # these are closer to the new 26xx series than the other 2621b
  4621. hp2621b-kx|hp 2621b with extended keyboard, 
  4622.     use=newhpkeyboard, use=hp2621b, 
  4623.  
  4624. hp2621b-kx-p|hp 2621b with new keyboard & printer, 
  4625.     use=hp+printer, use=hp2621b-kx, 
  4626.  
  4627. # Some assumptions are made in the following entries.
  4628. # These settings are NOT set up by the initialization strings.
  4629. #    Port Configuration
  4630. # RecvPace=Xon/Xoff    XmitPace=Xon/Xoff    StripNulDel=Yes
  4631. #    Terminal Configuration
  4632. # InhHndShk(G)=Yes    InhDC2(H)=Yes
  4633. # XmitFnctn(A)=No        InhEolWrp=No
  4634. #
  4635. # Hp 2622a & hp2623a display and graphics terminals
  4636. #
  4637. hp2622|hp2622a|hp 2622, 
  4638.     da, db, 
  4639.     lm#0, pb#19200, 
  4640.     is2=\E&dj@\r, use=hp+pfk+cr, use=hp+labels, use=scrhp, 
  4641.  
  4642. # The 2623 is a 2622 with extra graphics hardware.
  4643. hp2623|hp2623a|hp 2623, 
  4644.     use=hp2622, 
  4645.  
  4646. hp2624b-p|hp2624b-4p-p|hewlett packard 2624 B with printer, 
  4647.     use=hp+printer, use=hp2624, 
  4648.  
  4649. # The hewlett packard B can have an optional extra 6 pages of memory.
  4650. hp2624-10p|hp2624a-10p|hp2624b-10p|hewlett packard 2624 B w/ 10 pages of memory, 
  4651.     lm#240, use=hp2624, 
  4652.  
  4653. hp2624b-10p-p|hewlett packard 2624 B w/ extra memory & printer, 
  4654.     lm#240, use=hp2624b-p, 
  4655.  
  4656. # Color manipulations for HP terminals
  4657. hp+color|hp with colors, 
  4658.     ccc, 
  4659.     colors#16, ncv#17, pairs#7, 
  4660.     initp=\E&v%?%p2%{1000}%=%t1%e.%p2%d%;a%?%p3%{1000}%=%t1%e.%p3%d%;b%?%p4%{1000}%=%t1%e.%p4%d%;c%?%p5%{1000}%=%t1%e.%p5%d%;x%?%p6%{1000}%=%t1%e.%p6%d%;y%?%p7%{1000}%=%t1%e.%p7%d%;z%p1%dI, 
  4661.     oc=\E&v0m1a1b1c0I\E&v1a1I\E&v1b2I\E&v1a1b3I\E&v1c4I\E&v1a1c5I\E&v1b1c6I\E&v1x1y7I, 
  4662.     op=\E&v0S, scp=\E&v%p1%dS, 
  4663.  
  4664. # <is2> sets the screen to be 80 columns wide
  4665. hp2397a|hp2397|hewlett packard 2397A color terminal, 
  4666.     is2=\E&w6f80X, use=memhp, use=hp+labels, use=hp+color, 
  4667.  
  4668. #  HP 700/44 Setup parameters:  
  4669. # Terminal Mode        HP-PCterm
  4670. # Inhibit Auto Wrap    NO
  4671. # Status Line        Host Writable
  4672. # PC Character Set    YES
  4673. # Twenty-Five Line Mode    YES
  4674. # XON/XOFF        @128 or 64 (sc)
  4675. # Keycode Mode         NO   or YES (sc)
  4676. # Backspace Key        BS or BS/DEL
  4677. #
  4678. # <is2>     sets pcterm; autowrap; 25 lines; pc char set; prog DEL key; 
  4679. # \E\\? does not turn off keycode mode
  4680. # <smsc>    sets alternate start/stop; keycode on
  4681. hpansi|hp700|hewlett packard 700/44 in HP-PCterm mode, 
  4682.     am, eo, xenl, xon, 
  4683.     cols#80, lines#25, 
  4684.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  4685.     bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[2J\E[H, 
  4686.     cnorm=\E[?25h, cr=^M, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  4687.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  4688.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
  4689.     ind=^J, 
  4690.     is2=\E[44"p\E[?7h\E[>10h\E[>12h\EP1;1|3/7F\E\\, 
  4691.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  4692.     kcuu1=\E[A, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
  4693.     kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, 
  4694.     kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, khome=\E[1~, knp=\E[6~, 
  4695.     kpp=\E[5~, rmam=\E[?7l, 
  4696.     rmsc=\E[>11l\EP1**x0/11;1/13\E[m\E\\, rmso=\E[m, 
  4697.     rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
  4698.     smsc=\E[>11h\EPO**x0/65;1/67\E\\$<250>, smso=\E[7m, 
  4699.     smul=\E[4m, xoffc=g, xonc=e, 
  4700. #
  4701. # (hp2392: copied <rmir> here from hpex -- esr)
  4702. hp2392|239x series, 
  4703.     cols#80, 
  4704.     cbt=\Ei, cup=\E&a%p1%dy%p2%dC, kf1=\Ep\r, kf2=\Eq\r, 
  4705.     kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, 
  4706.     kf8=\Ew\r, khome=\Eh, kind=\EU, knp=\Eu, kpp=\Ev, kri=\EV, 
  4707.     rmir=\ER, rmul=\E&d@, smir=\EQ, smul=\E&dD, vpa=\E&a%p1%dY, 
  4708.     use=hpsub, 
  4709.  
  4710. hpsub|hp terminals -- capability subset, 
  4711.     am, da, db, mir, xhp, xon, 
  4712.     lines#24, 
  4713.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  4714.     cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, 
  4715.     ht=^I, if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, 
  4716.     is2=\E&s1A\E<\E&k0\\, kbs=^H, kcub1=\ED, kcud1=\EB, 
  4717.     kcuf1=\EC, kcuu1=\EA, khome=\Eh, rmkx=\E&s0A, rmso=\E&d@, 
  4718.     sgr0=\E&d@, smkx=\E&s1A, smso=\E&dB, 
  4719.  
  4720. # hpex:
  4721. #    May be used for most 24 x 80 hp terminals,
  4722. # but has no padding added, so may allow runover in some terminals at high 
  4723. # baud rates.  Will not work for hp2640a or hp2640b terminals, hp98x6 and 
  4724. # hp98x5 terminal emulators or hp98x6 consoles.  
  4725. #     Adds xy-cursor addressing, vertical cursor addressing, home, 
  4726. # last line, and underline capabilities.
  4727. #
  4728. # (hpex: removed memory-lock capabilities ":ml=\El:mu=\Em:",
  4729. # moved <rmir> here from hpsub -- esr)
  4730. hpex|hp extended capabilites, 
  4731.     cr=^M, cud1=^J, cup=\E&a%p1%dy%p2%dC, ht=^I, ind=^J, kbs=^H, 
  4732.     kcub1=^H, kcud1=^J, nel=^M^J, rmir=\ER, rmul=\E&d@, smir=\EQ, 
  4733.     smul=\E&dD, vpa=\E&a%p1%dY, use=hpsub, 
  4734.  
  4735. # From: Ville Sulko <Ville.Sulko@bip.atk.tpo.fi>, 05 Aug 1996
  4736. hp2|hpex2|hewlett-packard extended capabilities newer version, 
  4737.     am, da, db, mir, xhp, 
  4738.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, xmc#0, 
  4739.     bel=^G, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
  4740.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  4741.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  4742.     il1=\EL, ind=^J, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
  4743.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  4744.     ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
  4745.     kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
  4746.     kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
  4747.     krmir=\ER, ktbc=\E3, meml=\El, memu=\Em, 
  4748.     pfkey=\E&f%p1%dk%p2%l%dL%p2%s, 
  4749.     pfloc=\E&f1a%p1%dk%p2%l%dL%p2%s, 
  4750.     pfx=\E&f2a%p1%dk%p2%l%dL%p2%s, 
  4751.     pln=\E&f%p1%dk%p2%l%dd0L%p2%s, rmir=\ER, rmkx=\E&s0A, 
  4752.     rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
  4753.     sgr=\E&d%?%p7%t%{115}%c%;%p1%p3%|%p6%|%{2}%*%p2%{4}%*%+%p4%+%p5%{8}%*%+%{64}%+%c%?%p9%t%'\016'%c%e%'\017'%c%;, 
  4754.     sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smln=\E&jB, smso=\E&dB, 
  4755.     smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  4756.  
  4757. # HP 236 console
  4758. # From: <ddavis@ic.berkeley.edu>
  4759. hp236|hp236 internal terminal emulator, 
  4760.     OTbs, am, 
  4761.     cols#80, lines#24, 
  4762.     clear=\EF, cnorm=\EDE, cub1=^H, 
  4763.     cup=\EE%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\EDB, 
  4764.     dch1=\EJ, dl1=\EH, el=\EK, ich1=\EI, il1=\EG, rmso=\ECI, 
  4765.     sgr0=\ECI, smso=\EBI, 
  4766.  
  4767. # This works on a hp300 console running Utah 4.3 BSD
  4768. # From: Craig Leres <leres@okeeffe.berkeley.edu>
  4769. hp300h|HP Catseye console, 
  4770.     OTbs, am, da, db, mir, xhp, 
  4771.     cols#128, lines#51, lm#0, xmc#0, 
  4772.     bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, cud1=\EB, 
  4773.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  4774.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
  4775.     if=/usr/share/tabset/stdcrt, il1=\EL, ind=^J, kbs=^H, 
  4776.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\Eh, 
  4777.     rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, 
  4778.     smir=\EQ, smkx=\E&s1A, smso=\E&dB, smul=\E&dD, tbc=\E3, 
  4779.     vpa=\E&a%p1%dY, 
  4780. # From: Greg Couch <gregc@ernie.berkeley.edu>
  4781. hp9837|hp98720|hp98721|HP 9000/300 workstations, 
  4782.     OTbs, am, da, db, mir, xhp, 
  4783.     cols#128, it#8, lines#46, lm#0, 
  4784.     bel=^G, cbt=\Ei, clear=\E&a0y0C\EJ, cub1=^H, cud1=\EB, 
  4785.     cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, 
  4786.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  4787.     il1=\EL, ind=^J, is2=\E&v0m1b0i&j@, kbs=^H, kcub1=\ED, 
  4788.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  4789.     ked=\EJ, kel=\EK, khome=\Eh, kich1=\EQ, kil1=\EL, knp=\EU, 
  4790.     kpp=\EV, rmir=\ER, rmkx=\E&s0A, rmso=\E&v0S, rmul=\E&d@, 
  4791.     sgr0=\E&d@, smir=\EQ, smkx=\E&s1A, smso=\E&v5S, smul=\E&dD, 
  4792.     tbc=\E3, vpa=\E&a%p1%dY, 
  4793. # HP 9845 desktop computer from BRL
  4794. # (hp9845: removed unknown capability :gu: -- esr)
  4795. hp9845|HP 9845, 
  4796.     OTbs, am, da, db, eo, mir, xhp, 
  4797.     cols#80, lines#21, 
  4798.     OTbc=\ED, clear=\EH\EJ, cuf1=\EC, cup=\E&a%p2%2dc%p1%2dY, 
  4799.     cuu1=\EA, dch1=\EP, dl1=\EM, ed=\EJ, el=\EK, 
  4800.     if=/usr/share/tabset/std, il1=\EL, rmir=\ER, rmso=\E&d@, 
  4801.     smir=\EQ, smso=\E&dB, 
  4802. # From: Charles A. Finnell of MITRE <finnell@mitre.org>, developed 07SEP90
  4803. # (hp98550: replaced /usr/share/tabset/9837 with std because <it#8>,<hts=\E1>;
  4804. # added empty <acsc> to avoid warnings re <smacs>/<rmacs> --esr)
  4805. hp98550|hp98550a|HP 9000 Series 300 color console, 
  4806.     OTbs, am, da, db, mir, xhp, 
  4807.     cols#128, it#8, lines#49, lm#0, 
  4808.     acsc=, bel=^G, blink=\E&dA, bold=\E&dJ, cbt=\Ei, civis=\E*dR, 
  4809.     clear=\EH\EJ, cnorm=\E*dQ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  4810.     cup=\E&a%p1%dy%p2%dC, cuu1=\EA, dch1=\EP, dim=\E&dH, 
  4811.     dl1=\EM, ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=^I, hts=\E1, 
  4812.     if=/usr/share/tabset/std, il1=\EL, ind=^J, invis=\E&ds, 
  4813.     kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  4814.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, ked=\EJ, kel=\EK, kf1=\Ep, 
  4815.     kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  4816.     khome=\Eh, khts=\E1, kich1=\EQ, kil1=\EL, kind=\ES, kll=\EF, 
  4817.     knp=\EU, kpp=\EV, kri=\ET, krmir=\ER, ktbc=\E3, rev=\E&dJ, 
  4818.     rmacs=^O, rmir=\ER, rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, 
  4819.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smso=\E&dJ, 
  4820.     smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  4821. # From: Victor Duchovni <vic@fine.princeton.edu>
  4822. # (hp700-wy: removed obsolete ":nl=^J:";
  4823. # replaced /usr/share/tabset/hp700-wy with std because <it#8>,<hts=\E1> -- esr)
  4824. hp700-wy|HP700/41 emulating wyse30, 
  4825.     OTbs, am, bw, mir, msgr, 
  4826.     cols#80, it#8, lines#24, xmc#1, 
  4827.     cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
  4828.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  4829.     dl1=\ER, ed=\EY, el=\ET$<10/>, home=^^, ht=^I, hts=\E1, 
  4830.     if=/usr/share/tabset/stdcrt, il1=\EE$<0.7*/>, 
  4831.     is1=\E~"\EC\Er\E(\EG0\003\E`9\E`1, kbs=\177, kcbt=\EI, 
  4832.     kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, ked=\EY, 
  4833.     kel=\ET, khome=^^, khts=\EI, kich1=\Eq, krmir=\Er, ll=^^^K, 
  4834.     ri=\Ej, rmir=\Er, rmso=\EG0$<10/>, rmul=\EG0$<10/>, 
  4835.     sgr0=\EG0$<10/>, smir=\Eq, smso=\EG4$<10/>, 
  4836.     smul=\EG8$<10/>, tbc=\E0, vpa=\E[%p1%{32}%+%c, 
  4837. hp70092|hp70092a|hp70092A|HP 700/92, 
  4838.     am, da, db, xhp, 
  4839.     cols#80, lh#2, lines#24, lm#0, lw#8, nlab#8, 
  4840.     acsc=0cjgktlrmfn/q\,t5u6v8w7x., bel=^G, blink=\E&dA, 
  4841.     bold=\E&dB, cbt=\Ei, clear=\E&a0y0C\EJ, cr=^M, cub1=^H, 
  4842.     cud1=\EB, cuf1=\EC, cup=\E&a%p1%dy%p2%dC, cuu1=\EA, 
  4843.     dch1=\EP, dim=\E&dH, dl1=\EM, el=\EK, hpa=\E&a%p1%dC, ht=^I, 
  4844.     hts=\E1, il1=\EL, kbs=^H, kclr=\EJ, kctab=\E2, kcub1=\ED, 
  4845.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EP, kdl1=\EM, 
  4846.     ked=\EJ, kel=\EK, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
  4847.     kf6=\Eu, kf7=\Ev, kf8=\Ew, khome=\Eh, khts=\E1, kich1=\EQ, 
  4848.     kil1=\EL, kind=\ES, kll=\EF, knp=\EU, kpp=\EV, kri=\ET, 
  4849.     krmir=\ER, ktbc=\E3, rev=\E&dB, ri=\ET, rmacs=^O, rmir=\ER, 
  4850.     rmkx=\E&s0A, rmln=\E&j@, rmso=\E&d@, rmul=\E&d@, 
  4851.     sgr0=\E&d@, smacs=^N, smir=\EQ, smkx=\E&s1A, smln=\E&jB, 
  4852.     smso=\E&dJ, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  4853.  
  4854. bobcat|sbobcat|HP 9000 model 300 console, 
  4855.     am, da, db, mir, xhp, 
  4856.     cols#128, it#8, lines#47, xmc#0, 
  4857.     cbt=\Ei, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  4858.     cup=\E&a%p1%dy%p2%dC$<6/>, cuu1=\EA, dch1=\EP, 
  4859.     dl1=\EM$<10*/>, ed=\EJ, el=\EK, hpa=\E&a%p1%dC$<6/>, ht=^I, 
  4860.     il1=\EL$<10*/>, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  4861.     kcuf1=\EC, kcuu1=\EA, khome=\Eh, nel=^M^J, rmir=\ER, 
  4862.     rmkx=\E&s0A, rmso=\E&d@, rmul=\E&d@, sgr0=\E&d@, smir=\EQ, 
  4863.     smkx=\E&s1A, smso=\E&dB, smul=\E&dD, vpa=\E&a%p1%dY$<6/>, 
  4864. gator-t|HP 9000 model 237 emulating extra-tall AAA, 
  4865.     lines#94, use=gator, 
  4866. gator|HP 9000 model 237 emulating AAA, 
  4867.     bw, km, mir, ul, 
  4868.     cols#128, it#8, lines#47, 
  4869.     bel=^G, cbt=\E[Z, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, 
  4870.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, 
  4871.     dch=\E[%p1%dP$<4/>, dch1=\E[P, dl=\E[%p1%dM$<1*/>, 
  4872.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%i%p1%d`, 
  4873.     ht=^I, ich=\E[%p1%d@$<4/>, ich1=\E[@, il=\E[%p1%dL$<1*/>, 
  4874.     il1=\E[L, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, 
  4875.     rep=%p1%c\E[%p2%db$<1*/>, rev=\E[7m, rmso=\E[m, 
  4876.     rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  4877. gator-52|HP 9000 model 237 emulating VT52, 
  4878.     cols#128, lines#47, use=vt52, 
  4879. gator-52t|HP 9000 model 237 emulating extra-tall VT52, 
  4880.     lines#94, use=gator-52, 
  4881.  
  4882. #### Honeywell-Bull
  4883. #
  4884. # From: Michael Haardt <michael@gandalf.moria> 11 Jan 93
  4885. #
  4886.  
  4887. # Honeywell Bull terminal.  Its cursor and function keys send single
  4888. # control characters and it has standout/underline glitch.  Most programs
  4889. # do not like these features/bugs.  Visual bell is realized by flashing the
  4890. # "keyboard locked" LED.
  4891. dku7003-dumb|Honeywell Bull DKU 7003 dumb mode, 
  4892.     cols#80, lines#25, 
  4893.     clear=^]^_, cr=^M, cub1=^Y, cud1=^K, cuf1=^X, 
  4894.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, ed=^_, el=\E[K, 
  4895.     flash=\E[2h\E[2l, home=^], ht=^I, ind=^J, kbs=^H, kcub1=^Y, 
  4896.     kcud1=^K, kcuf1=^X, kcuu1=^Z, khome=^], nel=^M^J, 
  4897. dku7003|Honeywell Bull DKU 7003 all features described, 
  4898.     msgr, 
  4899.     xmc#1, 
  4900.     blink=\E[5m, bold=\E[7m, dim=\E[2m, rev=\E[7m, rmso=\E[m, 
  4901.     rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  4902.     use=dku7003-dumb, 
  4903.  
  4904. #### Lear-Siegler (adm)
  4905. #
  4906. # These guys are long since out of the terminals business, but
  4907. # in 1995 many current terminals still have an adm type as one of their
  4908. # emulations (usually their stupidest, and usually labeled adm3, though
  4909. # these `adm3' emulations normally have adm3a+ capabilities).
  4910. #
  4911. # WARNING: Some early ADM terminals (including the ADM3 and ADM5) had a 
  4912. # `diagnostic feature' that sending them a ^G while pin 22 (`Ring Indicator')
  4913. # was being held to ground would trigger a send of the top line on the screen.
  4914. # A quick fix might be to drop back to a cheesy 4-wire cable with pin 22
  4915. # hanging in the air. (Thanks to Eric Fischer, <eric@fudge.uchicago.edu>,
  4916. # for clearing up this point.)
  4917.  
  4918. adm1a|adm1|lsi adm1a, 
  4919.     am, 
  4920.     cols#80, lines#24, 
  4921.     bel=^G, clear=\E;$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4922.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, home=^^, 
  4923.     ind=^J, 
  4924. adm2|lsi adm2, 
  4925.     OTbs, am, 
  4926.     cols#80, lines#24, 
  4927.     bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  4928.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  4929.     dl1=\ER, ed=\EY, el=\ET, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
  4930.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  4931. # (adm3: removed obsolete ":ma=^K^P:" -- esr)
  4932. adm3|lsi adm3, 
  4933.     OTbs, am, 
  4934.     cols#80, lines#24, 
  4935.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  4936. # The following ADM-3A switch settings are assumed for normal operation:
  4937. #    SPACE        U/L_DISP    CLR_SCRN    24_LINE
  4938. #    CUR_CTL        LC_EN        AUTO_NL        FDX
  4939. # Other switches may be set for operator convenience or communication
  4940. # requirements.  I recommend
  4941. #    DISABLE_KB_LOCK    LOCAL_OFF    103        202_OFF
  4942. #    ETX_OFF        EOT_OFF
  4943. # Most of these terminals required an option ROM to support lower case display.
  4944. # Open the case and look at the motherboard; if you see an open 24-pin DIP
  4945. # socket, you may be out of luck.
  4946. #
  4947. # (adm3a: some capabilities merged in from BRl entry -- esr)
  4948. adm3a|lsi adm3a, 
  4949.     OTbs, am, 
  4950.     cols#80, lines#24, 
  4951.     OTma=^K^P, OTnl=^J, bel=^G, clear=\032$<1/>, cr=^M, cub1=^H, 
  4952.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4953.     cuu1=^K, home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, 
  4954.     kcuu1=^K, rs2=^N, 
  4955. adm3a+|adm3a plus, 
  4956.     kbs=^H, use=adm3a, 
  4957. # (adm5: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" & duplicate ":do=^J:" -- esr)
  4958. adm5|lsi adm5, 
  4959.     xmc#1, 
  4960.     bel=^G, cr=^M, cud1=^J, ed=\EY, el=\ET, kbs=^H, khome=^^, 
  4961.     rmso=\EG, smso=\EG, use=adm3a+, 
  4962. # A lot of terminals other than adm11s use these.  Wherever you see
  4963. # use=adm+sgr with some of its capabilities disabled, try the
  4964. # disabled ones.  They may well work but not have been documented or
  4965. # expressed in the using entry.  We'd like to cook up an <sgr> but the
  4966. # <rmacs>/<smacs> sequences of the using entries vary too much.
  4967. adm+sgr|adm style highlight capabilities, 
  4968.     invis=\EG1, rev=\EG4, rmso=\EG0, rmul=\EG0, sgr0=\EG0, 
  4969.     smso=\EG4, smul=\EG8, 
  4970. # LSI ADM-11 from George William Hartwig, Jr. <geo@BRL-TGR.ARPA> via BRL
  4971. # Status line additions from Stephen J. Muir <stephen%comp.lancs.ac.uk@ucl-cs>
  4972. # <khome> from <stephen%comp.lancs.ac.uk@ucl-cs.arpa>.  <clear> could also
  4973. # be ^Z, according to his entry.
  4974. # (adm11: <smul>=\EG4 was obviously erroneous because it also said
  4975. # <rev>=\EG4.  Looking at other ADMs confirms this -- esr)
  4976. adm11|LSI ADM-11, 
  4977.     OTbs, am, hs, 
  4978.     OTkn#8, cols#80, lines#24, 
  4979.     OTnl=^J, bel=^G, blink=\EG2, clear=\E*, cr=^M, cub1=^H, 
  4980.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  4981.     cuu1=^K, dsl=\Eh, ed=\EY, el=\ET, fsl=\E(\r, home=^^, ht=^I, 
  4982.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
  4983.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  4984.     kf7=^AF\r, kf8=^AG\r, khome=^^, nel=^M^J, tsl=\EF\E), 
  4985.     use=adm+sgr, 
  4986. # From: Andrew Scott Beals <bandy@lll-crg.ARPA>
  4987. # Corrected by Olaf Siebert <rhialto@polder.ubc.kun.nl>, 11 May 1995
  4988. # Supervisor mode info by Ari Wuolle, <awuolle@delta.hut.fi>, 27 Aug 1996
  4989. # (adm12: removed obsolete ":kn:ma=j^Jk^P^K^Pl ^R^L^L :".  This formerly had
  4990. # <is2>=\Eq but that looked wrong; this <is2> is from Dave Yost <esquire!yost>
  4991. # via BRL.  That entry asserted <xmc#1>, but I've left that out because 
  4992. # neither earlier nor later ADMSs have it -- esr)
  4993. #
  4994. # You will need to get into the supervisor setup before you can set
  4995. # baudrate etc. for your ADM-12+. Press Shift-Ctrl-Setup and you should
  4996. # see a lot more setup options.
  4997. # While in supervisor setup you can also use following codes:
  4998. # Ctrl-P Personality character selections (configure for example what
  4999. #        arrow keys send, if I recall correctly)
  5000. # Ctrl-T tabs 1-80   use left&right to move and up to set and
  5001. # Ctrl-V tabs 81-158 down to clear tab. Shift-Ctrl-M sets right margin at cursor
  5002. # Ctrl-B Binary setup (probably not needed. I think that everything can
  5003. #        be set using normal setup)
  5004. # Ctrl-A Answerback mode (enter answerback message)
  5005. # Ctrl-U User friendly mode (normal setup)
  5006. # Ctrl-D Defaults entire setup and function keys from EPROM tables
  5007. # Ctrl-S Save both setup and functions keys. Takes from 6 to 10 seconds.
  5008. # Ctrl-R Reads both setup and functions keys from NVM.
  5009. # Shift-Ctrl-X Unlock keyboard and cancel received X-OFF status
  5010. # ADM-12+ supports hardware handshaking, but it is DTR/CTS as opposed to
  5011. # RTS/CTS used nowadays with virtually every modem and computer. 19200
  5012. # bps works fine with hardware flow control.
  5013. # The following null-modem cable should fix this and enable you to use
  5014. # RTS/CTS handshaking (which Linux supports, use CRTSCTS setting). Also
  5015. # set ADM-12+ for DTR handshaking from supervisor setup.
  5016. # PC Serial   ADM-12+
  5017. #  --------   -------
  5018. #         2 - 3
  5019. #         3 - 2
  5020. #         4 - 5
  5021. #         5 - 20
  5022. #       6,8 - 4
  5023. #         7 - 7
  5024. #        20 - 6,8
  5025. #
  5026. adm12|lsi adm12, 
  5027.     OTbs, OTpt, am, mir, 
  5028.     OTug#1, cols#80, it#8, lines#24, 
  5029.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5030.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  5031.     dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
  5032.     is2=\E0        \E1        \E1        \E1        \E1        \E1        \E1        \E1        \E1, 
  5033.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  5034.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  5035.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, smir=\Eq, tbc=\E0, 
  5036.     use=adm+sgr, 
  5037. # (adm20: removed obsolete ":kn#7:" -- esr)
  5038. adm20|lear siegler adm20, 
  5039.     OTbs, am, 
  5040.     cols#80, it#8, lines#24, 
  5041.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cuf1=^L, 
  5042.     cup=\E=%i%p2%{31}%+%c%p1%{31}%+%c, cuu1=^K, dch1=\EW, 
  5043.     dl1=\ER, ed=\EY, el=\ET, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
  5044.     kf1=^A, kf2=^B, kf3=^W, kf4=^D, kf5=^E, kf6=^X, kf7=^Z, rmso=\E(, 
  5045.     sgr0=\E(, smso=\E), 
  5046. adm21|lear siegler adm21, 
  5047.     xmc#1, 
  5048.     bel=^G, cr=^M, cud1=^J, dch1=\EW, dl1=30*\ER, ed=\EY, el=\ET, 
  5049.     ich1=\EQ, il1=30*\EE, ind=^J, invis@, kbs=^H, kcub1=^H, 
  5050.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, use=adm+sgr, 
  5051.     use=adm3a, 
  5052. # (adm22: ":em=:" was an obvious typo for ":ei=:"; also,
  5053. # removed obsolete ":kn#7:ma=j^Jk^P^K^Pl ^R^L^L :";
  5054. # removed bogus-looking \200 from before <cup>. -- esr)
  5055. adm22|lsi adm22, 
  5056.     OTbs, am, 
  5057.     cols#80, lines#24, 
  5058.     bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5059.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  5060.     dl1=\ER, ed=\Ey, el=\Et, home=^^, ht=\Ei, ich1=\EQ, il1=\EE, 
  5061.     is2=\E%\014\014\014\016\003\0\003\002\003\002\0\0\0\0\0\0\0\0\0\0\0, 
  5062.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, 
  5063.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5064.     kf7=^AF\r, khome=^^, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  5065.     lf6=F6, lf7=F7, rmso=\E(, sgr0=\E(, smso=\E), 
  5066. # ADM 31 DIP Switches
  5067. #
  5068. # This information comes from two versions of the manual for the
  5069. # Lear-Siegler ADM 31.
  5070. #
  5071. # Main board:
  5072. #                  rear of case
  5073. #   +-||||-------------------------------------+
  5074. #   + S1S2                              ||S    +
  5075. #   +                                   ||3    +
  5076. #   +                                          +
  5077. #   +                                ||S       +
  5078. #   +                                ||4       +
  5079. #   +                                          +
  5080. #   +                                          +
  5081. #   +                                          +
  5082. #   +                                          +
  5083. #   +                                          +
  5084. # +-+                                          +-+
  5085. # +                                              +
  5086. # +                               S5 S6 S7       +   
  5087. # +                               == == ==       +
  5088. # +----------------------------------------------+
  5089. #            front of case (keyboard)
  5090. #
  5091. #  S1 - Data Rate - Modem
  5092. #  S2 - Data Rate - Printer
  5093. # ------------------------
  5094. # Data Rate   Setting
  5095. # -------------------
  5096. # 50          0 0 0 0
  5097. # 75          1 0 0 0
  5098. # 110         0 1 0 0
  5099. # 134.5       1 1 0 0
  5100. # 150         0 0 1 0
  5101. # 300         1 0 1 0
  5102. # 600         0 1 1 0
  5103. # 1200        1 1 1 0
  5104. # 1800        0 0 0 1
  5105. # 2000        1 0 0 1
  5106. # 2400        0 1 0 1
  5107. # 3600        1 1 0 1
  5108. # 4800        0 0 1 1
  5109. # 7200        1 0 1 1
  5110. # 9600        0 1 1 1
  5111. # x           1 1 1 1
  5112. #
  5113. # S3 - Interface/Printer/Attributes
  5114. # ---------------------------------
  5115. # Printer Busy Control
  5116. # sw1   sw2   sw3
  5117. # ---------------
  5118. # off   off   off   Busy not active, CD disabled
  5119. # off   off   on    Busy not active, CD enabled
  5120. # off   on    off   Busy active on J5-20, CD disabled
  5121. # on    off   off   Busy active on J5-19, CD disabled - Factory Set.
  5122. # on    off   on    Busy active on J5-19, CD enabled
  5123. #
  5124. # sw4   Used in conjuction with S4 for comm interface control - Fact 0
  5125. #
  5126. # sw5   Secondary Channel Control (Hardware implementation only) - Fact 0
  5127. #
  5128. # sw6   ON enables printer BUSY active LOW - Factory Setting
  5129. #       OFF enables printer BUSY active HIGH - If set to this, ADM31 senses
  5130. #
  5131. # sw7   ON - steady cursor - Factory Setting
  5132. #       OFF - blinking cursor
  5133. #
  5134. # sw8   ON causes selected attribute character to be displayed
  5135. #       OFF causes SPACE to be displayed instead - Factory Setting
  5136. #
  5137. # S4 - Interface
  5138. # --------------
  5139. # Modem Interface
  5140. # S3    S4    S4    S4    S4
  5141. # sw4   sw1   sw2   sw3   sw4
  5142. # ---------------------------
  5143. # OFF   ON    OFF   ON    OFF   Enable RS-232C interface, Direct Connect and
  5144. #                               Current Loop disabled - Factory Setting
  5145. # ON    ON    OFF   ON    OFF   Enable Current Loop interface, Direct Connect
  5146. #                               disabled
  5147. # OFF   OFF   ON    OFF   ON    Enable Direct Connect interface, RS-232C and
  5148. #                               Current Loop Disabled
  5149. #
  5150. # sw5   ON disables dot stretching mode - Factory Setting
  5151. #       OFF enables dot stretching mode
  5152. # sw6   ON enables blanking function
  5153. #       OFF enables underline function - Factory Setting
  5154. # sw7   ON causes NULLS to be displayed as NULLS
  5155. #       OFF causes NULLS to be displayed as SPACES - Factory Setting
  5156. #
  5157. # S5 - Word Structure
  5158. # -------------------
  5159. # sw1   ON enables BREAK key - Factory Setting
  5160. #       OFF disables BREAK key
  5161. # sw2   ON selects 50Hz monitor refresh rate
  5162. #       OFF selects 60Hz monitor refresh rate - Factory Setting
  5163. #
  5164. # Modem Port Selection
  5165. # sw3   sw4   sw5
  5166. # ---------------
  5167. # ON    ON    ON    Selects 7 DATA bits, even parity, 2 STOP bits
  5168. # OFF   ON    ON    Selects 7 DATA bits, odd  parity, 2 STOP bits
  5169. # ON    OFF   ON    Selects 7 DATA bits, even parity, 1 STOP bit - Factory Set.
  5170. # OFF   OFF   ON    Selects 7 DATA bits, odd  parity, 1 STOP bit
  5171. # ON    ON    OFF   Selects 8 DATA bits, no   parity, 2 STOP bits
  5172. # OFF   ON    OFF   Selects 8 DATA bits, no   parity, 1 STOP bit
  5173. # ON    OFF   OFF   Selects 8 DATA bits, even parity, 1 STOP bit
  5174. # OFF   OFF   OFF   Selects 8 DATA bits, odd  parity, 1 STOP bit
  5175. #
  5176. # sw6   ON  sends bit 8 a 1 (mark)
  5177. #       OFF sends bit 8 as 0 (space) - Factory Setting
  5178. # sw7   ON  selects Block Mode
  5179. #       OFF selects Conversation Mode - Factory Setting
  5180. # sw8   ON  selects Full Duplex operation
  5181. #       OFF selects Half Duplex operation - Factory Setting
  5182. #
  5183. # S6 - Printer
  5184. # ------------
  5185. # sw1, sw2, sw6, sw7   Reserved - Factory 0
  5186. #
  5187. # Printer Port Selection
  5188. # same as Modem above, bit 8 (when 8 DATA bits) is always = 0
  5189. #
  5190. # sw8   ON   enables Printer Port
  5191. #       OFF disables Printer Port - Factory Setting
  5192. #
  5193. # S7 - Polling Address
  5194. # --------------------
  5195. # sw1-7 Establish ASCII character which designates terminal polling address
  5196. #       ON  = logic 0
  5197. #       OFF = logic 1 - Factory Setting
  5198. # sw8   ON   enables Polling Option
  5199. #       OFF disables Polling Option - Factory Setting
  5200. #
  5201. #
  5202. # On some older adm31s, S4 does not exist, and S5-sw6 is not defined.
  5203. #
  5204. # This adm31 entry uses underline as the standout mode.
  5205. # If the adm31 gives you trouble with standout mode, check the DIP switch in
  5206. # position 6, bank @c11, 25% from back end of the circuit board.  Should be
  5207. # OFF.  If there is no such switch, you have an old adm31 and must use oadm31.
  5208. # (adm31: removed obsolete ":ma=j^Jk^P^K^Pl ^R^L^L :" -- esr)
  5209. adm31|lsi adm31 with sw6 set for underline mode, 
  5210.     OTbs, am, mir, 
  5211.     cols#80, lines#24, 
  5212.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5213.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  5214.     dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, ind=^J, is2=\Eu\E0, 
  5215.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  5216.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  5217.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, rmir=\Er, rmso=\EG0, 
  5218.     rmul=\EG0, sgr0=\EG0, smir=\Eq, smso=\EG1, smul=\EG1, 
  5219. adm31-old|o31|old adm31, 
  5220.     rmul@, smso=\EG4, smul@, use=adm31, 
  5221. # LSI ADM-36 from Col. George L. Sicherman <gloria!colonel> via BRL
  5222. adm36|LSI ADM36, 
  5223.     OTbs, OTpt, 
  5224.     OTkn#4, 
  5225.     if=/usr/share/tabset/vt100, 
  5226.     is2=\E<\E>\E[6;?2;?7;?8h\E[4;20;?1;?3;?4;?5;?6;?18;?19l, 
  5227.     use=vt100, 
  5228. # (adm42: removed obsolete ":ma=^K^P:" -- esr)
  5229. adm42|lsi adm42, 
  5230.     OTbs, am, 
  5231.     cols#80, lines#24, 
  5232.     bel=^G, cbt=\EI, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5233.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  5234.     cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ht=^I, 
  5235.     il1=\EE$<270>, ind=^J, invis@, ip=$<6*>, kcub1=^H, kcud1=^J, 
  5236.     kcuf1=^L, kcuu1=^K, khome=^^, pad=\177, rmir=\Er, rmul@, 
  5237.     smir=\Eq, smul@, use=adm+sgr, 
  5238. # The following termcap for the Lear Siegler ADM-42 leaves the 
  5239. # "system line" at the bottom of the screen blank (for those who 
  5240. # find it distracting otherwise)
  5241. adm42-ns|lsi adm-42 with no system line, 
  5242.     cbt=\EI\EF \011, clear=\E;\EF \011, 
  5243.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<6>\EF \011, 
  5244.     dch1=\EW\EF \011, dl1=\ER\EF \011, ed=\EY\EF \011, 
  5245.     el=\ET\EF \011, il1=\EE\EF \011, rmir=\Er\EF \011, 
  5246.     smir=\Eq\EF \011, use=adm42, 
  5247. # ADM 1178 terminal -- rather like an ADM-42.  Manual is dated March 1 1985.
  5248. # The insert mode of this terminal is commented out because it's broken for our
  5249. # purposes in that it will shift the position of every character on the page,
  5250. # not just the cursor line!
  5251. # From: Michael Driscoll <fenris@lightspeed.net> 10 July 1996
  5252. adm1178|1178|lsi adm1178, 
  5253.     am, 
  5254.     cols#80, lines#24, xmc#1, 
  5255.     bel=^G, bold=\E(, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, 
  5256.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  5257.     cvvis=\EC\E3 \E3(, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, 
  5258.     home=^^, ht=^I, il1=\EE, ind=^J, ip=$<6*/>, kbs=^H, kcub1=^H, 
  5259.     kcud1=^J, nel=^M^J, pad=\177, rev=\EG4, rmso=\EG0, rmul=\EG0, 
  5260.     sgr0=\E), smso=\EG4, smul=\EG1, 
  5261.  
  5262. #### Prime
  5263. #
  5264. # Yes, Prime made terminals.  These entries were posted by Kevin J. Cummings
  5265. # <cummings@primerd.prime.com> on 14 Dec 1992 and lightly edited by esr.
  5266. # Prime merged with ComputerVision in the late 1980s; you can reach them at:
  5267. #
  5268. #    ComputerVision Services
  5269. #    500 Old Connecticut Path
  5270. #    Framingham, Mass.
  5271. #
  5272.  
  5273. # Standout mode is dim reverse-video.
  5274. pt100|pt200|wren|fenix|prime pt100/pt200, 
  5275.     am, bw, mir, msgr, 
  5276.     cols#80, it#8, lines#24, 
  5277.     cbt=\E[Z, clear=\E?, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  5278.     cud=\E[%p1%dB, cud1=\ED, cuf=\E[%p1%dC, cuf1=\E[C, 
  5279.     cup=\E0%p1%{33}%+%c%p2%{33}%+%c, cuu=\E[%p1%dA, 
  5280.     cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl1=\E[M, 
  5281.     ed=\E[J\E[r, el=\E[K\E[t, flash=\E$$<200/>\E$P, 
  5282.     home=\E$B, ht=^I, il1=\E[L\E[t, ind=^J, kbs=^H, kcub1=\E[D, 
  5283.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E$A, nel=^M^J, 
  5284.     rmcup=, rmir=\E[4l, rmkx=\E[>13l, rmso=\E[m, rmul=\E[m, 
  5285.     sgr0=\E[m, 
  5286.     smcup=\E[>1l\E[>2l\E[>16l\E[4l\E[>9l\E[20l\E[>3l\E[>7h\E[>12l\E[1Q, 
  5287.     smir=\E[4h, smkx=\E[>13h, smso=\E[2;7m, smul=\E[4m, 
  5288. pt100w|pt200w|wrenw|fenixw|prime pt100/pt200 in 132-column mode, 
  5289.     cols#132, 
  5290.     cup=\E[%i%p1%d;%p2%dH, use=pt100, 
  5291. pt250|Prime PT250, 
  5292.     rmso@, smso@, use=pt100, 
  5293. pt250w|Prime PT250 in 132-column mode, 
  5294.     rmso@, smso@, use=pt100w, 
  5295.  
  5296. #### Qume (qvt)
  5297. #
  5298. #    Qume, Inc.
  5299. #    3475-A North 1st Street
  5300. #    San Jose CA 95134
  5301. #    Vox: (800)-457-4447
  5302. #    Fax: (408)-473-1510
  5303. #    Net: josed@techsupp.wyse.com (Jose D'Oliveira)
  5304. #
  5305. # Qume was bought by Wyse, but still (as of early 1995) has its own support
  5306. # group and production division.
  5307. #
  5308. # Discontinued Qume models:
  5309. #
  5310. # The qvt101 and qvt102 listed here are long obsolete; so is the qvt101+
  5311. # built to replace them, and a qvt119+ which was a 101+ with available wide
  5312. # mode (132 columns).  There was a qvt103 which added vt100/vt131 emulations
  5313. # and an ANSI-compatible qvt203 that replaced it.  Qume started producing
  5314. # ANSI-compatible terminals with the qvt323 and qvt61.
  5315. #
  5316. # Current Qume models (as of February 1995):
  5317. #
  5318. # All current Qume terminals have ANSI-compatible operation modes.
  5319. # Qume is still producing the qvt62, which features emulations for other
  5320. # popular lines such as ADDS, and dual-host capabilities.  The qvt82 is
  5321. # designed for use as a SCO ANSI terminal.  The qvt70 is a color terminal
  5322. # with many emulations including Wyse370, Wyse 325, etc.  Their newest
  5323. # model is the qvt520, which is vt420-compatible.
  5324. #
  5325. # There are some ancient printing Qume terminals under `Daisy Wheel Printers'
  5326. #
  5327. # If you inherit a Qume without docs, try Ctrl-Shift-Setup to enter its
  5328. # setup mode.  Shift-s should be a configuration save to NVRAM.
  5329.  
  5330. qvt101|qvt108|qume qvt 101 and QVT 108, 
  5331.     xmc#1, use=qvt101+, 
  5332.  
  5333. # This used to have <cvvis=\E.2> but no <cnorm> or <civis>.  The BSD termcap
  5334. # file had <cvvis=\EM4 \200\200\200>.  I've done the safe thing and yanked 
  5335. # both. The <rev> is from BSD, which also claimed bold=\E( and dim=\E).
  5336. # What seems to be going on here is that this entry was designed so that
  5337. # the normal highlight is bold and standout is dim plus something else
  5338. # (reverse-video maybe?  But then, are there two <rev> sequences?)  
  5339. qvt101+|qvt101p|qume qvt 101 PLUS product, 
  5340.     am, bw, hs, ul, 
  5341.     cols#80, lines#24, xmc#0, 
  5342.     bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^J, 
  5343.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  5344.     dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
  5345.     flash=\Eb$<200>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
  5346.     ich1=\EQ, il1=\EE, ind=^J, invis@, kbs=^H, kcbt=\EI, kcub1=^H, 
  5347.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdl1=\ER, ked=\EY, kel=\ET, 
  5348.     kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
  5349.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  5350.     khome=^^, kich1=\EQ, kil1=\EE, mc4=\EA, mc5=\E@, rmso=\E(, 
  5351.     smso=\E0P\E), tbc=\E3, tsl=\Eg\Ef, use=adm+sgr, 
  5352. qvt102|qume qvt 102, 
  5353.     cnorm=\E., use=qvt101, 
  5354. # (qvt103: added <rmam>/<smam> based on init string -- esr)
  5355. qvt103|qume qvt 103, 
  5356.     am, xenl, xon, 
  5357.     cols#80, it#8, lines#24, vt#3, 
  5358.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  5359.     clear=\E[H\E[2J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  5360.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  5361.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  5362.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  5363.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, home=\E[H, ht=^I, 
  5364.     hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  5365.     kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, 
  5366.     rev=\E[7m$<2>, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E[?1l\E>, 
  5367.     rmso=\E[m$<2>, rmul=\E[m$<2>, 
  5368.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  5369.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>, 
  5370.     sgr0=\E[m$<2>, smam=\E[?7h, smkx=\E[?1h\E=, 
  5371.     smso=\E[7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  5372. qvt103-w|qume qvt103 132 cols, 
  5373.     cols#132, lines#24, 
  5374.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt103, 
  5375. qvt119+|qvt119p|qvt119|qume qvt 119 and 119PLUS terminals, 
  5376.     am, hs, mir, msgr, 
  5377.     cols#80, lines#24, xmc#0, 
  5378.     bel=^G, cbt=\EI, clear=\E*1, cnorm=\E.4, cr=^M, cub1=^H, 
  5379.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  5380.     cuu1=^K, cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, 
  5381.     el=\Et, flash=\En0$<200>\En1, fsl=^M, home=^^, ht=^I, 
  5382.     hts=\E1, il1=\EE, ind=^J, is2=\EDF\EC\EG0\Er\E(\E%EX, 
  5383.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, 
  5384.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  5385.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  5386.     mc4=\EA, mc5=\E@, ri=\EJ, rmir=\Er, smir=\Eq, smul=\EG8, 
  5387.     tbc=\E3, tsl=\Eg\Ef, use=adm+sgr, 
  5388. qvt119+-25|qvt119p-25|QVT 119 PLUS with 25 data lines, 
  5389.     lines#25, use=qvt119+, 
  5390. qvt119+-w|qvt119p-w|qvt119-w|QVT 119 and 119 PLUS in 132 column mode, 
  5391.     cols#132, 
  5392.     is2=\EDF\EC\EG0\Er\E(\E%\EX\En4, use=qvt119+, 
  5393. qvt119+-25-w|qvt119p-25-w|qvt119-25-w|QVT 119 and 119 PLUS 132 by 25, 
  5394.     lines#25, use=qvt119+, 
  5395. qvt203|qvt203+|qume qvt 203 Plus, 
  5396.     dch1=\E[P$<7>, dl1=\E[M$<99>, il1=\E[L$<99>, ind=\n$<30>, 
  5397.     ip=$<7>, kf0=\E[29~, kf1=\E[17~, kf2=\E[18~, kf3=\E[19~, 
  5398.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  5399.     kf9=\E[28~, rmir=\E[4l, smir=\E[4h, use=qvt103, 
  5400. qvt203-w|qvt203-w-am|qume qvt 203 PLUS in 132 cols (w/advanced video), 
  5401.     cols#132, lines#24, 
  5402.     rs2=\E>\E[?3h\E[?4l\E[?5l\E[?8h, use=qvt203, 
  5403. #
  5404. #    Since a command is present for enabling 25 data lines,
  5405. #    a specific terminfo entry may be generated for the 203.
  5406. #    If one is desired for the QVT 119 PLUS then 25 lines must
  5407. #    be selected in the status line (setup line 9).
  5408. #
  5409. qvt203-25|QVT 203 PLUS with 25 by 80 column mode, 
  5410.     cols#80, lines#25, 
  5411.     is2=\E[=40h\E[?3l, use=qvt203, 
  5412. qvt203-25-w|QVT 203 PLUS with 25 by 132 columns, 
  5413.     cols#132, lines#25, 
  5414.     rs2=\E[?3h\E[=40h, use=qvt203, 
  5415.  
  5416. #### Televideo (tvi)
  5417. #
  5418. #    TeleVideo
  5419. #    550 East Brokaw Road
  5420. #    PO Box 49048    95161
  5421. #    San Jose CA 95112
  5422. #    Vox: (408)-954-8333
  5423. #    Fax: (408)-954-0623
  5424. #
  5425. #
  5426. # There are some tvi terminals that require incredible amounts of padding and
  5427. # some that don't.  I'm assuming tvi912 and tvi920 are the old slow ones, and
  5428. # tvi912b, tvi912c, tvi920b, tvi920c are the new ones that don't need padding.
  5429. #
  5430. # All of these terminals (912 to 970 and the tvipt) are discontinued.  Newer
  5431. # Televideo terminals are ANSI and PC-ANSI compatible.
  5432.  
  5433. tvi803|televideo 803, 
  5434.     clear=\E*$<10>, use=tvi950, 
  5435.  
  5436. # Vanilla tvi910 -- W. Gish <cswarren@violet> 10/29/86
  5437. # Switch settings are:
  5438. # S1  1 2 3 4
  5439. #     D D D D  9600
  5440. #     D D D U    50
  5441. #     D D U D    75
  5442. #     D D U U   110
  5443. #     D U D D   135
  5444. #     D U D U   150
  5445. #     D U U D   300
  5446. #     D U U U   600
  5447. #     U D D D  1200
  5448. #     U D D U  1800
  5449. #     U D U D  2400
  5450. #     U D U U  3600
  5451. #     U U D D  4800
  5452. #     U U D U  7200
  5453. #     U U U D  9600
  5454. #     U U U U 19200
  5455. # S1  5 6 7 8
  5456. #     U D X D  7N1 (data bits, parity, stop bits) (X means ignored)
  5457. #     U D X U  7N2
  5458. #     U U D D  7O1
  5459. #     U U D U  7O2
  5460. #     U U U D  7E1
  5461. #     U U U U  7E2
  5462. #     D D X D  8N1
  5463. #     D D X U  8N2
  5464. #     D U D D  8O1
  5465. #     D U U U  8E2
  5466. # S1  9  Autowrap
  5467. #     U  on
  5468. #     D  off
  5469. # S1 10  CR/LF
  5470. #     U  do CR/LF when CR received
  5471. #     D  do CR when CR received
  5472. # S2  1  Mode
  5473. #     U  block
  5474. #     D  conversational
  5475. # S2  2  Duplex
  5476. #     U  half
  5477. #     D  full
  5478. # S2  3  Hertz
  5479. #     U  50
  5480. #     D  60
  5481. # S2  4  Edit mode
  5482. #     U  local
  5483. #     D  duplex
  5484. # S2  5  Cursor type
  5485. #     U  underline
  5486. #     D  block
  5487. # S2  6  Cursor down key
  5488. #     U  send ^J
  5489. #     D  send ^V
  5490. # S2  7  Screen colour
  5491. #     U  green on black
  5492. #     D  black on green
  5493. # S2  8  DSR status (pin 6)
  5494. #     U  disconnected
  5495. #     D  connected
  5496. # S2  9  DCD status (pin 8)
  5497. #     U  disconnected
  5498. #     D  duplex
  5499. # S2 10  DTR status (pin 20)
  5500. #     U  disconnected
  5501. #     D  duplex
  5502. # (tvi910: removed obsolete ":ma=^Kk^Ll^R^L:"; added <khome>, <cub1>, <cud1>,
  5503. # <ind>, <hpa>, <vpa>, <am>, <msgr> from SCO entry -- esr)
  5504. tvi910|televideo model 910, 
  5505.     OTbs, am, msgr, 
  5506.     cols#80, it#8, lines#24, xmc#1, 
  5507.     bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5508.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
  5509.     home=\E=\001\001, hpa=\E]%p1%{32}%+%c, ht=^I, 
  5510.     if=/usr/share/tabset/stdcrt, ind=^J, invis@, kbs=^H, 
  5511.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kf0=^AI\r, kf1=^A@\r, 
  5512.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5513.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  5514.     vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
  5515. # From: Alan R. Rogers <rogers%albany@csnet-relay>
  5516. # as subsequently hacked over by someone at SCO
  5517. # (tvi910+: removed obsolete ":ma=^K^P^L :" -- esr)
  5518. #
  5519. # Here are the 910+'s DIP switches (U = up, D = down, X = don't care):
  5520. #
  5521. # S1  1 2 3 4:
  5522. #     D D D D  9600     D D D U    50     D D U D    75     D D U U   110
  5523. #     D U D D   135     D U D U   150     D U U D   300     D U U U   600
  5524. #     U D D D  1200     U D D U  1800     U D U D  2400     U D U U  3600
  5525. #     U U D D  4800     U U D U  7200     U U U D  9600     U U U U 19200
  5526. #
  5527. # S1  5 6 7 8:
  5528. #     U D X D  7N1     U D X U  7N2     U U D D  7O1     U U D U  7O2
  5529. #     U U U D  7E1     U U U U  7E2     D D X D  8N1     D D X U  8N2
  5530. #     D U D D  8O1     D U U U  8E2
  5531. # S1  9  Autowrap            (U = on, D = off)
  5532. # S1 10  CR/LF               (U = CR/LF on CR received, D = CR on CR received)
  5533. # S2  1  Mode                (U = block, D = conversational)
  5534. # S2  2  Duplex              (U =  half, D = full)
  5535. # S2  3  Hertz               (U = 50, D = 60)
  5536. # S2  4  Edit mode           (U = local, D = duplex)
  5537. # S2  5  Cursor type         (U = underline, D = block)
  5538. # S2  6  Cursor down key     (U = send ^J, D = send ^V)
  5539. # S2  7  Screen colour       (U = green on black, D = black on green)
  5540. # S2  8  DSR status (pin 6)  (U = disconnected, D = connected)
  5541. # S2  9  DCD status (pin 8)  (U = disconnected, D = connected)
  5542. # S2 10  DTR status (pin 20) (U = disconnected, D = connected)
  5543. #
  5544. tvi910+|televideo 910+, 
  5545.     dch1=\EW, dl1=\ER$<33*>, home=^^, ich1=\EQ, il1=\EE$<33*>, 
  5546.     kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, 
  5547.     kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, 
  5548.     ll=\E=7\s, use=tvi910, 
  5549.  
  5550. # (tvi912: removed obsolete ":ma=^K^P^L :", added  <flash> and
  5551. # <khome> from BRL entry -- esr)
  5552. tvi912|tvi914|tvi920|old televideo 912/914/920, 
  5553.     OTbs, OTpt, am, msgr, 
  5554.     cols#80, it#8, lines#24, xmc#1, 
  5555.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5556.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  5557.     dl1=\ER$<33*>, ed=\Ey, el=\ET, flash=\Eb$<50/>\Ed, home=^^, 
  5558.     ht=^I, hts=\E1, ich1=\EQ, if=/usr/share/tabset/stdcrt, 
  5559.     il1=\EE$<33*>, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  5560.     kcuu1=^K, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
  5561.     kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
  5562.     kf9=^AH\r, khome=^^, rmso=\Ek, rmul=\Em, smso=\Ej, smul=\El, 
  5563.     tbc=\E3, 
  5564. # the 912 has a <funct> key that's like shift: <funct>8 xmits "^A8\r".
  5565. # The 920 has this plus real function keys that xmit different things.
  5566. # Terminfo makes you use the funct key on the 912 but the real keys on the 920.
  5567. tvi912c|tvi912b|new televideo 912, 
  5568.     dl1=\ER$<5*>, il1=\EE$<5*>, use=tvi912, 
  5569. # set to page 1 when entering curses application (\E-17 )
  5570. # reset to page 0 when exiting curses application (\E-07 )
  5571. tvi912-2p|tvi920-2p|tvi-2p|televideo w/2 pages, 
  5572.     rmcup=\E-07\s, smcup=\E-17\s, use=tvi912, 
  5573. # We got some new tvi912c terminals that act really weird on the regular 
  5574. # termcap, so one of our gurus worked this up. Seems that cursor 
  5575. # addressing is broken.
  5576. tvi912cc|tvi912 at cowell college, 
  5577.     cup@, use=tvi912c, 
  5578.  
  5579. # Here are the switch settings for the tvi920c:
  5580. #
  5581. # S1 (Line), and S3 (Printer) baud rates -- put one, and only one, switch down:
  5582. # 2: 9600    3: 4800        4: 2400        5: 1200
  5583. # 6:  600    7:  300        8:  150        9:   75
  5584. # 10: 110
  5585. #
  5586. # S2 UART/Terminal options:
  5587. #         Up            Down
  5588. # 1:        Not used        Not allowed
  5589. # 2:    Alternate character set      Standard character set
  5590. # 3:        Full duplex            Half duplex
  5591. # 4:        50 Hz refresh        60 Hz refresh
  5592. # 5:          No parity             Send parity
  5593. # 6:         2 stop bits         1 stop bit
  5594. # 7:         8 data bits         7 data bits
  5595. # 8:        Not used        Not allowed on Rev E or lower
  5596. # 9:         Even parity         Odd parity
  5597. # 10:        Steady cursor        Blinking cursor
  5598. #     (On Rev E or lower, use W25 instead of switch 10.)
  5599. # S5 UART/Terminal options:
  5600. #         Open            Closed
  5601. # 1:    P3-6 Not connected    DSR received on P3-6
  5602. # 2:    P3-8 Not connected    DCD received on P3-8
  5603. #
  5604. # 3 Open, 4 Open:        P3-20 Not connected
  5605. # 3 Open, 4 Closed:    DTR on when terminal is on
  5606. # 3 Closed, 4 Open:    DTR is connected to RTS
  5607. # 3 Closed, 4 Closed:    Not allowed
  5608. #
  5609. # 5 Closed:    HDX printer (hardware control) Rev. K with extension port off,
  5610. #         all data transmitted out of the modem port (P3) will also be
  5611. #         transmitted out of the printer port (P4).
  5612. #
  5613. # 6 Open, 7 Open:        Not allowed
  5614. # 6 Open, 7 Closed:    20ma current loop input
  5615. # 6 Closed, 7 Open:    RS232 input
  5616. # 6 Closed, 7 Closed:    Not allowed
  5617. #
  5618. # Jumper options:
  5619. # If the jumper is installed, the effect will occur (the next time the terminal
  5620. # is switched on).
  5621. #
  5622. # S4/W31:    Enables automatic LF upon receipt of CR from
  5623. #         remote or keyboard.
  5624. # S4/W32:    Enables transmission of EOT at the end of Send.  If not 
  5625. #         installed, a carriage return is sent.
  5626. # S4/W33:    Disables automatic carriage return in column 80.
  5627. # S4/W34:    Selects Page Print Mode as initial condition.  If not 
  5628. #         installed, Extension Mode is selected.
  5629. #
  5630. tvi920b|tvi920c|new televideo 920, 
  5631.     dl1=\ER$<5*>, il1=\EE$<5*>, kf0=^AI\r, kf1=^A@\r, 
  5632.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  5633.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, use=tvi912, 
  5634.  
  5635. # Televideo 921 and variants
  5636. # From: Tim Theisen <tim@cs.wisc.edu> 22 Sept 1995
  5637. # (tvi921: removed :ko=bt: before translation, I see no backtab cap;
  5638. # also added empty <acsc> to suppress tic warning -- esr)
  5639. tvi921|televideo model 921 with sysline same as page & real vi function, 
  5640.     OTbs, OTpt, am, hs, xenl, xhp, 
  5641.     cols#80, lines#24, xmc#0, 
  5642.     acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
  5643.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
  5644.     cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
  5645.     el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
  5646.     if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, invis@, 
  5647.     is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, kcub1=^H, 
  5648.     kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER$<1*/>, 
  5649.     ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, nel=^M^J, rmacs=\E%%, 
  5650.     rmir=, smacs=\E$, smir=, tsl=\Ef\EG0, use=adm+sgr, 
  5651. # without the beeper
  5652. # (tvi92B: removed :ko=bt: before translation, I see no backtab cap;
  5653. # also added empty <acsc> to suppress tic warning -- esr)
  5654. tvi92B|televideo model 921 with sysline same as page & real vi function & no beeper, 
  5655.     am, hs, xenl, xhp, 
  5656.     cols#80, lines#24, xmc#0, 
  5657.     acsc=, clear=^Z, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, cuf1=^L, 
  5658.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<3/>, cuu1=^K, 
  5659.     cvvis=\E.2, dch1=\EW, dl1=\ER$<1*/>, dsl=\Ef\r\Eg, ed=\EY, 
  5660.     el=\ET, flash=\Eb$<200/>\Ed, fsl=\Eg, home=^^, ht=^I, 
  5661.     ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
  5662.     invis@, is2=\El\E"\EF1\E.3\017\EA\E<, kbs=^H, kclr=^Z, 
  5663.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  5664.     kdl1=\ER$<1*/>, ked=\EY, kel=\ET, kich1=\EQ, kil1=\EE, 
  5665.     nel=^M^J, rmacs=\E%%, smacs=\E$, tsl=\Ef\EG0, use=adm+sgr, 
  5666. # (tvi92D: removed :ko=bt: before translation, I see no backtab cap -- esr)
  5667. tvi92D|tvi92B with DTR instead of XON/XOFF & better padding, 
  5668.     dl1=\ER$<2*/>, il1=\EE$<2*/>, 
  5669.     is2=\El\E"\EF1\E.3\016\EA\E<, kdl1=\ER$<2*/>, 
  5670.     kil1=\EE$<2*/>, use=tvi92B, 
  5671.  
  5672. # (tvi924: This used to have <dsl=\Es0>, <fsl=\031>.  I put the new strings
  5673. # in from a BSD termcap file because it looks like they do something the
  5674. # old ones skip -- esr)
  5675. tvi924|televideo tvi924, 
  5676.     am, bw, hs, in, mir, msgr, xenl, xon, 
  5677.     cols#80, it#8, lines#24, wsl#80, xmc#0, 
  5678.     bel=^G, blink=\EG2, cbt=\EI, civis=\E.0, clear=\E*0, 
  5679.     cnorm=\E.3, cr=^M, csr=\E_%p1%{32}%+%c%p2%{32}%+%c, 
  5680.     cub1=^H, cud1=^V, cuf1=^L, 
  5681.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, cvvis=\E.1, 
  5682.     dch1=\EW, dl1=\ER, dsl=\Es0\Ef\031, ed=\Ey, el=\Et, 
  5683.     flash=\Eb$<200>\Ed, fsl=\031\Es1, home=^^, ht=^I, hts=\E1, 
  5684.     ich1=\EQ, if=/usr/share/tabset/stdcrt, il1=\EE, ind=^J, 
  5685.     invis@, is1=\017\E%\E'\E(\EDF\EC\EG0\EN0\Es0\Ev0, 
  5686.     kbs=^H, kclr=\E*0, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
  5687.     kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A@\r, kf1=^AA\r, 
  5688.     kf10=^AJ\r, kf11=^AK\r, kf12=^AL\r, kf13=^AM\r, kf14=^AN\r, 
  5689.     kf15=^AO\r, kf2=^AB\r, kf3=^AC\r, kf4=^AD\r, kf5=^AE\r, 
  5690.     kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, kf9=^AI\r, khome=^^, 
  5691.     kich1=\EQ, kil1=\EE, lf0=F1, lf1=F2, lf10=F11, lf2=F3, lf3=F4, 
  5692.     lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, 
  5693.     pfkey=\E|%p1%{49}%+%c%p2%s\031, ri=\Ej, tbc=\E3, tsl=\Ef, 
  5694.     use=adm+sgr, 
  5695.  
  5696. # TVI925 DIP switches.  In each of these, D = Down and U = Up,
  5697. #
  5698. # Here are the settings for the external (baud) switches (S1):
  5699. #
  5700. #             Position        Baud
  5701. # 7    8    9    10        [Printer]
  5702. # 1    2    3    4        [Main RS232]
  5703. # -----------------------------------------------------
  5704. # D    D    D    D    9600
  5705. # D    D    D    U      50
  5706. # D    D    U    D      75
  5707. # D    D    U    U     110
  5708. # D    U    D    D     135
  5709. # D    U    D    U     150
  5710. # D    U    U    D     300
  5711. # D    U    U    U     600
  5712. # U    D    D    D    1200
  5713. # U    D    D    U    1800
  5714. # U    D    U    D    2400
  5715. # U    D    U    U    3600
  5716. # U    U    D    D    4800
  5717. # U    U    D    U    7200
  5718. # U    U    U    D    9600
  5719. # U    U    U    U    19200
  5720. # Settings for word length and stop-bits (S1)
  5721. #
  5722. #  Position    Description
  5723. # 5    6    
  5724. # ---------------------------
  5725. # U    -    7-bit word
  5726. # D    -    8-bit word
  5727. # -    U    2 stop bits
  5728. # -    D    1 stop bit
  5729. # S2 (external) settings
  5730. #
  5731. # Position    Up    Dn    Description
  5732. # --------------------------------------------
  5733. # 1        X        Local edit
  5734. #             X    Duplex edit (transmit editing keys)
  5735. # --------------------------------------------
  5736. # 2        X        912/920 emulation
  5737. #             X    925
  5738. # --------------------------------------------
  5739. # 3            X
  5740. # 4            X    No parity
  5741. # 5            X    
  5742. # --------------------------------------------
  5743. # 3            X
  5744. # 4            X    Odd parity
  5745. # 5        X    
  5746. # --------------------------------------------
  5747. # 3            X
  5748. # 4        X        Even parity
  5749. # 5        X    
  5750. # --------------------------------------------
  5751. # 3        X    
  5752. # 4            X    Mark parity
  5753. # 5        X        
  5754. # --------------------------------------------
  5755. # 3        X
  5756. # 4        X        Space parity
  5757. # 5        X
  5758. # --------------------------------------------
  5759. # 6        X        White on black display
  5760. #             X    Black on white display
  5761. # --------------------------------------------
  5762. # 7            X    Half Duplex
  5763. # 8            X
  5764. # --------------------------------------------
  5765. # 7        X        Full Duplex
  5766. # 8            X    
  5767. # --------------------------------------------
  5768. # 7            X    Block mode
  5769. # 8        X    
  5770. # --------------------------------------------
  5771. # 9            X    50 Hz
  5772. #         X        60 Hz
  5773. # --------------------------------------------
  5774. # 10        X        CR/LF (Auto LF)
  5775. #             X    CR only
  5776. # S3 (internal switch) settings:
  5777. # Position    Up    Dn    Description
  5778. # --------------------------------------------
  5779. # 1        X        Keyclick off 
  5780. #             X    Keyclick on
  5781. # --------------------------------------------
  5782. # 2            X    English
  5783. # 3            X    
  5784. # --------------------------------------------
  5785. # 2            X    German
  5786. # 3        X        
  5787. # --------------------------------------------
  5788. # 2        X        French
  5789. # 3            X    
  5790. # --------------------------------------------
  5791. # 2        X        Spanish
  5792. # 3        X    
  5793. # --------------------------------------------
  5794. # 4            X    Blinking block cursor
  5795. # 5            X    
  5796. # --------------------------------------------
  5797. # 4            X    Blinking underline cursor
  5798. # 5        X        
  5799. # --------------------------------------------
  5800. # 4        X        Steady block cursor
  5801. # 5            X    
  5802. # --------------------------------------------
  5803. # 4        X        Steady underline cursor
  5804. # 5        X    
  5805. # --------------------------------------------
  5806. # 6        X        Screen blanking timer (ON)
  5807. #             X    Screen blanking timer (OFF)
  5808. # --------------------------------------------
  5809. # 7        X        Page attributes
  5810. #             X    Line attributes
  5811. # --------------------------------------------
  5812. # 8        X        DCD disconnected
  5813. #             X    DCD connected
  5814. # --------------------------------------------
  5815. # 9        X        DSR disconnected
  5816. #             X    DSR connected
  5817. # --------------------------------------------
  5818. # 10        X        DTR Disconnected
  5819. #             X    DTR connected
  5820. # --------------------------------------------
  5821. #
  5822. # (tvi925: BSD has <clear=\E*>.  I got <is2> and <ri> from there -- esr)
  5823. tvi925|televideo 925, 
  5824.     OTbs, am, bw, hs, ul, 
  5825.     cols#80, lines#24, xmc#1, 
  5826.     bel=^G, cbt=\EI, clear=^Z, cnorm=\E.4, cr=^M, cub1=^H, cud1=^V, 
  5827.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  5828.     cvvis=\E.2, dch1=\EW, dl1=\ER, dsl=\Eh, ed=\EY, el=\ET, 
  5829.     flash=\Eb$<200>\Ed, fsl=^M\Eg, home=^^, ht=^I, hts=\E1, 
  5830.     ich1=\EQ, il1=\EE, ind=^J, invis@, is2=\El\E", kbs=^H, kclr=^Z, 
  5831.     kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  5832.     ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, 
  5833.     kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, 
  5834.     kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, ri=\Ej, tbc=\E3, 
  5835.     tsl=\Eh\Ef, use=adm+sgr, 
  5836. # TeleVideo 925 from Mitch Bradley <sun!wmb> via BRL
  5837. # to avoid "magic cookie" standout glitch:
  5838. tvi925-hi|TeleVideo Model 925 with half intensity standout mode, 
  5839.     xmc@, 
  5840.     kbs=^H, kcub1=^H, kcud1=^J, rmso=\E(, smso=\E), use=tvi925, 
  5841.  
  5842. # From: Todd Litwin <litwin@litwin.jpl.nasa.gov> 28 May 1993
  5843. # Originally Tim Curry, Univ. of Central Fla., <duke!ucf-cs!tim> 5/21/82
  5844. # for additional capabilities, 
  5845. # The following tvi descriptions from B:pjphar and virus!mike
  5846. # is for all 950s.  It sets the following attributes:
  5847. # full duplex (\EDF)        write protect off (\E()
  5848. # conversation mode (\EC)    graphics mode off (\E%)
  5849. # white on black (\Ed)        auto page flip off (\Ew)
  5850. # turn off status line (\Eg)    clear status line (\Ef\r)
  5851. # normal video (\E0)        monitor mode off (\EX or \Eu)
  5852. # edit mode (\Er)        load blank char to space (\Ee\040)
  5853. # line edit mode (\EO)        enable buffer control (^O)
  5854. # protect mode off (\E\047)    duplex edit keys (\El)
  5855. # program unshifted send key to send line all (\E016)
  5856. # program shifted send key to send line unprotected (\E004)
  5857. # set the following to nulls:
  5858. #    field delimiter (\Ex0\200\200)
  5859. #    line delimiter (\Ex1\200\200)
  5860. #    start-protected field delimiter (\Ex2\200\200)
  5861. #    end-protected field delimiter (\Ex3\200\200)
  5862. # set end of text delimiter to carriage return/null (\Ex4\r\200)
  5863. #                     TVI 950 Switch Setting Reference Charts
  5864. #                                     TABLE 1:
  5865. #      S1     1     2     3     4     5     6     7     8     9    10
  5866. #          +-----------------------+-----+-----+-----------------------+
  5867. #          | Computer Baud Rate    |Data |Stop | Printer Baud Rate     |
  5868. #          |                       |Bits |Bits |                       |
  5869. #   +------+-----------------------+-----+-----+-----------------------+
  5870. #   |  Up  |        See            |  7  |  2  |        See            |
  5871. #   +------+-----------------------+-----+-----+-----------------------+
  5872. #   | Down |      TABLE 2          |  8  |  1  |      TABLE 2          |
  5873. #   +------+-----------------------+-----+-----+-----------------------+
  5874. #      S2     1     2     3     4     5     6     7     8     9    10
  5875. #          +-----+-----+-----------------+-----+-----------+-----+-----+
  5876. #          |Edit |Cursr|    Parity       |Video|Transmiss'n| Hz  |Click|
  5877. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  5878. #   |  Up  | Dplx|Blink|      See        |GonBk|   See     | 60  | Off |
  5879. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  5880. #   | Down |Local|St'dy|    TABLE 3      |BkonG|  CHART    | 50  | On  |
  5881. #   +------+-----+-----+-----------------+-----+-----------+-----+-----+
  5882. #  
  5883. #                                    TABLE 2:
  5884. #             +-----------+-----+-----+-----+-----+-----------+
  5885. #             | Display   |  1  |  2  |  3  |  4  |   Baud    |
  5886. #             +-----------+-----+-----+-----+-----+           |
  5887. #             | Printer   |  7  |  8  |  9  | 10  |   Rate    |
  5888. #             +-----------+-----+-----+-----+-----+-----------+
  5889. #                         |  D  |  D  |  D  |  D  |   9600    |
  5890. #                         |  U  |  D  |  D  |  D  |     50    |
  5891. #                         |  D  |  U  |  D  |  D  |     75    |
  5892. #                         |  U  |  U  |  D  |  D  |    110    |
  5893. #                         |  D  |  D  |  U  |  D  |    135    |
  5894. #                         |  U  |  D  |  U  |  D  |    150    |
  5895. #                         |  D  |  U  |  U  |  D  |    300    |
  5896. #                         |  U  |  U  |  U  |  D  |    600    |
  5897. #                         |  D  |  D  |  D  |  U  |   1200    |
  5898. #                         |  U  |  D  |  D  |  U  |   1800    |
  5899. #                         |  D  |  U  |  D  |  U  |   2400    |
  5900. #                         |  U  |  U  |  D  |  U  |   3600    |
  5901. #                         |  D  |  D  |  U  |  U  |   4800    |
  5902. #                         |  U  |  D  |  U  |  U  |   7200    |
  5903. #                         |  D  |  U  |  U  |  U  |   9600    |
  5904. #                         |  U  |  U  |  U  |  U  |  19200    |
  5905. #                         +-----+-----+-----+-----+-----------+
  5906. #                                    TABLE 3:
  5907. #                         +-----+-----+-----+-----------+
  5908. #                         |  3  |  4  |  5  |   Parity  |
  5909. #                         +-----+-----+-----+-----------+
  5910. #                         |  X  |  X  |  D  |    None   |
  5911. #                         |  D  |  D  |  U  |     Odd   |
  5912. #                         |  D  |  U  |  U  |    Even   |
  5913. #                         |  U  |  D  |  U  |    Mark   |
  5914. #                         |  U  |  U  |  U  |   Space   |
  5915. #                         +-----+-----+-----+-----------+
  5916. #                                 X = don't care
  5917. #                                     CHART:
  5918. #                         +-----+-----+-----------------+
  5919. #                         |  7  |  8  | Communication   |
  5920. #                         +-----+-----+-----------------+
  5921. #                         |  D  |  D  |  Half Duplex    |
  5922. #                         |  D  |  U  |  Full Duplex    |
  5923. #                         |  U  |  D  |     Block       |
  5924. #                         |  U  |  U  |     Local       |
  5925. #                         +-----+-----+-----------------+
  5926. # (tvi950: early versions had obsolete ":ma=^Vj^Kk^Hh^Ll^^H:". 
  5927. # I also inserted <ich1> and <kich1>; the :ko: string indicated that <ich> 
  5928. # should be present and all tvi native modes use the same string for this.
  5929. # Finally, note that BSD has cud1=^V. -- esr) 
  5930. tvi950|televideo 950, 
  5931.     OTbs, am, hs, mir, msgr, xenl, xon, 
  5932.     cols#80, it#8, lines#24, xmc#1, 
  5933.     acsc=b\011c\014d\re\ni\013, bel=^G, cbt=\EI, clear=\E*, 
  5934.     cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  5935.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  5936.     dl1=\ER, dsl=\Eg\Ef\r, ed=\Ey, el=\Et, flash=\Eb$<200/>\Ed, 
  5937.     fsl=^M, home=^^, ht=^I, hts=\E1, ich1=\EQ, il1=\EE, ind=^J, 
  5938.     invis@, 
  5939.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\Ef\r, 
  5940.     kbs=^H, kcbt=\EI, kclr=\E*, kcub1=^H, kcud1=^V, kcuf1=^L, 
  5941.     kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\Ey, kel=\Et, kf0=^A0\r, 
  5942.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  5943.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  5944.     kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, ri=\Ej, rmacs=^X, 
  5945.     rmir=\Er, smacs=^U, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
  5946.     use=adm+sgr, 
  5947. #
  5948. # is for 950 with two pages adds the following:
  5949. #    set 48 line page (\E\\2)
  5950. #    place cursor at page 0, line 24, column 1 (\E-07 )
  5951. #    set local (no send) edit keys (\Ek)
  5952. #
  5953. # two page 950 adds the following:
  5954. #    when entering ex, set 24 line page (\E\\1)
  5955. #    when exiting ex, reset 48 line page (\E\\2)
  5956. #             place cursor at 0,24,1 (\E-07 )
  5957. #    set duplex (send) edit keys (\El) when entering vi
  5958. #    set local (no send) edit keys (\Ek) when exiting vi
  5959. #
  5960. tvi950-2p|televideo950 w/2 pages, 
  5961.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07 \011, 
  5962.     rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  5963.     smkx=\El, use=tvi950, 
  5964. #
  5965. # is for 950 with four pages adds the following:
  5966. #    set 96 line page (\E\\3)
  5967. #    place cursor at page 0, line 24, column 1 (\E-07 )
  5968. #
  5969. # four page 950 adds the following:
  5970. #    when entering ex, set 24 line page (\E\\1)
  5971. #    when exiting ex, reset 96 line page (\E\\3)
  5972. #             place cursor at 0,24,1 (\E-07 )
  5973. #
  5974. tvi950-4p|televideo950 w/4 pages, 
  5975.     is2=\EDF\EC\Ed\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07 \011, 
  5976.     rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  5977.     smkx=\El, use=tvi950, 
  5978. #
  5979. # <is2> for reverse video 950 changes the following:
  5980. #    set reverse video (\Ed)
  5981. #
  5982. # set vb accordingly (\Ed ...delay... \Eb)
  5983. #
  5984. tvi950-rv|televideo950 rev video, 
  5985.     flash=\Ed$<200/>\Eb, 
  5986.     is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\El\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0, 
  5987.     use=tvi950, 
  5988.  
  5989. # tvi950-rv-2p uses the appropriate entries from 950-2p and 950-rv
  5990. tvi950-rv-2p|televideo950 rev video w/2 pages, 
  5991.     flash=\Ed$<200/>\Eb, 
  5992.     is2=\EDF\EC\Eb\EG0\Eg\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\2\E-07\s, 
  5993.     rmcup=\E\\2\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  5994.     smkx=\El, use=tvi950, 
  5995.  
  5996. # tvi950-rv uses the appropriate entries from 950-4p and 950-rv
  5997. tvi950-rv-4p|televideo950 rev video w/4 pages, 
  5998.     flash=\Ed$<200/>\Eb, 
  5999.     is2=\EDF\EC\Eb\EG0\Er\EO\E'\E(\E%\Ew\EX\Ee \017\011\Ek\E016\E004\Ex0\0\0\Ex1\0\0\Ex2\0\0\011\Ex3\0\0\Ex4\r\0\E\\3\E-07\s, 
  6000.     rmcup=\E\\3\E-07\s, rmkx=\Ek, smcup=\E\\1\E-07\s, 
  6001.     smkx=\El, use=tvi950, 
  6002. # From: Andreas Stolcke <stolcke@icsi.berkeley.edu>
  6003. # (tvi955: removed obsolete ":ma:=^Vj^Kk^Hh^Ll^^H";
  6004. # removed incorrect (and overridden) ":do=^J:"; fixed broken continuations in
  6005. # the :rs: string, inserted the <ich> implied by the termcap :ko: string.  Note
  6006. # the :ko: string had :cl: in it, which means that one of the original
  6007. # <clear=\E*>, <kclr=\EY> had to be wrong; set <kclr=\E*> because that's what
  6008. # the 950 has.   Finally, corrected the <kel> string to match the 950 and what
  6009. # ko implies -- esr)
  6010. # If the BSD termcap file was right, <cup=\E=%p1%{32}%+%c%p2%{32}%+%c> would
  6011. # also work.
  6012. tvi955|televideo 955, 
  6013.     OTbs, mc5i, msgr@, 
  6014.     it#8, xmc@, 
  6015.     acsc=0_`RjHkGlFmEnIoPqKsQtMuLvOwNxJ, blink=\EG2, 
  6016.     civis=\E.0, cnorm=\E.2, cud1=^V, cup=\E[%i%p1%d;%p2%dH, 
  6017.     cvvis=\E.1, dim=\E[=5h, ind@, invis=\EG1, 
  6018.     is2=\E[=3l\EF1\Ed\EG0\E[=5l\E%\El, kctab=\E2, khts=\E1, 
  6019.     knp=\EK, kpp=\EJ, krmir=\EQ, ktbc=\E3, mc0=\EP, rmacs=\E%%, 
  6020.     rmam=\E[=7l, rmxon=^N, 
  6021.     rs1=\EDF\EC\Eg\Er\EO\E'\E(\Ew\EX\Ee \017\E0P\E6\0\E0p\E4\0\Ef\r, 
  6022.     sgr0=\EG0\E[=5l, smacs=\E$, smam=\E[=7h, smxon=^O, 
  6023.     use=tvi950, 
  6024. tvi955-w|955-w|televideo955 w/132 cols, 
  6025.     cols#132, 
  6026.     is2=\E[=3h\EF1\Ed\EG0\E[=5l\E%\El, use=tvi955, 
  6027. # use half-intensity as normal mode, full intensity as <bold>
  6028. tvi955-hb|955-hb|televideo955 half-bright, 
  6029.     bold=\E[=5l, dim@, is2=\E[=3l\EF1\Ed\EG0\E[=5h\E%\El, 
  6030.     sgr0=\EG0\E[=5h, use=tvi955, 
  6031. # From: Humberto Appleton <beto@cs.utexas.edu>, 880521 UT Austin
  6032. # (tvi970: removed ":sg#0:"; removed <rmso>=\E[m, <rmul>=\E[m;
  6033. # added <am>/<csr>/<home>/<hpa>/<vpa>/<smcup>/<rmcup> from BRL.
  6034. # According to BRL we could have <rmkx>=\E>, <smkx>=\E= but I'm not sure what
  6035. # it does to the function keys.  I deduced <rmam>/<smam>.
  6036. # also added empty <acsc> to suppress tic warning,  -- esr)
  6037. tvi970|televideo 970, 
  6038.     OTbs, OTpt, am, da, db, mir, msgr, 
  6039.     cols#80, it#8, lines#24, 
  6040.     acsc=, cbt=\E[Z, clear=\E[H\E[2J, csr=\E[%i%p1%d;%p2%dr, 
  6041.     cub1=^H, cud1=\ED, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
  6042.     cuu1=\EM, cvvis=\E[1Q, dch1=\E[P, dl1=\E[M, dsl=\Eg\Ef\r, 
  6043.     ed=\E[J, el=\E[K, flash=\E[5m$<200/>\E[m, home=\E[H, 
  6044.     hpa=\E[%i%p1%dG, ht=^I, il1=\E[L, 
  6045.     is2=\E<\E[?21l\E[19h\E[1Q\E[10l\E[7l\E[H\E[2J, 
  6046.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  6047.     kf1=\E?a, kf2=\E?b, kf3=\E?c, kf4=\E?d, kf5=\E?e, kf6=\E?f, 
  6048.     kf7=\E?g, kf8=\E?h, kf9=\E?i, khome=\E[H, ri=\EM, rmacs=\E(B, 
  6049.     rmam=\E[?7h, rmcup=, rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
  6050.     sgr0=\E[m, smacs=\E(B, smam=\E[?7l, 
  6051.     smcup=\E[?20l\E[?7h\E[1Q, smir=\E[4h, smso=\E[7m, 
  6052.     smul=\E[4m, vpa=\E[%i%p1%dd, 
  6053. tvi970-vb|televideo 970 with visual bell, 
  6054.     flash=\E[?5h\0\0\0\0\0\0\0\0\0\0\0\0\0\E[?5l, 
  6055.     use=tvi970, 
  6056. tvi970-2p|televideo 970 with using 2 pages of memory, 
  6057.     rmcup=\E[H\E[J\E[V, smcup=\E[U\E[?20l\E[?7h\E[1Q, 
  6058.     use=tvi970, 
  6059. # Works with vi and rogue.  NOTE: Esc v sets autowrap on, Esc u sets 80 chars
  6060. # per line (rather than 40), Esc K chooses the normal character set.  Not sure
  6061. # padding is needed, but adapted from the tvi920c termcap.  The <smso> and 
  6062. # <smul> strings are klutzy, but at least use no screen space.
  6063. # (tvipt: removed obsolete ":ma=^Kk^Ll^R^L:".  I wish we knew <rmam>,
  6064. # its absence means <smam>=\Ev isn't safe to use. -- esr)
  6065. # From: Gene Rochlin <armsis@amber.berkeley.edu> 9/19/84. 
  6066. # The <ed>/<kf0>/<kf1>/<khome>/<mc4>, and <mc5> caps are from BRL, which says:
  6067. # F1 and F2 should be programmed as ^A and ^B; required for UNIFY.
  6068. tvipt|televideo personal terminal, 
  6069.     OTbs, am, 
  6070.     cols#80, lines#24, 
  6071.     cbt=\EI, clear=^Z, cub1=^H, cuf1=^L, 
  6072.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER$<5*>, 
  6073.     ed=\EY, el=\ET, home=^^, if=/usr/share/tabset/stdcrt, 
  6074.     il1=\EE$<5*>, is2=\Ev\Eu\EK, kbs=^H, kcub1=^H, kcud1=^J, 
  6075.     kcuf1=^L, kcuu1=^K, kf0=^A, kf1=^B, khome=^^, mc4=^T, mc5=^R, 
  6076.     rmso=\EF, rmul=\EF, smso=\EG1@A\EH, smul=\EG1B@\EH, 
  6077. # From: Nathan Peterson <nathan@sco.com>, 03 Sep 1996
  6078. tvi9065|televideo 9065, 
  6079.     am, bw, chts, hs, mc5i, mir, msgr, xenl, xon, 
  6080.     cols#80, it#8, lh#1, lines#25, lm#0, lw#9, ma#4, nlab#8, vt#0, 
  6081.     wnum#0, wsl#30, 
  6082.     acsc='r0_jhkglfmeniopqksqtmulvownxj, bel=^G, 
  6083.     blink=\EG2, bold=\EG\,, cbt=\EI, civis=\E.0, clear=^Z, 
  6084.     cnorm=\E.3, cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, 
  6085.     cub1=^H, cud=\E[%p1%dB, cud1=^V, cuf=\E[%p1%dC, cuf1=^L, 
  6086.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu=\E[%p1%dA, 
  6087.     cuu1=^K, cvvis=\E.2, dch=\E[%p1%dP, dch1=\EW, dim=\EGp, 
  6088.     dl=\E[%p1%dM, dl1=\ER, dsl=\E_30\r, ech=\E[%p1%d@, ed=\EY, 
  6089.     el=\ET, flash=\Eb$<15>\Ed, fsl=^M, home=^^, ht=^I, hts=\E1, 
  6090.     ich=\E[%p1%d@, if=/usr/share/tabset/stdcrt, 
  6091.     il=\E[%p1%dL, il1=\EE, ind=^J, indn=\E[%p1%dS, invis=\EG1, 
  6092.     ip=$<3>, 
  6093.     is1=\E"\E%\E'\E(\EG@\EO\EX\E[=5l\E[=6l\E[=7h\Ed\Er, 
  6094.     is2=\EF2\EG0\E\\L, is3=\E<\E[=4l\E[=8h, kHOM=\E\s\s\s, 
  6095.     kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, 
  6096.     kdch1=\EW, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, 
  6097.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  6098.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, ll=\E[25;1H, 
  6099.     mc0=\E[0;0i, mc4=\Ea, mc5=\E`, nel=^M^J, 
  6100.     pfkey=\E|%p1%{48}%+%c3%p2%s\031, 
  6101.     pfloc=\E|%p1%{48}%+%c2%p2%s\031, 
  6102.     pfx=\E|%p1%{48}%+%c1%p2%s\031, 
  6103.     pln=\E_%p1%{63}%+%c%p2%s\r, prot=\E&, 
  6104.     rep=\E[%p2%db%p1%c, rev=\EG4, 
  6105.     rf=/usr/share/tabset/stdcrt, ri=\Ej, rin=\E[%p1%dT, 
  6106.     rmacs=\E%%, rmam=\E[=7l, rmcup=\E.3\Er\E[1;25r\E[25;0H, 
  6107.     rmdc=\0, rmir=\Er, rmln=\E[4;1v, rmso=\EG0, rmul=\EG0, 
  6108.     rmxon=^N, rs1=\EC\EDF\E[0;0v\E[8;1v\E[=65l, 
  6109.     rs2=\E.b\E[10;20v\E[14;1v\E[3;0v\E[7;0v\E[=11.h\E[=12.h\E[=13.h\E[=14.h\E[=15l\E[=20h\E[=60l\E[=61h\E[=9l\E[=10l\E[=21l\E[=23l\E[=3l\E_40\E_50\En\Ew\Ee \Ex0\0\0\Ex1\0\0\Ex2\0\0\Ex3\0\0\Ex4\0\0\E1, 
  6110.     rs3=\E[=19h\E.3\E9\E0O\0\0\0\0\0\E0o\0\0\0\0\0\E0J\177\0\0\0\0, 
  6111.     sgr=\EG0%?%p1%t\EGt%;%?%p2%t\EG8%;%?%p3%t\EG4%;%?%p4%t\EG2%;%?%p5%t\EGp%;%?%p6%t\EG\,%;%?%p7%t\EG1%;%?%p9%t\E$%e\E%%%;, 
  6112.     sgr0=\EG0, smacs=\E$, smam=\E=7h, smcup=\E.2, smdc=\Er, 
  6113.     smir=\Eq, smln=\E[4;2v, smso=\EGt, smul=\EG8, smxon=^O, 
  6114.     tbc=\E3, tsl=\E[4;1v\E_30, uc=\EG8\EG0, 
  6115.  
  6116. #### Visual (vi)
  6117. #
  6118. # In September 1993, Visual Technology of Westboro, Massachusetts,
  6119. # merged with White Pine Software of Nashua, New Hampshire.
  6120. #
  6121. # White Pine Software may be contacted at +1 603/886-9050.
  6122. # Or visit White Pine on the World Wide Web at URL http://www.wpine.com.
  6123. #
  6124.  
  6125. # Visual 50 from Beau Shekita, BTL-Whippany <whuxlb!ejs>
  6126. # Recently I hacked together the following termcap for Visual
  6127. # Technology's Visual 50 terminal. It's a slight modification of
  6128. # the vt52 termcap. 
  6129. # It's intended to run when the Visual 50 is in vt52 emulation mode
  6130. # (I know what you're thinking; if it's emulating a vt52, then why
  6131. # another termcap? Well, it turns out that the Visual 50 can handle
  6132. # <dl1> and db(?) among other things, which the vt52 can't)
  6133. # The termcap works OK for the most part. The only problem is on
  6134. # character inserts. The whole line gets painfully redrawn for each
  6135. # character typed. Any suggestions?
  6136. # Beau's entry is combined with the vi50 entry from University of Wisconsin.
  6137. # Note especially the <il1> function.  <kf4>-<kf6> are really l4-l6 in
  6138. # disguise; <kf7>-<kf9> are really l1-l3.
  6139. vi50|visual 50, 
  6140.     OTbs, OTpt, am, da, db, msgr, 
  6141.     cols#80, it#8, lines#24, 
  6142.     OTnl=^J, bel=^G, cbt=\Ez$<4/>, clear=\EH\EJ, cr=^M, cub1=^H, 
  6143.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  6144.     cuu1=\EA, dl1=\EM$<3*/>, ed=\EJ, el=\EK$<16/>, home=\EH, 
  6145.     ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, 
  6146.     kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\EV, 
  6147.     kf5=\EE, kf6=\E], kf7=\EL, kf8=\Ev, kf9=\EM, khome=\EH, 
  6148.     nel=^M^J, ri=\EI, rmso=\ET, rmul=\EW, smso=\EU, smul=\ES, 
  6149. # this one was BSD & SCO's vi50
  6150. vi50adm|visual 50 in adm3a mode, 
  6151.     am, msgr, 
  6152.     cols#80, it#8, lines#24, 
  6153.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  6154.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\EM, 
  6155.     ed=\Ek, el=\EK, home=\EH, ht=^I, il1=\EL, ind=^J, kbs=^H, 
  6156.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, 
  6157.     rmso=\ET, smso=\EU, 
  6158. # From: Jeff Siegal <jbs@quiotix.com>
  6159. vi55|Visual 55, 
  6160.     OTbs, am, mir, msgr, 
  6161.     cols#80, it#8, lines#24, 
  6162.     clear=\Ev, csr=\E_%p1%{65}%+%c%p2%{65}%+%c, cub1=^H, 
  6163.     cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  6164.     cuu1=\EA, dch1=\Ew, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  6165.     il1=\EL, is2=\Ev\E_AX\Eb\EW\E9P\ET, kbs=^H, kcub1=\ED, 
  6166.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EI, rmir=\Eb, rmso=\ET, 
  6167.     smir=\Ea, smso=\EU, 
  6168.  
  6169. # Visual 200 from BRL
  6170. # The following switch settings are assumed for normal operation:
  6171. #    FULL_DUPLEX        SCROLL            CR
  6172. #    AUTO_NEW_LINE_ON    VISUAL_200_EMULATION_MODE
  6173. # Other switches may be set for operator convenience or communication
  6174. # requirements.
  6175. # Character insertion is kludged in order to get around the "beep" misfeature.
  6176. # (This cap is commented out because <smir>/<rmir> is more efficient -- esr)
  6177. # Supposedly "4*" delays should be used for <il1>, <ed>, <clear>, <dch1>,
  6178. # and <dl1> strings, but we seem to get along fine without them.
  6179. vi200|visual 200, 
  6180.     OTbs, OTpt, am, mir, msgr, 
  6181.     OTkn#10, cols#80, it#8, lines#24, 
  6182.     acsc=, bel=^G, cbt=\Ez, clear=\Ev, cnorm=\Ec, cr=^M, cub1=^H, 
  6183.     cud1=^J, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  6184.     cuu1=\EA, cvvis=\Ed, dch1=\EO, dim=\E4, dl1=\EM, ed=\Ey, 
  6185.     el=\Ex, home=\EH, ht=^I, hts=\E1, il1=\EL, ind=^J, invis=\Ea, 
  6186.     kbs=^H, kclr=\Ev, kctab=\E2, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  6187.     kcuu1=\EA, kdch1=\EO, kdl1=\EM, ked=\EJ, kel=\Et, kf0=\E?p, 
  6188.     kf1=\E?q, kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, 
  6189.     kf7=\E?w, kf8=\E?x, kf9=\E?y, khome=\EH, khts=\E1, kich1=\Ei, 
  6190.     kil1=\EL, krmir=\Ej, mc0=\EH\E], mc4=\EX, mc5=\EW, ri=\EI, 
  6191.     rmacs=\EG, rmkx=\E>, rmso=\E3, 
  6192.     rs1=\E3\Eb\Ej\E\El\EG\Ec\Ek\EX, sgr0=\E3\Eb, smacs=\EF, 
  6193.     smkx=\E=, smso=\E4, tbc=\Eg, 
  6194. # The older Visuals didn't come with function keys. This entry uses
  6195. # <smkx> and <rmkx> so that the keypad keys can be used as function keys.
  6196. # If your version of vi doesn't support function keys you may want
  6197. # to use vi200-f.
  6198. vi200-f|visual 200 no function keys, 
  6199.     is2=\E3\Eb\Ej\E\\\El\EG\Ed\Ek, kf0=\E?p, kf1=\E?q, 
  6200.     kf2=\E?r, kf3=\E?s, kf4=\E?t, kf5=\E?u, kf6=\E?v, kf7=\E?w, 
  6201.     kf8=\E?x, kf9=\E?y, rmkx=\E>, rmso@, smkx=\E=, smso@, 
  6202.     use=vi200, 
  6203. vi200-rv|visual 200 reverse video, 
  6204.     cnorm@, cvvis@, ri@, rmso=\E3, smso=\E4, use=vi200, 
  6205.  
  6206. # the function keys are programmable but we don't reprogram them to their
  6207. # default values with <is2> because programming them is very verbose. maybe
  6208. # an initialization file should be made for the 300 and they could be stuck
  6209. # in it.
  6210. # (vi300: added <rmam>/<smam> based on init string -- esr)
  6211. vi300|visual 300 ansi x3.64, 
  6212.     am, bw, mir, xenl, 
  6213.     cols#80, lines#24, 
  6214.     bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  6215.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  6216.     dch1=\E[P$<40>, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  6217.     il1=\E[L, ind=^J, 
  6218.     is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[1Q\E[0;1(D\E[8s, 
  6219.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  6220.     kf1=\E_A\E\\, kf2=\E_B\E\\, kf3=\E_C\E\\, kf4=\E_D\E\\, 
  6221.     kf5=\E_E\E\\, kf6=\E_F\E\\, kf7=\E_G\E\\, kf8=\E_H\E\\, 
  6222.     kf9=\E_I\E\\, khome=\E[H, ri=\EM, rmam=\E[?7l, rmir=\E[4l, 
  6223.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
  6224.     smso=\E[1m, smul=\E[4m, 
  6225. # some of the vi300s have older firmware that has the command
  6226. # sequence for setting editing extent reversed.
  6227. vi300-old|visual 300 with old firmware (set edit extent reversed), 
  6228.     is2=\E[7s\E[2;3;4;20;?5;?6l\E[12;?7h\E[2Q\E[0;1(D\E[8s, 
  6229.     use=vi300, 
  6230.  
  6231. # Visual 500 prototype entry from University of Wisconsin.
  6232. # The best place to look for the escape sequences is page A1-1 of the
  6233. # Visual 500 manual.  The initialization sequence given here may be
  6234. # overkill, but it does leave out some of the initializations which can
  6235. # be done with the menus in set-up mode.
  6236. # The :xp: line below is so that emacs can understand the padding requirements
  6237. # of this slow terminal.  :xp: is 10 time the padding factor.
  6238. # (vi500: removed unknown :xp#4: termcap;
  6239. # also added empty <acsc> to suppress tic warning -- esr)
  6240. vi500|visual 500, 
  6241.     am, mir, msgr, 
  6242.     cols#80, it#8, lines#33, 
  6243.     acsc=, cbt=\Ez$<4/>, clear=\Ev$<6*/>, cr=^M, 
  6244.     csr=\E(%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=\EB, 
  6245.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  6246.     dch1=\EO$<3*/>, dl1=\EM$<3*/>, ed=\Ey$<3*/>, 
  6247.     el=\Ex$<16/>, home=\EH, ht=\011$<8/>, il1=\EL\Ex$<3*/>, 
  6248.     ind=^J, 
  6249.     is2=\E3\E\001\E\007\E\003\Ek\EG\Ed\EX\El\E>\Eb\E\\, 
  6250.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  6251.     khome=\EH, nel=^M^J, rmacs=^O, rmir=\Ej, rmso=\E^G, 
  6252.     rmul=\E^C, smacs=^N, smir=\Ei, smso=\E^H, smul=\E^D, 
  6253.  
  6254. # The visual 550 is a visual 300 with tektronix graphics,
  6255. # and with 33 lines. clear screen is modified here to
  6256. # also clear the graphics.
  6257. vi550|visual 550 ansi x3.64, 
  6258.     lines#33, 
  6259.     clear=\030\E[H\E[2J, use=vi300, 
  6260.  
  6261. vi603|visual603|visual 603, 
  6262.     hs, mir, 
  6263.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  6264.     csr=\E[%i%p1%d;%p2%dr, cuf1=\E[C, 
  6265.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  6266.     dsl=\EP2;1~\E\\, ed=\E[J, el=\E[K, fsl=\E\\, il1=\E[L, 
  6267.     ind=\ED, is1=\E>\E[?3l\E[?4l\E[?7h\E[?8h\E[1;24r, 
  6268.     rev=\E[7m, ri=\EM, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  6269.     sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=\EP2~, 
  6270.     use=vt100, 
  6271.  
  6272. #### Wyse (wy)
  6273. #
  6274. #    Wyse Technology
  6275. #    3471 North First Street
  6276. #    San Jose, CA 95134
  6277. #    Vox: (408)-473-1200
  6278. #    Fax: (408) 473-1222
  6279. #    Web: http://www.wyse.com
  6280. #
  6281. # Wyse sales can be reached by phone at 1-800-GET-WYSE.  Tech support is at
  6282. # (800)-800-WYSE (option 5 gets you a human).  There's a Web page at the
  6283. # obvious address, <http://www.wyse.com>.  They keep terminfo entries at
  6284. # <http://www.wyse.co.uk/support/appnotes/idxappnt.htm>.
  6285. #
  6286. # Wyse bought out Link Technology, Inc. in 1990 and closed it down in 1995.
  6287. # They now own the Qume and Amdek brands, too.  So these are the people to
  6288. # talk with about all Link, Qume, and Amdek terminals.
  6289. #
  6290. # These entries include a few small fixes.
  6291. # I canceled the bel capacities in the vb entries.
  6292. # I made two trivial syntax fixes in the wyse30 entry.
  6293. # I made some entries relative to adm+sgr.
  6294. #
  6295. #
  6296. # Note: The wyse75, wyse85, and wyse99 have been discontinued.
  6297.  
  6298. #       Although the Wyse 30 can support more than one attribute
  6299. #    it requires magic cookies to do so.  Many applications do not
  6300. #    function well with magic cookies.  The following terminfo uses
  6301. #    the protect mode to support one attribute (dim) without cookies.
  6302. #    If more than one attribute is needed then the wy30-mc terminfo
  6303. #    should be used.
  6304. #
  6305. wy30|wyse30|Wyse 30, 
  6306.     am, bw, hs, mc5i, mir, msgr, xon, 
  6307.     cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
  6308.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
  6309.     civis=\E`0, clear=\E+$<80>, cnorm=\E`1, cr=^M, cub1=^H, 
  6310.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  6311.     cuu1=^K, dch1=\EW$<10>, dim=\E`7\E), dl1=\ER$<1>, 
  6312.     dsl=\EF\r, ed=\EY$<80>, el=\ET, flash=\E`8$<100/>\E`9, 
  6313.     fsl=^M, home=^^, ht=\011$<1>, hts=\E1, il1=\EE$<2>, 
  6314.     ind=\n$<2>, ip=$<2>, is2=\E'\E(\E\^3\E`9\016\024, 
  6315.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
  6316.     kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, 
  6317.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  6318.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=^^, kich1=\EQ, 
  6319.     kil1=\EE, knp=\EK, kpp=\EJ, krpl=\Er, ll=^^^K, mc0=\EP, mc4=^T, 
  6320.     mc5=^X, nel=^M^J, pfx=\Ez%p1%{63}%+%c%p2%s\177, 
  6321.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), ri=\Ej$<3>, 
  6322.     rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
  6323.     sgr=%?%p1%p5%p8%|%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  6324.     sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
  6325.     smso=\E`7\E), tbc=\E0, tsl=\EF, 
  6326. #
  6327. #    This terminal description uses the non-hidden attribute mode
  6328. #    (with magic cookie).
  6329. #
  6330. # (wy30-mc: added <smcup> to suppress tic warning --esr)
  6331. wy30-mc|wyse30-mc|wyse 30 with magic cookies, 
  6332.     msgr@, 
  6333.     ma@, xmc#1, 
  6334.     blink=\EG2, dim=\EGp, prot=\EG0\E), rmacs=\EG0\EH\003, 
  6335.     rmcup=\EG0, rmso=\EG0, 
  6336.     sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  6337.     sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
  6338.     smso=\EG4, use=wy30, use=adm+sgr, 
  6339. #    The mandatory pause used by <flash> does not work with
  6340. #    older versions of terminfo.  If you see this effect then
  6341. #    unset xon and delete the / from the delay.
  6342. #    i.e. change $<100/> to $<100>
  6343. wy30-vb|wyse30-vb|wyse 30 visible bell, 
  6344.     bel@, use=wy30, 
  6345. #
  6346. #       The Wyse 50 can support one attribute (e.g. Dim, Inverse,
  6347. #    Normal) without magic cookies by using the protect mode.
  6348. #    The following description uses this feature, but when more
  6349. #    than one attribute is put on the screen at once, all attributes
  6350. #    will be changed to be the same as the last attribute given.
  6351. #       The Wyse 50 can support more attributes when used with magic
  6352. #    cookies.  The wy50-mc terminal description uses magic cookies
  6353. #    to correctly handle multiple attributes on a screen.
  6354. #
  6355. wy50|wyse50|Wyse 50, 
  6356.     am, bw, hs, mc5i, mir, msgr, xon, 
  6357.     cols#80, lh#1, lines#24, lw#8, ma#1, nlab#8, wsl#45, 
  6358.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, cbt=\EI, 
  6359.     civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, cub1=^H, 
  6360.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  6361.     cuu1=^K, dch1=\EW$<1>, dim=\E`7\E), dl1=\ER, dsl=\EF\r, 
  6362.     ed=\EY$<20>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  6363.     home=^^, ht=^I, hts=\E1, il1=\EE, ind=\n$<2>, ip=$<1>, 
  6364.     is1=\E`\:\E`9$<30>, is2=\016\024\E'\E(, kHOM=\E{, kbs=^H, 
  6365.     kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  6366.     kdl1=\ER, ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  6367.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  6368.     kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  6369.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  6370.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  6371.     ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, 
  6372.     pfx=\Ez%p1%{63}%+%c%p2%s\177, 
  6373.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E`7\E), rev=\E`6\E), 
  6374.     ri=\Ej, rmacs=\EH^C, rmir=\Er, rmln=\EA11, rmso=\E(, 
  6375.     sgr=%?%p1%p3%|%t\E`6\E)%e%p5%p8%|%t\E`7\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  6376.     sgr0=\E(\EH\003, smacs=\EH^B, smir=\Eq, smln=\EA10, 
  6377.     smso=\E`6\E), tbc=\E0, tsl=\EF, 
  6378. #
  6379. #    This terminal description uses the non-hidden attribute mode
  6380. #    (with magic cookie).
  6381. #
  6382. #    The mandatory pause used by flash does not work with some
  6383. #    older versions of terminfo.  If you see this effect then
  6384. #    unset <xon> and delete the / from the delay.
  6385. #    i.e. change $<100/> to $<100>
  6386. # (wy50-mc: added <smcup> to suppress tic warning --esr)
  6387. wy50-mc|wyse50-mc|wyse 50 with magic cookies, 
  6388.     msgr@, 
  6389.     ma@, xmc#1, 
  6390.     blink=\EG2, dim=\EGp, prot=\EG0\E), rev=\EG4, 
  6391.     rmacs=\EG0\EH\003, rmcup=\EG0, rmso=\EG0, 
  6392.     sgr=\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  6393.     sgr0=\EG0\E(\EH\003, smacs=\EG0\EH\002, smcup=, 
  6394.     smso=\EGt, use=wy50, use=adm+sgr, 
  6395. wy50-vb|wyse50-vb|wyse 50 visible bell, 
  6396.     bel@, use=wy50, 
  6397. wy50-w|wyse50-w|wyse 50 132-column, 
  6398.     cols#132, lw#7, nlab#16, wsl#97, 
  6399.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, 
  6400.     use=wy50, 
  6401. wy50-wvb|wyse50-wvb|wyse 50 132-column visible bell, 
  6402.     bel@, use=wy50-w, 
  6403.  
  6404. #
  6405. #    The Wyse 350 is a Wyse 50 with color.
  6406. #    Unfortunately this means that it has magic cookies.
  6407. #    The color attributes are designed to overlap the reverse, dim and
  6408. #    underline attributes.  This is nice for monochrome applications
  6409. #    because you can make underline stuff green (or any other color)
  6410. #    but for true color applications it's not so hot because you cannot
  6411. #    mix color with reverse, dim or underline.
  6412. #        To further complicate things one of the attributes must be
  6413. #    black (either the foreground or the background).  In reverse video
  6414. #    the background changes color with black letters.  In normal video
  6415. #    the foreground changes colors on a black background.  
  6416. #        This terminfo uses some of the more advanced features of curses
  6417. #    to display both color and blink.  In the final analysis I am not
  6418. #    sure that the wy350 runs better with this terminfo than it does
  6419. #    with the wy50 terminfo (with user adjusted colors).
  6420. #
  6421. #    The mandatory pause used by flash does not work with
  6422. #    older versions of terminfo.  If you see this effect then
  6423. #    unset xon and delete the / from the delay.
  6424. #    i.e. change $<100/> to $<100>
  6425. #
  6426. # Bug: The <op> capability resets attributes.
  6427. wy350|wyse350|Wyse 350, 
  6428.     am, bw, hs, mc5i, mir, xon, 
  6429.     colors#8, cols#80, lh#1, lines#24, lw#8, ncv#55, nlab#8, pairs#8, 
  6430.     wsl#45, xmc#1, 
  6431.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
  6432.     cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
  6433.     cub1=^H, cud1=^J, cuf1=^L, 
  6434.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<1>, 
  6435.     dim=\EGp, dl1=\ER, dsl=\EF\r, ed=\EY$<20>, el=\ET, 
  6436.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
  6437.     il1=\EE, ind=\n$<2>, ip=$<1>, is1=\E`\:\E`9$<30>, 
  6438.     is2=\016\024\E'\E(, is3=\E%?, kHOM=\E{, kbs=^H, kcbt=\EI, 
  6439.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, 
  6440.     ked=\EY, kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  6441.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  6442.     kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  6443.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  6444.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  6445.     ll=^^^K, mc0=\EP, mc4=^T, mc5=^X, nel=^M^J, oc=\E%?, op=\EG0, 
  6446.     pfx=\Ez%p1%{63}%+%c%p2%s\177, 
  6447.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\EG0\E), ri=\Ej, 
  6448.     rmacs=\EG0\EH\003, rmir=\Er, rmln=\EA11, setb=, 
  6449.     setf=%?%p1%{0}%=%t%{76}%e%p1%{1}%=%t%{64}%e%p1%{2}%=%t%{8}%e%p1%{3}%=%t%{72}%e%p1%{4}%=%t%{4}%e%p1%{5}%=%t%{68}%e%p1%{6}%=%t%{12}%e%p1%{7}%=%t%{0}%;%PC\EG%gC%gA%+%{48}%+%c, 
  6450.     sgr=%{0}%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;%PA\EG%?%gC%t%gC%e%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p5%t%{64}%|%;%;%gA%+%{48}%+%c%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;, 
  6451.     sgr0=\EG0\E(\EH\003%{0}%PA%{0}%PC, smacs=\EG0\EH\002, 
  6452.     smir=\Eq, smln=\EA10, tbc=\E0, tsl=\EF, use=adm+sgr, 
  6453. wy350-vb|wyse350-vb|wyse 350 visible bell, 
  6454.     bel@, use=wy350, 
  6455. wy350-w|wyse350-w|wyse 350 132-column, 
  6456.     cols#132, lw#7, nlab#16, wsl#97, 
  6457.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<2>, is1=\E`;\E`9$<30>, 
  6458.     use=wy350, 
  6459. wy350-wvb|wyse350-wvb|wyse 350 132-column visible bell, 
  6460.     bel@, use=wy350-w, 
  6461. #
  6462. #    This terminfo description is untested.
  6463. #    The wyse100 emulates an adm31, so the adm31 entry should work.
  6464. #
  6465. wy100|wyse 100, 
  6466.     hs, mir, 
  6467.     cols#80, lines#24, xmc#1, 
  6468.     bel=^G, clear=\E;, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  6469.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  6470.     dl1=\ER, dsl=\EA31, ed=\EY, el=\ET, fsl=^M, il1=\EE, ind=^J, 
  6471.     invis@, is2=\Eu\E0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  6472.     kcuu1=^K, kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, 
  6473.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, khome=\E{, 
  6474.     rmir=\Er, smir=\Eq, tsl=\EF, use=adm+sgr, 
  6475. #
  6476. #    The Wyse 120/150 has most of the features of the Wyse 60.
  6477. #    This terminal does not need padding up to 9600 baud!
  6478. #    <msgr> should be set but the clear screen fails when in
  6479. #    alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
  6480. #    then set <msgr>.
  6481. #
  6482. wy120|wyse120|wy150|wyse150|Wyse 120/150, 
  6483.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  6484.     cols#80, it#8, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
  6485.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  6486.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
  6487.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  6488.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
  6489.     dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
  6490.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=\011$<1>, 
  6491.     hts=\E1, il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
  6492.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  6493.     is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  6494.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  6495.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  6496.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  6497.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  6498.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  6499.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
  6500.     mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
  6501.     pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
  6502.     pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
  6503.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
  6504.     rmacs=\EcD, rmam=\Ed., rmcup=\Ew1, rmir=\Er, rmln=\EA11, 
  6505.     rmxon=\Ec20, rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
  6506.     rs3=\EwG\Ee($<100>, 
  6507.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  6508.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  6509.     smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
  6510.     tbc=\E0, tsl=\EF, use=adm+sgr, 
  6511. #
  6512. wy120-w|wyse120-w|wy150-w|wyse150-w|wyse 120/150 132-column, 
  6513.     cols#132, lw#7, nlab#16, wsl#97, 
  6514.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
  6515.     rs2=\E`;$<70>, use=wy120, 
  6516. #
  6517. wy120-25|wyse120-25|wy150-25|wyse150-25|wyse 120/150 80-column 25-lines, 
  6518.     lh@, lines#25, lw@, nlab@, 
  6519.     pln@, rs3=\EwG\Ee)$<100>, use=wy120, 
  6520. #
  6521. wy120-25-w|wyse120-25-w|wy150-25-w|wyse150-25-w|wyse 120/150 132-column 25-lines, 
  6522.     lh@, lines#25, lw@, nlab@, 
  6523.     pln@, rs3=\EwG\Ee)$<100>, use=wy120-w, 
  6524. #
  6525. wy120-vb|wyse120-vb|wy150-vb|wyse150-vb|Wyse 120/150 visible bell, 
  6526.     bel@, use=wy120, 
  6527. #
  6528. wy120-w-vb|wy120-wvb|wyse120-wvb|wy150-w-vb|wyse150-w-vb|Wyse 120/150 132-column visible bell, 
  6529.     bel@, use=wy120-w, 
  6530. #
  6531. #    The Wyse 60 is like the Wyse 50 but with more padding.
  6532. #    The reset strings are slow and the pad times very depending
  6533. #    on other parameters such as font loading.  I have tried
  6534. #    to follow the following outline:
  6535. #
  6536. #        <rs1> -> set personality
  6537. #        <rs2> -> set number of columns
  6538. #        <rs3> -> set number of lines
  6539. #        <is1> -> select the proper font
  6540. #        <is2> -> do the initialization
  6541. #        <is3> -> set up display memory (2 pages)
  6542. #
  6543. #    The Wyse 60's that have vt100 emulation are slower than the
  6544. #    older Wyse 60's.  This change happened mid-1987.
  6545. #    The capabilities effected are <dch1> <dl1> <il1> <ind> <ri>
  6546. #
  6547. #    The meta key is only half right.  This terminal will return the
  6548. #    high order bit set when you hit CTRL-function_key
  6549. #
  6550. #    It may be useful to assign two function keys with the
  6551. #    values  \E=(\s  look at old data in page 1
  6552. #            \E=W,   look at bottom of page 1
  6553. #    where \s is a space ( ).
  6554. #
  6555. #    Note:
  6556. #       The Wyse 60 runs faster when the XON/XOFF
  6557. #       handshake is turned off.
  6558. #
  6559. # (wy60: we use \E{ rather than ^^ for home (both are documented) to avoid
  6560. # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
  6561. wy60|wyse60|Wyse 60, 
  6562.     am, bw, hs, km, mc5i, mir, msgr, 
  6563.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#45, 
  6564.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  6565.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<100>, 
  6566.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  6567.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  6568.     dch1=\EW$<11>, dclk=\E`b, dim=\EGp, dl1=\ER$<5>, dsl=\EF\r, 
  6569.     ed=\EY$<100>, el=\ET, flash=\E`8$<100/>\E`9, fsl=^M, 
  6570.     home=\E{, ht=\011$<1>, hts=\E1, il1=\EE$<4>, ind=\n$<5>, 
  6571.     ip=$<3>, is1=\EcB0\EcC1, 
  6572.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  6573.     is3=\EwJ\Ew1$<150>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  6574.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  6575.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  6576.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  6577.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  6578.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  6579.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
  6580.     mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<3>, 
  6581.     pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
  6582.     pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
  6583.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
  6584.     rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew1, rmir=\Er, 
  6585.     rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<150>, 
  6586.     rs2=\EeG$<150>, rs3=\EwG\Ee($<200>, 
  6587.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  6588.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  6589.     smcup=\Ew0, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
  6590.     tbc=\E0, tsl=\EF, use=adm+sgr, 
  6591. #
  6592. wy60-w|wyse60-w|wyse 60 132-column, 
  6593.     cols#132, lw#7, nlab#16, wsl#97, 
  6594.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<16>, ip=$<5>, 
  6595.     rs2=\EeF$<150>\E`;$<150>, use=wy60, 
  6596. #
  6597. wy60-25|wyse60-25|wyse 60 80-column 25-lines, 
  6598.     lh@, lines#25, lw@, nlab@, 
  6599.     pln@, rs3=\EwG\Ee)$<200>, use=wy60, 
  6600. wy60-25-w|wyse60-25-w|wyse 60 132-column 25-lines, 
  6601.     lh@, lines#25, lw@, nlab@, 
  6602.     pln@, rs3=\EwG\Ee)$<200>, use=wy60-w, 
  6603. #
  6604. wy60-42|wyse60-42|wyse 60 80-column 42-lines, 
  6605.     lines#42, 
  6606.     clear=\E+$<260>, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<2>, 
  6607.     dch1=\EW$<16>, dl1=\ER$<11>, ed=\Ey$<260>, il1=\EE$<11>, 
  6608.     ind=\n$<9>, ip=$<5>, is1=\EcB2\EcC3, nel=\r\n$<6>, 
  6609.     ri=\Ej$<10>, rs3=\Ee*$<150>, use=wy60, 
  6610. wy60-42-w|wyse60-42-w|wyse 60 132-column 42-lines, 
  6611.     cols#132, lw#7, nlab#16, wsl#97, 
  6612.     clear=\E+$<260>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
  6613.     dch1=\EW$<19>, ed=\Ey$<260>, home=\036$<2>, ip=$<6>, 
  6614.     nel=\r\n$<11>, rs2=\EeF$<150>\E`;$<150>, use=wy60-42, 
  6615. #
  6616. wy60-43|wyse60-43|wyse 60 80-column 43-lines, 
  6617.     lh@, lines#43, lw@, nlab@, 
  6618.     pln@, rs3=\Ee+$<150>, use=wy60-42, 
  6619. wy60-43-w|wyse60-43-w|wyse 60 132-column 43-lines, 
  6620.     lh@, lines#43, lw@, nlab@, 
  6621.     pln@, rs3=\Ee+$<150>, use=wy60-42-w, 
  6622. #
  6623. wy60-vb|wyse60-vb|Wyse 60 visible bell, 
  6624.     bel@, use=wy60, 
  6625. wy60-w-vb|wy60-wvb|wyse60-wvb|Wyse 60 132-column visible bell, 
  6626.     bel@, use=wy60-w, 
  6627.  
  6628. #    The Wyse-99GT looks at lot like the Wyse 60 except that it
  6629. #    does not have the 42/43 line mode.  In the Wyse-60 the "lines"
  6630. #    setup parameter controls the number of lines on the screen.
  6631. #    For the Wyse 99GT the "lines" setup parameter controls the
  6632. #    number of lines in a page.  The screen can display 25 lines max.
  6633. #        The Wyse-99GT also has personalities for the VT220 and
  6634. #    Tektronix 4014.  But this has no bearing on the native mode.
  6635. #
  6636. #    (msgr) should be set but the clear screen fails when in
  6637. #    alt-charset mode.  Try \EcE\s\s\E+\s if the screen is really clear
  6638. #    then set msgr, else use msgr@.
  6639. #
  6640. #    u0 -> enter Tektronix mode
  6641. #    u1 -> exit Tektronix mode
  6642. #
  6643. wy99gt|wyse99gt|Wyse 99gt, 
  6644.     msgr@, 
  6645.     clear=\E+$<130>, dch1=\EW$<7>, dl1=\ER$<4>, ed=\Ey$<130>, 
  6646.     el=\Et$<5>, flash=\E`8$<100/>\E`9, ht=\011$<1>, 
  6647.     il1=\EE$<4>, ind=\n$<4>, ip=$<2>, is3=\Ew0$<20>, nel@, 
  6648.     ri=\Ej$<3>, rmcup=\Ew0, rs2=\E`\:$<150>, smcup=\Ew1, 
  6649.     u0=\E~>\E8, u1=\E[42h, use=wy60, 
  6650. #
  6651. wy99gt-w|wyse99gt-w|wyse 99gt 132-column, 
  6652.     cols#132, lw#7, nlab#16, wsl#97, 
  6653.     clear=\E+$<160>, cup=\Ea%i%p1%dR%p2%dC$<2>, 
  6654.     dch1=\EW$<9>, ed=\Ey$<160>, ip=$<4>, rs2=\E`;$<150>, 
  6655.     use=wy99gt, 
  6656. #
  6657. wy99gt-25|wyse99gt-25|wyse 99gt 80-column 25-lines, 
  6658.     lh@, lines#25, lw@, nlab@, 
  6659.     pln@, rs2=\E`\:$<150>, rs3=\EwG\Ee)$<200>, use=wy99gt, 
  6660. #
  6661. wy99gt-25-w|wyse99gt-25-w|wyse 99gt 132-column 25-lines, 
  6662.     lh@, lines#25, lw@, nlab@, 
  6663.     pln@, rs2=\E`;$<150>, use=wy99gt-w, 
  6664. #
  6665. wy99gt-vb|wyse99gt-vb|Wyse 99gt visible bell, 
  6666.     bel@, use=wy99gt, 
  6667. #
  6668. wy99gt-w-vb|wy99gt-wvb|wyse99gt-wvb|Wyse 99gt 132-column visible bell, 
  6669.     bel@, use=wy99gt-w, 
  6670.  
  6671. # Can't set tabs! Other bugs (ANSI mode only):
  6672. # - can't redefine function keys (anyway, key redefinition in ANSI mode
  6673. #   is too much complex to be described);
  6674. # - meta key can't be described (the terminal forgets it when reset);
  6675. # The xon-xoff handshaking can't be disabled while in ansi personality, so
  6676. # emacs can't work at speed greater than 9600 baud.  No padding is needed at
  6677. # this speed.
  6678. #   dch1 has been commented out because it causes annoying glittering when
  6679. # vi deletes one character at the beginning of a line with tabs in it.
  6680. #   dch makes sysgen(1M) have a horrible behaviour when deleting
  6681. # a screen and makes screen(1) behave badly, so it is disabled too. The nice
  6682. # thing is that vi goes crazy if smir-rmir are present and both dch-dch1 are
  6683. # not, so smir and rmir are commented out as well.
  6684. # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
  6685. wy99-ansi|Wyse WY-99GT in ansi mode (int'l PC keyboard), 
  6686.     am, km, mc5i, mir, msgr, xenl, 
  6687.     cols#80, it#8, lines#25, vt#3, 
  6688.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx{{||}}~~, 
  6689.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  6690.     clear=\E[H\E[J$<200>, cnorm=\E[34h\E[?25h, cr=^M, 
  6691.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<1>, 
  6692.     cub1=\010$<1>, cud=\E[%p1%dB, cud1=\ED, 
  6693.     cuf=\E[%p1%dC$<1>, cuf1=\E[C$<1>, 
  6694.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  6695.     cvvis=\E[34l\E[?25h, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, 
  6696.     ech=\E[%p1%dX, ed=\E[J$<8*>, el=\E[K$<1>, el1=\E[1K$<1>, 
  6697.     enacs=\E)0, flash=\E[?5h$<30/>\E[?5l, home=\E[H, 
  6698.     hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, 
  6699.     il1=\E[L, ind=\n$<1>, invis=\E[8m, 
  6700.     is2=\E7\E[1r\E8\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[4i, 
  6701.     kbs=^H, kcbt=\E[z, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  6702.     kcuu1=\EOA, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  6703.     kf12=\E[24~, kf17=\E[K, kf18=\E[31~, kf19=\E[32~, kf2=\EOQ, 
  6704.     kf20=\E[33~, kf21=\E[34~, kf22=\E[35~, kf23=\E[1~, 
  6705.     kf24=\E[2~, kf3=\EOR, kf4=\EOS, kf5=\E[M, kf6=\E[17~, 
  6706.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, ll=\E[24E, mc0=\E[?19h, 
  6707.     mc4=\E[4i, mc5=\E[5i, nel=\EE, prot=\E[1"q, rc=\E8, 
  6708.     rev=\E[7m, ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
  6709.     rmkx=\E[?1l, rmso=\E[27m, rmul=\E[24m, 
  6710.     rs2=\E[61"p\E[40h\E[?6l\E[1r\E[2;3;4;13;20;34;39;36l\E[12;16;34h\E[?1;3;4;5;10;18l\E[?7;8;25h\E>\E[?5W\E(B\017\E[24E\E[4i, 
  6711.     sc=\E7, 
  6712.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%O%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m\E[%?%p8%t1%;"q%?%p9%t\016%e\017%;, 
  6713.     sgr0=\E[m\017\E["q, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  6714.     smkx=\E[?1h, smso=\E[7m, smul=\E[4m, vpa=\E[%i%p1%dd, 
  6715.  
  6716. #   This is the american terminal. Here tabs work fine.
  6717. # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
  6718. wy99a-ansi|Wyse WY-99GT in ansi mode (US PC keyboard), 
  6719.     hts=\EH, is3=\E[?5l, rs3=\E[?5l, tbc=\E[3g, use=wy99-ansi, 
  6720.  
  6721. # This terminal (firmware version 02) has a lot of bugs:
  6722. # - can't set tabs;
  6723. # - other bugs in ANSI modes (see above).
  6724. # This description disables handshaking when using cup. This is because
  6725. # GNU emacs doesn't like Xon-Xoff handshaking. This means the terminal
  6726. # cannot be used at speeds greater than 9600 baud, because at greater
  6727. # speeds handshaking is needed even for character sending. If you use
  6728. # DTR handshaking, you can use even greater speeds.
  6729. # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
  6730. wy99f|wy99fgt|wy-99fgt|Wyse WY-99GT (int'l PC keyboard), 
  6731.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  6732.     cols#80, it#8, lines#25, wsl#46, 
  6733.     acsc='x+y.wI~_vj(k'l&m%n)o9q*s8t-u.v\,w+x=, bel=^G, 
  6734.     blink=\EG2, cbt=\EI, civis=\E`0, clear=\E'\E(\032, 
  6735.     cnorm=\E`4\E`1, cr=^M, cub1=^H, cud1=\Ej, cuf1=^L, 
  6736.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  6737.     cvvis=\E`2\E`1, dch1=\EW, dim=\EGp, dl1=\ER, dsl=\EF\r, 
  6738.     ed=\EY$<8*>, el=\ET$<8>, enacs=\Ec@1J$<2000>, 
  6739.     flash=\E\^1$<30/>\E\^0, fsl=^M, home=^^, ht=^I, il1=\EE, 
  6740.     ind=^J, invis=\EG3, 
  6741.     is2=\Eu\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\EcD\024, 
  6742.     ka1=^^, ka3=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, 
  6743.     kcud1=^J, kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, 
  6744.     kf11=^AJ\r, kf12=^AK\r, kf13=^A`\r, kf14=^Aa\r, kf15=^Ab\r, 
  6745.     kf16=^Ac\r, kf17=^Ad\r, kf18=^Ae\r, kf19=^Af\r, kf2=^AA\r, 
  6746.     kf20=^Ag\r, kf21=^Ah\r, kf22=^Ai\r, kf23=^Aj\r, kf24=^Ak\r, 
  6747.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  6748.     kf8=^AG\r, kf9=^AH\r, kprt=\EP, mc0=\EP, mc4=^T, mc5=\Ed#, 
  6749.     nel=^_, prot=\E), rev=\EG4, ri=\Ej, rmacs=\EcD, rmam=\Ed., 
  6750.     rmcup=\Ec21\Ec31, rmir=\Er, rmso=\EG0, rmxon=\Ec20\Ec30, 
  6751.     rs2=\Eu\E~4\Ee6\EC\EDF\Ec21\Ec31\Ec62\Ec72\Ee;\016\E'\EeL\E`9\E\^0\E`1\E`4\Ee.\E`\:\Ee)\Ew\EwG\Ew0\Ee1\EG0\E(\Ed/\Ee4\Ed*\EO\E`I\Er\Ee"\Ec@0B\EcD\024, 
  6752.     sgr=\E(\EG%{48}%?%p1%p3%O%t%{4}%+%;%?%p2%t%{8}%+%;%?%p4%t%{2}%+%;%?%p5%t%{64}%+%;%?%p7%t%{1}%+%;%c%?%p8%t\E)%;%?%p9%t\EcE%e\EcD%;, 
  6753.     sgr0=\E(\EG0, smacs=\EcE, smam=\Ed/, smcup=\Ec20\Ec30, 
  6754.     smir=\Eq, smso=\EG4, smxon=\Ec21\Ec31, tsl=\EF, 
  6755.  
  6756. # This is the american terminal. Here tabs work.
  6757. # From: Francesco Potorti` <F.Potorti@cnuce.cnr.it>, 24 Aug 1998
  6758. wy99fa|wy99fgta|wy-99fgta|Wyse WY-99GT (US PC keyboard), 
  6759.     hts=\E1, tbc=\E0, use=wy99f, 
  6760.  
  6761. #
  6762. #    The Wyse 160 is combination of the WY-60 and the WY-99gt.
  6763. #    The reset strings are slow and the pad times very depending
  6764. #    on other parameters such as font loading.  I have tried
  6765. #    to follow the following outline:
  6766. #
  6767. #        <rs1> -> set personality
  6768. #        <rs2> -> set number of columns
  6769. #        <rs3> -> set number of lines
  6770. #        <is1> -> select the proper font
  6771. #        <is2> -> do the initialization
  6772. #        <is3> -> set up display memory (2 pages)
  6773. #
  6774. #    The display memory may be used for either text or graphics.
  6775. #    When "Display Memory = Shared" the terminal will have more pages
  6776. #    but garbage may be left on the screen when you switch from
  6777. #    graphics to text.  If "Display Memory = Unshared" then the
  6778. #    text area will be only one page long.
  6779. #
  6780. # (wy160: we use \E{ rather than ^^ for home (both are documented) to avoid
  6781. # a bug reported by Robert Dunn, <rcdii@inlink.com> -- esr)
  6782. wy160|wyse160|Wyse 160, 
  6783.     am, bw, hs, km, mc5i, mir, msgr, 
  6784.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#38, 
  6785.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  6786.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<30>, 
  6787.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  6788.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<5>, 
  6789.     dclk=\E`b, dim=\EGp, dl1=\ER$<1>, dsl=\EF\r, ed=\EY$<30>, 
  6790.     el=\ET$<5>, flash=\E`8$<100/>\E`9, fsl=^M, home=\E{, ht=^I, 
  6791.     hts=\E1, il1=\EE$<1>, ind=\n$<1>, ip=$<2>, is1=\EcB0\EcC1, 
  6792.     is2=\Ed$\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  6793.     is3=\Ew0$<100>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  6794.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  6795.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  6796.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  6797.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  6798.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, 
  6799.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=\E{^K, 
  6800.     mc0=\EP, mc4=^T, mc5=\Ed#, nel=\r\n$<1>, 
  6801.     pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
  6802.     pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
  6803.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<1>, 
  6804.     rmacs=\EcD, rmam=\Ed., rmclk=\E`c, rmcup=\Ew0, rmir=\Er, 
  6805.     rmln=\EA11, rmxon=\Ec20, rs1=\E~!\E~4$<70>, 
  6806.     rs2=\E`\:$<100>, rs3=\EwG\Ee($<140>, 
  6807.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  6808.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  6809.     smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, smxon=\Ec21, 
  6810.     tbc=\E0, tsl=\EF, use=adm+sgr, 
  6811. #
  6812. wy160-w|wyse160-w|wyse 160 132-column, 
  6813.     cols#132, lw#7, nlab#16, wsl#90, 
  6814.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<9>, 
  6815.     rs2=\EeF$<150>\E`;$<150>, use=wy160, 
  6816. #
  6817. wy160-25|wyse160-25|wyse 160 80-column 25-lines, 
  6818.     lh@, lines#25, lw@, nlab@, 
  6819.     pln@, rs3=\EwG\Ee)$<200>, use=wy160, 
  6820. wy160-25-w|wyse160-25-w|wyse 160 132-column 25-lines, 
  6821.     lh@, lines#25, lw@, nlab@, 
  6822.     pln@, rs3=\EwG\Ee)$<200>, use=wy160-w, 
  6823. #
  6824. wy160-42|wyse160-42|wyse 160 80-column 42-lines, 
  6825.     lines#42, 
  6826.     clear=\E+$<50>, dl1=\ER$<2>, ed=\Ey$<50>, il1=\EE$<2>, 
  6827.     ind=\n$<2>, is1=\EcB2\EcC3, nel=\r\n$<2>, ri=\Ej$<2>, 
  6828.     rs3=\Ee*$<150>, use=wy160, 
  6829. wy160-42-w|wyse160-42-w|wyse 160 132-column 42-lines, 
  6830.     cols#132, lw#7, nlab#16, wsl#90, 
  6831.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<8>, ip=$<3>, 
  6832.     rs2=\EeF$<150>\E`;$<150>, use=wy160-42, 
  6833. #
  6834. wy160-43|wyse160-43|wyse 160 80-column 43-lines, 
  6835.     lh@, lines#43, lw@, nlab@, 
  6836.     pln@, rs3=\Ee+$<150>, use=wy160-42, 
  6837. wy160-43-w|wyse160-43-w|wyse 160 132-column 43-lines, 
  6838.     lh@, lines#43, lw@, nlab@, 
  6839.     pln@, rs3=\Ee+$<150>, use=wy160-42-w, 
  6840. #
  6841. wy160-vb|wyse160-vb|Wyse 160 visible bell, 
  6842.     bel@, use=wy160, 
  6843. wy160-w-vb|wy160-wvb|wyse160-wvb|Wyse 160 132-column visible bell, 
  6844.     bel@, use=wy160-w, 
  6845. #
  6846. #    The Wyse 75 is a vt100 lookalike without advanced video.
  6847. #
  6848. #       The Wyse 75 can support one attribute (e.g. Dim, Inverse,
  6849. #    Underline) without magic cookies.  The following description
  6850. #    uses this capability, but when more than one attribute is
  6851. #    put on the screen at once, all attributes will be changed
  6852. #    to be the same as the last attribute given.
  6853. #       The Wyse 75 can support more attributes when used with magic
  6854. #    cookies.  The wy75-mc terminal description uses magic cookies
  6855. #    to correctly handle multiple attributes on a screen.
  6856. #
  6857. wy75|wyse75|wyse 75, 
  6858.     am, hs, mc5i, mir, msgr, xenl, xon, 
  6859.     cols#80, lines#24, ma#1, pb#1201, wsl#78, 
  6860.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6861.     bel=^G, cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[J$<30>, 
  6862.     cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr$<2>, 
  6863.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  6864.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  6865.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP$<3*>, 
  6866.     dch1=\E[P$<3>, dim=\E[0t\E[2m, dl=\E[%p1%dM$<1*>, 
  6867.     dl1=\E[M, dsl=\E[>\,\001\001\E[>-\001\001, 
  6868.     ech=\E[%p1%dX, ed=\E[J$<30>, el=\E[K$<3>, el1=\E[1K$<3>, 
  6869.     enacs=\E)0, flash=\E[30h\E\,\E[30l$<250>, fsl=^A, 
  6870.     home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  6871.     ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
  6872.     ind=\n$<2>, ip=$<1>, 
  6873.     is1=\E[2;4;20;30l\E[?1;10l\E[12h\E[?7;8;25h, 
  6874.     is2=\E>\E(B\E)0\017, is3=\E[m, ka1=\EOw, ka3=\EOy, 
  6875.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
  6876.     kcuf1=\E[C, kcuu1=\E[A, kdl1=\E[M, kel=\E[K, kent=\EOM, 
  6877.     kf1=\E[?5i, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  6878.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  6879.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\E[?3i, 
  6880.     kf20=\E[34~, kf21=\E[35~, kf3=\E[2i, kf4=\E[@, kf5=\E[M, 
  6881.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  6882.     khlp=\E[28~, khome=\E[H, kich1=\E[@, kil1=\E[L, knp=\E[6~, 
  6883.     kpp=\E[5~, kprt=\E[?5i, kslt=\E[4~, mc0=\E[0i, mc4=\E[4i, 
  6884.     mc5=\E[5i, rc=\E8, rev=\E[1t\E[7m, ri=\EM$<2>, rmacs=^O, 
  6885.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, 
  6886.     rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<80>, rs3=\E[?5l, 
  6887.     sc=\E7, 
  6888.     sgr=%?%p5%t\E[0t%;%?%p3%p1%|%t\E[1t%;%?%p2%t\E[2t%;%?%p4%t\E[3t%;%?%p1%p2%p3%p4%p5%|%|%|%|%t\E[7m%e\E[m%;%?%p9%t\016%e\017%;, 
  6889.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  6890.     smkx=\E[?1l\E[?7h\E=, smso=\E[1t\E[7m, smul=\E[2t\E[4m, 
  6891.     tbc=\E[3g, tsl=\E[>\,\001, 
  6892. #
  6893. #    This terminal description uses the non-hidden attribute mode
  6894. #    (with magic cookie).
  6895. #
  6896. wy75-mc|wyse75-mc|wyse 75 with magic cookies, 
  6897.     msgr@, 
  6898.     ma@, xmc#1, 
  6899.     blink=\E[2p, dim=\E[1p, invis=\E[4p, is3=\E[m\E[p, 
  6900.     rev=\E[16p, rmacs=\E[0p\017, rmso=\E[0p, rmul=\E[0p, 
  6901.     sgr=\E[%{0}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{16}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{1}%|%;%?%p7%t%{4}%|%;%dp%?%p9%t\016%e\017%;, 
  6902.     sgr0=\E[0p\017, smacs=\E[0p\016, smso=\E[17p, smul=\E[8p, 
  6903.     use=wy75, 
  6904. wy75-vb|wyse75-vb|wyse 75 with visible bell, 
  6905.     pb@, 
  6906.     bel@, use=wy75, 
  6907. wy75-w|wyse75-w|wyse 75 in 132 column mode, 
  6908.     cols#132, wsl#130, 
  6909.     rs2=\E[35h\E[?3h$<80>, use=wy75, 
  6910. wy75-wvb|wyse75-wvb|wyse 75 with visible bell 132 columns, 
  6911.     pb@, 
  6912.     bel@, use=wy75-w, 
  6913. #
  6914. #    Wyse 85 emulating a vt220 7 bit mode.
  6915. #        24 line screen with status line.
  6916. #
  6917. #    The vt220 mode permits more function keys but it wipes out
  6918. #    the escape key.  I strongly recommend that <f11> be set to
  6919. #    escape (esc).
  6920. #    The terminal may have to be set for 8 data bits and 2 stop
  6921. #    bits for the arrow keys to work.
  6922. #    The Wyse 85 runs faster with XON/XOFF enabled.  Also the
  6923. #    <dch> and <ich> work best when XON/XOFF is set.  <ich> and
  6924. #    <dch> leave trash on the screen when used without XON/XOFF.
  6925. #
  6926. wy85|wyse85|wyse 85, 
  6927.     am, hs, mc5i, mir, msgr, xenl, xon, 
  6928.     cols#80, it#8, lines#24, wsl#80, 
  6929.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6930.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  6931.     clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
  6932.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6933.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6934.     cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
  6935.     dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
  6936.     dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
  6937.     ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
  6938.     enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
  6939.     fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
  6940.     ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
  6941.     ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
  6942.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
  6943.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
  6944.     kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
  6945.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, kf1=\EOP, 
  6946.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  6947.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  6948.     kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, 
  6949.     kf4=\EOS, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  6950.     kfnd=\E[1~, khlp=\E[28~, khome=\E[26~, kich1=\E[2~, 
  6951.     knp=\E[6~, kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, 
  6952.     lf4=PF4, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  6953.     ri=\EM$<3>, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, 
  6954.     rmso=\E[m, rmul=\E[m, rs1=\E[13l\E[3l\E!p, 
  6955.     rs2=\E[35h\E[?3l$<70>, rs3=\E[?5l, sc=\E7, 
  6956.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  6957.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  6958.     smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  6959.     tsl=\E[40h\E7\E[25;%i%p1%dH, 
  6960. #
  6961. #    Wyse 85 with visual bell.
  6962. wy85-vb|wyse85-vb|wyse 85 with visible bell, 
  6963.     bel@, flash=\E[30h\E\,\E[30l$<300>, use=wy85, 
  6964. #
  6965. #    Wyse 85 in 132-column mode.
  6966. wy85-w|wyse85-w|wyse 85 in 132-column mode, 
  6967.     cols#132, wsl#132, 
  6968.     rs2=\E[35h\E[?3h$<70>, use=wy85, 
  6969. #
  6970. #    Wyse 85 in 132-column mode with visual bell.
  6971. wy85-wvb|wyse85-wvb|wyse 85 with visible bell 132-columns, 
  6972.     bel@, use=wy85-w, 
  6973.  
  6974. # From: Kevin Turner <kevint@aracnet.com>, 12 Jul 1998
  6975. # This copes with an apparent firmware bug in the wy85.  He writes:
  6976. # "What I did was change leave the terminal cursor keys set to Normal
  6977. # (instead of application), and change \E[ to \233 for all the keys in
  6978. # terminfo. At one point, I found some reference indicating that this
  6979. # terminal bug (not sending \E[) was acknowledged by Wyse (so it's not just
  6980. # me), but I can't find that and the server under my bookmark to "Wyse 
  6981. # Technical" isn't responding.  So there's the question of wether the wy85
  6982. # terminfo should reflect the manufactuer's intended behaviour of the terminal
  6983. # or the actual."
  6984. wy85-8bit|wyse85-8bit|wyse 85 in 8-bit mode, 
  6985.     am, hs, mc5i, mir, msgr, xenl, xon, 
  6986.     cols#80, it#8, lines#24, wsl#80, 
  6987.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  6988.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  6989.     clear=\E[H\E[J$<110>, cnorm=\E[?25h, cr=^M, 
  6990.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  6991.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  6992.     cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
  6993.     dch=\E[%p1%dP$<3*>, dch1=\E[P$<3>, dim=\E[2m, 
  6994.     dl=\E[%p1%dM$<3*>, dl1=\E[M$<3>, dsl=\E[40l, 
  6995.     ech=\E[%p1%dX, ed=\E[J$<110>, el=\E[K$<1>, el1=\E[1K, 
  6996.     enacs=\E)0, flash=\E[30h\E\,\E[30l$<300>, 
  6997.     fsl=\E[1;24r\E8, home=\E[H, ht=\011$<1>, hts=\EH, 
  6998.     ich=\E[%p1%d@$<4*>, il=\E[%p1%dL$<5*>, il1=\E[L$<5>, 
  6999.     ind=\n$<3>, invis=\E[8m, ip=$<3>, is1=\E[62;1"p\E[?5W, 
  7000.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h$<16>, 
  7001.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
  7002.     kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\233D, kcud1=\233B, 
  7003.     kcuf1=\233C, kcuu1=\233A, kdch1=\2333~, kent=\EOM, 
  7004.     kf1=\EOP, kf10=\23321~, kf11=\23323~, kf12=\23324~, 
  7005.     kf13=\23325~, kf14=\23326~, kf15=\23328~, kf16=\23329~, 
  7006.     kf17=\23331~, kf18=\23332~, kf19=\23333~, kf2=\EOQ, 
  7007.     kf20=\23334~, kf3=\EOR, kf4=\EOS, kf6=\23317~, kf7=\23318~, 
  7008.     kf8=\23319~, kf9=\23320~, kfnd=\2331~, khlp=\23328~, 
  7009.     khome=\23326~, kich1=\2332~, knp=\2336~, kpp=\2335~, 
  7010.     kslt=\2334~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
  7011.     mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<3>, 
  7012.     rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[m, 
  7013.     rmul=\E[m, rs1=\E[13l\E[3l\E!p, rs2=\E[35h\E[?3l$<70>, 
  7014.     rs3=\E[?5l, sc=\E7, 
  7015.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;+m%?%p9%t\016%e\017%;, 
  7016.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  7017.     smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  7018.     tsl=\E[40h\E7\E[25;%i%p1%dH, 
  7019. #
  7020. #    Wyse 185 emulating a vt320 7 bit mode.
  7021. #
  7022. #    This terminal always displays 25 lines.  These lines may be used
  7023. #    as 24 data lines and a terminal status line (top or bottom) or
  7024. #    25 data lines.  The 48 and 50 line modes change the page size
  7025. #    and not the number of lines on the screen.
  7026. #
  7027. #    The Compose Character key can be used as a meta key if changed
  7028. #    by set-up.
  7029. #
  7030. wy185|wyse185|wyse 185, 
  7031.     am, hs, km, mc5i, mir, msgr, xenl, xon, 
  7032.     cols#80, it#8, lines#24, wsl#80, 
  7033.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7034.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7035.     clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
  7036.     csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
  7037.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7038.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7039.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<3>, 
  7040.     dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
  7041.     dsl=\E7\E[99;0H\E[K\E8, ech=\E[%p1%dX, ed=\E[J$<40>, 
  7042.     el=\E[K, el1=\E[1K, enacs=\E)0, 
  7043.     flash=\E[30h\E\,\E[30l$<100>, fsl=\E[1;24r\E8, 
  7044.     home=\E[H, hpa=\E[%i%p1%d`, ht=^I, hts=\EH, 
  7045.     ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, il1=\E[L$<3>, 
  7046.     ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
  7047.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25h, 
  7048.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOy, kb2=\EOu, 
  7049.     kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
  7050.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kent=\EOM, 
  7051.     kf1=\EOP, kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, 
  7052.     kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, 
  7053.     kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, kf2=\EOQ, 
  7054.     kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, kf7=\E[18~, 
  7055.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  7056.     khome=\E[26~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  7057.     kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, mc0=\E[0i, 
  7058.     mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, ri=\EM$<2>, 
  7059.     rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, rmkx=\E>, 
  7060.     rmso=\E[27m, rmul=\E[24m, 
  7061.     rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
  7062.     rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
  7063.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7064.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
  7065.     smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
  7066.     tbc=\E[3g, tsl=\E7\E[99;%i%p1%dH, vpa=\E[%i%p1%dd, 
  7067. #
  7068. #    Wyse 185 with 24 data lines and top status (terminal status)
  7069. wy185-24|wyse185-24|wyse 185 with 24 data lines, 
  7070.     hs@, 
  7071.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
  7072.     use=wy185, 
  7073. #
  7074. #    Wyse 185 with visual bell.
  7075. wy185-vb|wyse185-vb|wyse 185+flash, 
  7076.     bel@, use=wy185, 
  7077. #
  7078. #    Wyse 185 in 132-column mode.
  7079. wy185-w|wyse185-w|wyse 185 in 132-column mode, 
  7080.     cols#132, wsl#132, 
  7081.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
  7082.     ip=$<7>, rs2=\E[35h\E[?3h, use=wy185, 
  7083. #
  7084. #    Wyse 185 in 132-column mode with visual bell.
  7085. wy185-wvb|wyse185-wvb|wyse 185+flash+132 cols, 
  7086.     bel@, use=wy185-w, 
  7087.  
  7088. # wy325 terminfo entries
  7089. # Done by Joe H. Davis        3-9-92
  7090.  
  7091. # lines 25  columns 80
  7092. #
  7093. wy325|wyse325|Wyse epc, 
  7094.     am, bw, hs, mc5i, mir, 
  7095.     cols#80, lh#1, lines#24, lw#8, nlab#8, pb#9601, wsl#45, 
  7096.     acsc=+/\,.0[Iha2fxgqh1jYk?lZm@nEqDtCu4vAwBx3yszr{c~~, 
  7097.     bel=^G, blink=\EG2, cbt=\EI, civis=\E`0, clear=\E+$<50>, 
  7098.     cnorm=\E`1, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  7099.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW$<7>, 
  7100.     dim=\EGp, dl1=\ER$<3>, dsl=\EF\r, ed=\EY$<50>, el=\ET$<4>, 
  7101.     flash=\E`8$<100/>\E`9, fsl=^M, home=^^, ht=^I, hts=\E1, 
  7102.     il1=\EE$<3>, ind=\n$<3>, ip=$<2>, is1=\EcB0\EcC1, 
  7103.     is2=\EcD\E'\Er\EH\003\Ed/\EO\Ee1\Ed*\E`@\E`9\E`1\016\024\El, 
  7104.     is3=\Ew0$<16>, kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=^H, 
  7105.     kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, 
  7106.     kel=\ET, kent=\E7, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  7107.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  7108.     kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, 
  7109.     kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, 
  7110.     kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, ll=^^^K, 
  7111.     mc0=\EP, mc4=^T, mc5=\Ed#, 
  7112.     pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
  7113.     pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
  7114.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<2>, 
  7115.     rmacs=\EcD, rmam=\Ed., rmcup=\Ew0, rmir=\Er, rmln=\EA11, 
  7116.     rs1=\E~!\E~4$<30>, rs2=\EeF\E`\:$<70>, 
  7117.     rs3=\EwG\Ee($<100>, 
  7118.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EcE%e\EcD%;\EG%{48}%?%p2%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  7119.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EcE, smam=\Ed/, 
  7120.     smcup=\Ew1, smir=\Eq, smln=\EA10, smso=\EGt, tbc=\E0, 
  7121.     tsl=\EF, use=adm+sgr, 
  7122.  
  7123. #
  7124. # lines 24  columns 80  vb 
  7125. #
  7126. wy325-vb|wyse325-vb|wyse-325 with visual bell, 
  7127.     bel@, use=wy325, 
  7128.  
  7129. #
  7130. # lines 24  columns 132
  7131. #
  7132. wy325-w|wyse325-w|wy325w-24|wyse-325 in wide mode, 
  7133.     cols#132, lw#7, nlab#16, wsl#97, 
  7134.     cup=\Ea%i%p1%dR%p2%dC, dch1=\EW$<12>, ip=$<4>, 
  7135.     rs2=\E`;$<70>, use=wy325, 
  7136. #
  7137. # lines 25  columns 80
  7138. #
  7139. wy325-25|wyse325-25|wy325-80|wyse-325|wyse-325 25 lines, 
  7140.     lh@, lines#25, lw@, nlab@, 
  7141.     pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
  7142. #
  7143. # lines 25  columns 132
  7144. #
  7145. wy325-25w|wyse325-25w|wy325 132 columns, 
  7146.     lh@, lines#25, lw@, nlab@, 
  7147.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
  7148. #
  7149. # lines 25  columns 132  vb 
  7150. #
  7151. wy325-w-vb|wy325-wvb|wyse325-wvb|wyse-325 wide mode reverse video, 
  7152.     bel@, use=wy325-w, 
  7153.  
  7154. #
  7155. # lines 42  columns 80
  7156. #
  7157. wy325-42|wyse325-42|wyse-325 42 lines, 
  7158.     lh@, lines#42, lw@, nlab@, 
  7159.     pln@, rs3=\EwG\Ee)$<100>, use=wy325, 
  7160. #
  7161. # lines 42  columns 132
  7162. #
  7163. wy325-42w|wyse325-42w|wyse-325 42 lines wide mode, 
  7164.     lh@, lines#42, lw@, nlab@, 
  7165.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
  7166. #
  7167. # lines 42  columns 132  vb 
  7168. #
  7169. wy325-42w-vb|wy325-42wvb|wyse-325 42 lines wide mode visual bell, 
  7170.     bel@, use=wy325-w, 
  7171. #
  7172. # lines 43  columns 80
  7173. #
  7174. wy325-43|wyse325-43|wyse-325 43 lines, 
  7175.     lh@, lines#43, lw@, nlab@, 
  7176.     pln@, use=wy325, 
  7177. #
  7178. # lines 43  columns 132
  7179. #
  7180. wy325-43w|wyse325-43w|wyse-325 43 lines wide mode, 
  7181.     lh@, lines#43, lw@, nlab@, 
  7182.     pln@, rs3=\EwG\Ee)$<100>, use=wy325-w, 
  7183. #
  7184. # lines 43  columns 132  vb 
  7185. #
  7186. wy325-43w-vb|wy325-43wvb|wyse-325 43 lines wide mode visual bell, 
  7187.     bel@, use=wy325-w, 
  7188.  
  7189. #    Wyse 370 -- 24 line screen with status line.
  7190. #
  7191. #    The terminal may have to be set for 8 data bits and 2 stop
  7192. #    bits for the arrow keys to work.
  7193. #
  7194. #    If you change keyboards the terminal will send different
  7195. #    escape sequences.
  7196. #    The following definition is for the basic terminal without
  7197. #    function keys.
  7198. #
  7199. #    <u0> -> enter Tektronix 4010/4014 mode
  7200. #    <u1> -> exit  Tektronix 4010/4014 mode
  7201. #    <u2> -> enter ASCII mode (from any ANSI mode)
  7202. #    <u3> -> exit  ASCII mode (goto native ANSI mode)
  7203. #    <u4> -> enter Tek 4207 ANSI mode (from any ANSI mode)
  7204. #    <u5> -> exit  Tek 4207 mode (goto native ANSI mode)
  7205. #
  7206. # Bug: The <op> capability resets attributes.
  7207. wy370-nk|wyse 370 without function keys, 
  7208.     am, ccc, hs, mc5i, mir, msgr, xenl, xon, 
  7209.     colors#64, cols#80, it#8, lines#24, ncv#48, pairs#64, wsl#80, 
  7210.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7211.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7212.     clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
  7213.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7214.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7215.     cup=\E[%i%p1%d;%p2%dH$<1>, cuu=\E[%p1%dA, cuu1=\E[A, 
  7216.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<1*>, dch1=\E[P$<1>, 
  7217.     dclk=\E[31h, dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, 
  7218.     dsl=\E[40l, ech=\E[%p1%dX$<.1*>, ed=\E[J$<40>, 
  7219.     el=\E[K$<10>, el1=\E[1K$<12>, enacs=\E)0, 
  7220.     flash=\E[30h\E\,\E[30l$<300>, fsl=\E[1;24r\E8, 
  7221.     home=\E[H, hpa=\E[%i%p1%d`, ht=\011$<1>, hts=\EH, 
  7222.     ich=\E[%p1%d@$<1*>, il=\E[%p1%dL$<2*>, il1=\E[L$<2>, 
  7223.     ind=\n$<2>, 
  7224.     initc=\E[66;%p1%d;%?%p2%{250}%<%t%{0}%e%p2%{500}%<%t%{16}%e%p2%{750}%<%t%{32}%e%{48}%;%?%p3%{250}%<%t%{0}%e%p3%{500}%<%t%{4}%e%p3%{750}%<%t%{8}%e%{12}%;%?%p4%{250}%<%t%{0}%e%p4%{500}%<%t%{1}%e%p4%{750}%<%t%{2}%e%{3}%;%{1}%+%+%+%dw, 
  7225.     invis=\E[8m, ip=$<1>, is1=\E[90;1"p\E[?5W$<6>, 
  7226.     is2=\E[2;4;20;30;40l\E[?1;10;16l\E[12h\E[?7;8;25h, 
  7227.     is3=\E>\017\E)0\E(B\E[63;0w\E[m, mc0=\E[0i, mc4=\E[4i, 
  7228.     mc5=\E[5i, 
  7229.     oc=\E[60w\E[63;0w\E[66;1;4w\E[66;2;13w\E[66;3;16w\E[66;4;49w\E[66;5;51w\E[66;6;61w\E[66;7;64w, 
  7230.     op=\E[m, rc=\E8, rev=\E[7m, ri=\EM$<2>, rmacs=^O, 
  7231.     rmam=\E[?7l, rmclk=\E[31l, rmcup=\E[ R, rmir=\E[4l, 
  7232.     rmkx=\E>, rmso=\E[27m, rmul=\E[24m, 
  7233.     rs1=\E[13l\E[3l\E!p\E[?4i, rs2=\E[35h\E[?3l$<8>, 
  7234.     rs3=\E[?5l, sc=\E7, setb=\E[62;%p1%dw, setf=\E[61;%p1%dw, 
  7235.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7236.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smcup=\E[ Q, 
  7237.     smir=\E[4h, smkx=\E[?1l\E=, smso=\E[7m, smul=\E[4m, 
  7238.     tbc=\E[3g, tsl=\E[40l\E[40h\E7\E[99;%i%p1%dH, 
  7239.     u0=\E[?38h\E8, u1=\E[?38l\E)0, u2=\E[92;52"p, u3=\E~B, 
  7240.     u4=\E[92;76"p, u5=\E%!1\E[90;1"p, vpa=\E[%i%p1%dd, 
  7241. #
  7242. #    Function key set for the ASCII (wy-50 compatible) keyboard
  7243. #    This is the default 370.
  7244. #
  7245. wy370|wyse370|wy370-101k|Wyse 370 with 101 key keyboard, 
  7246.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7247.     kcuu1=\E[A, kdch1=\EOQ, kdl1=\EOQ, kent=\EOM, kf1=\E[?4i, 
  7248.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  7249.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf2=\E[?3i, 
  7250.     kf3=\E[2i, kf4=\E[@, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
  7251.     kf8=\E[19~, kf9=\E[20~, khome=\E[H, kich1=\EOP, kil1=\EOP, 
  7252.     knp=\E[U, kpp=\E[V, use=wy370-nk, 
  7253. #
  7254. #    Function key set for the VT-320 (and wy85) compatible keyboard
  7255. #
  7256. wy370-105k|Wyse 370 with 105 key keyboard, 
  7257.     ka1=\EOw, ka3=\EOy, kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, 
  7258.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  7259.     kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  7260.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  7261.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  7262.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  7263.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  7264.     khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
  7265.     kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
  7266.     use=wy370-nk, 
  7267. #
  7268. #    Function key set for the PC compatible keyboard
  7269. #
  7270. wy370-EPC|Wyse 370 with 102 key keyboard, 
  7271.     kbs=^H, kcbt=\E[Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7272.     kcuu1=\E[A, kend=\E[1~, kent=\EOM, kf1=\EOP, kf10=\E[21~, 
  7273.     kf11=\E[23~, kf12=\E[24~, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  7274.     kf5=\E[M, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  7275.     khome=\E[H, kich1=\E[2~, knp=\E[U, kpp=\E[V, use=wy370-nk, 
  7276. #
  7277. #    Wyse 370 with visual bell.
  7278. wy370-vb|Wyse 370 with visible bell, 
  7279.     bel@, use=wy370, 
  7280. #
  7281. #    Wyse 370 in 132-column mode.
  7282. wy370-w|Wyse 370 in 132-column mode, 
  7283.     cols#132, wsl#132, 
  7284.     rs2=\E[35h\E[?3h$<70>, use=wy370, 
  7285. #
  7286. #    Wyse 370 in 132-column mode with visual bell.
  7287. wy370-wvb|Wyse 370 with visible bell 132-columns, 
  7288.     flash=\E[30h\E\,\E[30l$<300>, use=wy370-w, 
  7289. wy370-rv|Wyse 370 reverse video, 
  7290.     rs3=\E[32h\E[?5h, use=wy370, 
  7291. #
  7292. #    Wyse 99gt Tektronix 4010/4014 emulator,
  7293. #
  7294. wy99gt-tek|Wyse 99gt Tektronix 4010/4014 emulator, 
  7295.     am, os, 
  7296.     cols#74, lines#35, 
  7297.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
  7298.     cup=\035%{3040}%{89}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
  7299.     cuu1=^K, ff=^L, 
  7300.     hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
  7301.     home=^]7`x @\037, 
  7302.     hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
  7303.     is2=\E8, nel=^M^J, u0=\E~>\E8, u1=\E[42h, 
  7304. #
  7305. #    Wyse 160 Tektronix 4010/4014 emulator,
  7306. #
  7307. wy160-tek|Wyse 160 Tektronix 4010/4014 emulator, 
  7308.     cup=\035%{3103}%{91}%p1%*%-%Py%p2%{55}%*%Px%gy%{128}%/%{31}%&%{32}%+%c%gy%{3}%&%{4}%*%gx%{3}%&%+%{96}%+%c%gy%{004}%/%{31}%&%{96}%+%c%gx%{128}%/%{31}%&%{32}%+%c%gx%{004}%/%{31}%&%{64}%+%c\037, 
  7309.     home=^]8`g @\037, use=wy99gt-tek, 
  7310. #
  7311. #    Wyse 370 Tektronix 4010/4014 emulator,
  7312. #
  7313. wy370-tek|Wyse 370 Tektronix 4010/4014 emulator, 
  7314.     am, os, 
  7315.     cols#80, lines#36, 
  7316.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, 
  7317.     cup=\035%{775}%{108}%p1%*%{5}%/%-%Py%p2%{64}%*%{4}%+%{5}%/%Px%gy%{32}%/%{31}%&%{32}%+%c%gy%{31}%&%{96}%+%c%gx%{32}%/%{31}%&%{32}%+%c%gx%{31}%&%{64}%+%c\037, 
  7318.     cuu1=^K, ff=^L, 
  7319.     hd=\036HHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH\037, 
  7320.     home=^]8g @\037, 
  7321.     hu=\036DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD\037, 
  7322.     is2=\E8, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^I, kcuu1=^K, 
  7323.     nel=^M^J, u0=\E[?38h\E8, u1=\E[?38l\E)0, 
  7324.  
  7325. # Vendor-supplied Wyse entries end here.
  7326.  
  7327. #
  7328. #TITLE:  TERMINFO ENTRY WY520
  7329. #DATE:   8/5/93
  7330. # The WY520 terminfo is based on the WY285 entry published on the WYSE 
  7331. # BBS with the addition of more function keys and special keys.
  7332. #
  7333. #               rs1 -> set personality
  7334. #               rs2 -> set number of columns
  7335. #               rs3 -> set number of lines
  7336. #               is1 -> select the proper font
  7337. #               is2 -> do the initialization
  7338. #               is3 -> If this string is empty then rs3 gets sent.
  7339. #
  7340. #       Wyse 520 emulating a vt420 7 bit mode with default ANSI keyboard
  7341. #       - The BS key is programmed to generate BS in smcup since
  7342. #         is2 doesn't seem to work.
  7343. #       - Remove and shift/Remove: delete a character
  7344. #       - Insert : enter insert mode
  7345. #       - Find   : delete to end of file
  7346. #       - Select : clear a line
  7347. #       - F11, F12, F13: send default sequences (not ESC, BS, LF)
  7348. #       - F14 : Home key
  7349. #       - Bottom status line (host writable line) is used.
  7350. #       - smkx,rmkx are removed because this would put the numeric
  7351. #         keypad in Dec application mode which doesn't seem to work
  7352. #         with SCO applications.
  7353. #
  7354. wy520|wyse520|wyse 520, 
  7355.     am, hs, km, mc5i, mir, xenl, xon, 
  7356.     cols#80, it#8, lines#24, wsl#80, 
  7357.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7358.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7359.     clear=\E[H\E[J$<40>, cnorm=\E[34h\E[?25h, cr=^M, 
  7360.     csr=\E[%i%p1%d;%p2%dr$<20>, cub=\E[%p1%dD, cub1=^H, 
  7361.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7362.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7363.     cvvis=\E[?25h\E[34l, dch=\E[%p1%dP$<3>, dch1=\E[P$<30>, 
  7364.     dim=\E[2m, dl=\E[%p1%dM$<2*>, dl1=\E[M$<2>, dsl=\E[0$~, 
  7365.     ech=\E[%p1%dX, ed=\E[J$<40>, el=\E[K, el1=\E[1K, 
  7366.     enacs=\E)0, fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%d`, ht=^I, 
  7367.     hts=\EH, ich=\E[%p1%d@$<2>, il=\E[%p1%dL$<3*>, 
  7368.     il1=\E[L$<3>, ind=\n$<2>, invis=\E[8m, ip=$<4>, is1=\E[?5W, 
  7369.     is2=\E[2;4;20;30l\E[?1;4;10;16l\E[12h\E[?7;8;25;67h, 
  7370.     is3=\E>\E(B\E)0\017\E[m, ka1=\EOw, ka3=\EOu, kb2=\EOy, 
  7371.     kbs=^H, kc1=\EOq, kc3=\EOs, kcbt=\E[Z, kcub1=\E[D, 
  7372.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, ked=\E[1~, 
  7373.     kel=\E[4~, kent=\EOM, kf1=\EOP, kf10=\E[21~, kf11=\E[23~, 
  7374.     kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, kf15=\E[28~, 
  7375.     kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, kf19=\E[33~, 
  7376.     kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  7377.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  7378.     khlp=\E[28~, khome=\E[26~, kich1=\E[2~, knp=\E[6~, 
  7379.     kpp=\E[5~, kslt=\E[4~, lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, 
  7380.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  7381.     ri=\EM$<2>, rmacs=^O, rmam=\E[?7l, rmcup=\E[ R, rmir=\E[4l, 
  7382.     rmso=\E[m, rmul=\E[24m, 
  7383.     rs1=\E[13l\E[3l\E\\\E[63;1"p\E[!p, rs2=\E[35h\E[?3l, 
  7384.     rs3=\E[?5l\E[47h\E[40l\E[r, sc=\E7, 
  7385.     sgr=\E[0%?%p2%t;4%;%?%p3%p1%|%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7386.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, 
  7387.     smcup=\E[ Q\E[?67;8h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  7388.     tbc=\E[3g, tsl=\E[2$~\E[1$}\E[%i%p1%d`, 
  7389.     vpa=\E[%i%p1%dd, 
  7390. #
  7391. #       Wyse 520 with 24 data lines and status (terminal status)
  7392. wy520-24|wyse520-24|wyse 520 with 24 data lines, 
  7393.     hs@, 
  7394.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
  7395.     use=wy520, 
  7396. #
  7397. #       Wyse 520 with visual bell.
  7398. wy520-vb|wyse520-vb|wyse 520 with visible bell, 
  7399.     flash=\E[30h\E\,\E[30l$<100>, use=wy520, 
  7400. #
  7401. #       Wyse 520 in 132-column mode.
  7402. wy520-w|wyse520-w|wyse 520 in 132-column mode, 
  7403.     cols#132, wsl#132, 
  7404.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
  7405.     ip=$<7>, rs2=\E[35h\E[?3h, use=wy520, 
  7406. #
  7407. #       Wyse 520 in 132-column mode with visual bell.
  7408. wy520-wvb|wyse520-wvb|wyse 520 with visible bell 132-columns, 
  7409.     flash=\E[30h\E\,\E[30l$<100>, use=wy520-w, 
  7410. #
  7411. #
  7412. #       Wyse 520 emulating a vt420 7 bit mode.
  7413. #       The DEL key is programmed to generate BS in is2.
  7414. #       With EPC keyboard.
  7415. #       - 'End' key will clear till end of line on EPC keyboard
  7416. #       - Shift/End : ignored.
  7417. #       - Insert : enter insert mode.
  7418. #       - Delete : delete a character (have to change interrupt character
  7419. #                  to CTRL-C: stty intr '^c') for it to work since the
  7420. #                  Delete key sends 7FH.
  7421. wy520-epc|wyse520-epc|wyse 520 with EPC keyboard, 
  7422.     kdch1=\177, kel=\E[4~, kend=\E[4~, kf0=\E[21~, kf1=\E[11~, 
  7423.     kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, kf5=\E[15~, khome=\E[H, 
  7424.     use=wy520, 
  7425. #
  7426. #       Wyse 520 with 24 data lines and status (terminal status)
  7427. #       with EPC keyboard.
  7428. wy520-epc-24|wyse520-pc-24|wyse 520 with 24 data lines and EPC keyboard, 
  7429.     hs@, 
  7430.     dsl@, fsl@, rs3=\E[?5l\E[47h\E[40l\E[1;24r, tsl@, 
  7431.     use=wy520-epc, 
  7432. #
  7433. #       Wyse 520 with visual bell.
  7434. wy520-epc-vb|wyse520-pc-vb|wyse 520 with visible bell and EPC keyboard, 
  7435.     flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc, 
  7436. #
  7437. #       Wyse 520 in 132-column mode.
  7438. wy520-epc-w|wyse520-epc-w|wyse 520 in 132-column mode with EPC keyboard, 
  7439.     cols#132, wsl#132, 
  7440.     dch=\E[%p1%dP$<7>, dch1=\E[P$<7>, ich=\E[%p1%d@$<7>, 
  7441.     ip=$<7>, rs2=\E[35h\E[?3h, use=wy520-epc, 
  7442. #
  7443. #       Wyse 520 in 132-column mode with visual bell.
  7444. wy520-epc-wvb|wyse520-p-wvb|wyse 520 with visible bell 132-columns and EPC keyboard, 
  7445.     flash=\E[30h\E\,\E[30l$<100>, use=wy520-epc-w, 
  7446. #
  7447. #       Wyse 520 in 80-column, 36 lines
  7448. wy520-36|wyse520-36|wyse 520 with 36 data lines, 
  7449.     hs@, 
  7450.     lines#36, 
  7451.     dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, 
  7452.     use=wy520, 
  7453. #
  7454. #       Wyse 520 in 80-column, 48 lines
  7455. wy520-48|wyse520-48|wyse 520 with 48 data lines, 
  7456.     hs@, 
  7457.     lines#48, 
  7458.     dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, 
  7459.     use=wy520, 
  7460. #
  7461. #       Wyse 520 in 132-column, 36 lines
  7462. wy520-36w|wyse520-36w|wyse 520 with 132 columns and 36 data lines, 
  7463.     cols#132, wsl#132, 
  7464.     rs2=\E[?3h, 
  7465.     rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, 
  7466.     use=wy520-36, 
  7467. #
  7468. #       Wyse 520 in 132-column, 48 lines
  7469. wy520-48w|wyse520-48w|wyse 520 with 48 data lines, 
  7470.     cols#132, wsl#132, 
  7471.     rs2=\E[?3h, 
  7472.     rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, 
  7473.     use=wy520-48, 
  7474. #
  7475. #
  7476. #       Wyse 520 in 80-column, 36 lines with EPC keyboard
  7477. wy520-36pc|wyse520-36pc|wyse 520 with 36 data lines and EPC keyboard, 
  7478.     hs@, 
  7479.     lines#36, 
  7480.     dsl@, fsl@, rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r, tsl@, 
  7481.     use=wy520-epc, 
  7482. #
  7483. #       Wyse 520 in 80-column, 48 lines with EPC keyboard
  7484. wy520-48pc|wyse520-48pc|wyse 520 with 48 data lines and EPC keyboard, 
  7485.     hs@, 
  7486.     lines#48, 
  7487.     dsl@, fsl@, rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r, tsl@, 
  7488.     use=wy520-epc, 
  7489. #
  7490. #       Wyse 520 in 132-column, 36 lines with EPC keyboard
  7491. wy520-36wpc|wyse520-36wpc|wyse 520 with 36 data lines and EPC keyboard, 
  7492.     cols#132, wsl#132, 
  7493.     rs2=\E[?3h, 
  7494.     rs3=\E[?5l\E[36*|\E[36t\E[40l\E[1;36r\E[132$|, 
  7495.     use=wy520-36pc, 
  7496. #
  7497. #       Wyse 520 in 132-column, 48 lines with EPC keyboard
  7498. wy520-48wpc|wyse520-48wpc|wyse 520 with 48 data lines and EPC keyboard, 
  7499.     cols#132, wsl#132, 
  7500.     rs2=\E[?3h, 
  7501.     rs3=\E[?5l\E[48*|\E[48t\E[40l\E[1;48r\E[132$|, 
  7502.     use=wy520-48pc, 
  7503.  
  7504. # From: John Gilmore <hoptoad!gnu@lll-crg.arpa>
  7505. # (wyse-vp: removed <if=/usr/share/tabset/wyse-adds>, there's no such
  7506. # file and we don't know what <hts> is -- esr)
  7507. wyse-vp|Wyse 50 in ADDS Viewpoint emulation mode with "enhance" on, 
  7508.     OTbs, am, 
  7509.     cols#80, it#8, lines#24, 
  7510.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  7511.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EW, 
  7512.     dl1=\El, ed=\Ek, el=\EK, home=^A, ht=^I, il1=\EM, ind=^J, 
  7513.     is2=\E`\:\E`9\017\Er, kbs=^H, kcub1=^U, kcud1=^J, kcuf1=^F, 
  7514.     kcuu1=^Z, khome=^A, ll=^A^Z, nel=^M^J, rmir=\Er, rmso=^O, 
  7515.     rmul=^O, rs1=\E`\:\E`9\017\Er, sgr0=^O, smir=\Eq, smso=^N, 
  7516.     smul=^N, 
  7517.  
  7518. wy75ap|wyse75ap|wy-75ap|wyse-75ap|Wyse WY-75 Applications and Cursor keypad, 
  7519.     is2=\E[1;24r\E[?10;3l\E[?1;25h\E[4l\E[m\E(B\E=, 
  7520.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  7521.     khome=\EOH, rmkx=\E[?1l\E>$<10/>, smkx=\E[?1h\E=$<10/>, 
  7522.     use=wy75, 
  7523.  
  7524. # From: Eric Freudenthal <freudent@eric.ultra.nyu.edu>
  7525. wy100q|Wyse 100 for Quotron, 
  7526.     OTbs, 
  7527.     cols#80, lines#24, xmc#1, 
  7528.     cbt=\EI, clear=^Z, cub1=^H, cud1=^J, cuf1=^L, 
  7529.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  7530.     dl1=\ER, ed=\EY, el=\ET, home=^^, il1=\EE, invis@, 
  7531.     is2=\E`\:\0\EC\EDF\E0\E'\E(\EA21, kcub1=^H, kcud1=^J, 
  7532.     kcuf1=^L, kcuu1=^K, ri=\Ej, rmir=\Er, smir=\Eq, use=adm+sgr, 
  7533.  
  7534. #### Kermit terminal emulations
  7535. #
  7536. # Obsolete Kermit versions may be listed in the section describing obsolete
  7537. # non-ANSI terminal emulators later in the file.
  7538. #
  7539.  
  7540. # KERMIT standard all versions.
  7541. # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
  7542. # (kermit: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  7543. # From: greg small <gts@populi.berkeley.edu> 9-25-84
  7544. kermit|standard kermit, 
  7545.     OTbs, 
  7546.     cols#80, lines#24, 
  7547.     clear=\EE, cub1=^H, cuf1=\EC, 
  7548.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  7549.     el=\EK, home=\EH, is2=K0 Standard Kermit  9-25-84\n, 
  7550.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  7551. kermit-am|standard kermit plus auto-margin, 
  7552.     am, 
  7553.     is2=K1 Standard Kermit plus Automatic Margins\n, 
  7554.     use=kermit, 
  7555. # IBMPC Kermit 1.2.
  7556. # Bugs: <ed>, <el>: do not work except at beginning of line!  <clear> does
  7557. # not work, but fake with :cl=\EH\EJ (since :cd=\EJ: works at beginning of
  7558. # line).
  7559. # From: greg small <gts@populi.berkeley.edu> 8-30-84
  7560. pckermit|pckermit12|UCB IBMPC Kermit 1.2, 
  7561.     am, 
  7562.     lines#25, 
  7563.     clear=\EH\EJ, ed@, el@, 
  7564.     is2=K2 UCB IBMPC Kermit 1.2  8-30-84\n, use=kermit, 
  7565. # IBMPC Kermit 1.20
  7566. # Cannot use line 25, now acts funny like ansi special scrolling region.
  7567. # Initialization must escape from that region by cursor position to line 24.
  7568. # Cannot use character insert because 1.20 goes crazy if insert at col 80.
  7569. # Does not use :am: because autowrap is lost when kermit dropped and restarted.
  7570. # From: greg small <gts@populi.berkeley.edu> 12-19-84
  7571. pckermit120|UCB IBMPC Kermit 1.20, 
  7572.     it#8, lines#24, 
  7573.     cud1=\EB, cvvis=\EO\Eq\EEK3, dch1=\EN, dl1=\EM, ht=^I, 
  7574.     il1=\EL, 
  7575.     is2=\EO\Eq\EJ\EY7 K3 UCB IBMPC Kermit 1.20  12-19-84\n, 
  7576.     rmir@, rmso=\Eq, smir@, smso=\Ep, use=kermit, 
  7577. # MS-DOS Kermit 2.27 for the IBMPC
  7578. # Straight ascii keyboard. :sr=\EI: not avail. many versions + bug prone in vi.
  7579. # Cannot use line 25, now acts funny like ansi special scrolling region.
  7580. # Initialization must escape from that region by cursor position to line 24.
  7581. # Does not use am: because autowrap is lost when kermit dropped and restarted.
  7582. # Reverse video for standout like H19.
  7583. # (msk227: removed obsolete ":ma=^Hh^Jj^Kk^Ll^^H:" -- esr)
  7584. # From: greg small <gts@populi.berkeley.edu> 3-17-85
  7585. msk227|mskermit227|MS-DOS Kermit 2.27 for the IBMPC, 
  7586.     OTbs, am@, 
  7587.     cols#80, it#8, lines#24, 
  7588.     clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
  7589.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  7590.     cvvis=\EO\Eq\EG\EwK4, dch1=\EN, dl1=\EM, ed=\EJ, el=\EK, 
  7591.     home=\EH, ht=^I, il1=\EL, 
  7592.     is2=\EO\Eq\EG\Ew\EJ\EY7 K4 MS Kermit 2.27 for the IBMPC 3-17-85\n, 
  7593.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rc=\Ek, 
  7594.     rmir=\EO, rmso=\Eq, sc=\Ej, smir=\E@, smso=\Ep, 
  7595. # MS-DOS Kermit 2.27 with automatic margins
  7596. # From:    greg small <gts@populi.berkeley.edu> 3-17-85
  7597. msk227am|mskermit227am|UCB MS-DOS Kermit 2.27 with automatic margins, 
  7598.     am, 
  7599.     cvvis=\EO\Eq\EG\EvK5, 
  7600.     is2=\EO\Eq\EG\Ev\EJ\EY7 K5 MS Kermit 2.27 +automatic margins 3-17-85\n, 
  7601.     use=msk227, 
  7602. # MS-DOS Kermit 2.27 UCB 227.14 for the IBM PC
  7603. # Automatic margins now default.  Use ansi <sgr> for highlights.
  7604. # Define function keys.
  7605. # (msk22714: removed obsolete ":kn#10:" -- esr)
  7606. # From: greg small <gts@populi.berkeley.edu> 3-17-85
  7607. msk22714|mskermit22714|UCB MS-DOS Kermit 2.27 UCB 227.14 IBM PC, 
  7608.     am, 
  7609.     bold=\E[1m, cvvis=\EO\Eq\EG\EvK6, 
  7610.     is2=\EO\Eq\EG\Ev\EJ\EY7 K6 MS Kermit 2.27 UCB 227.14 IBM PC 3-17-85\n, 
  7611.     kf0=\E0, kf1=\E1, kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, 
  7612.     kf7=\E7, kf8=\E8, kf9=\E9, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
  7613.     sgr0=\E[m, smso=\E[1m, smul=\E[4m, use=mskermit227, 
  7614. # This was designed for a VT320 emulator, but it is probably a good start
  7615. # at support for the VT320 itself.
  7616. # Please send changes with explanations to bug-gnu-emacs@prep.ai.mit.edu.
  7617. # (vt320-k3: I added <rmam>/<smam> based on the init string -- esr)
  7618. vt320-k3|MS-Kermit 3.00's vt320 emulation, 
  7619.     am, eslok, hs, km, mir, msgr, xenl, 
  7620.     cols#80, it#8, lines#49, pb#9600, vt#3, 
  7621.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7622.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  7623.     clear=\E[H\E[J, cmdch=\E, cnorm=\E[?25h, cr=^M, 
  7624.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7625.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7626.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7627.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  7628.     dsl=\E[0$~, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  7629.     flash=\E[?5h\E[?5l\E[?5h\E[?5l\E[?5h\E[?5l, 
  7630.     fsl=\E[0$}, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  7631.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  7632.     is2=\E>\E F\E[?1l\E[?7h\E[r\E[2$~, kbs=^H, kcub1=\EOD, 
  7633.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdl1=\E[3~, kf0=\E[21~, 
  7634.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  7635.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kich1=\E[2~, knp=\E[6~, 
  7636.     kpp=\E[5~, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, rc=\E8, 
  7637.     rev=\E[7m, ri=\EM, rin=\E[%p1%dL, rmacs=\E(B, rmam=\E[?7l, 
  7638.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  7639.     rs1=\E(B\E)B\E>\E F\E[4;20l\E[12h\E[?1;5;6;38;42l\E[?7;25h\E[4i\E[?4i\E[m\E[r\E[2$~, 
  7640.     sc=\E7, sgr0=\E[m, smacs=\E(0, smam=\E[?7h, smir=\E[4h, 
  7641.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  7642.     tsl=\E[1$}\r\E[K, vpa=\E[%i%p1%dd, 
  7643. # From: Joseph Gil <yogi@cs.ubc.ca> 13 Dec 1991
  7644. # ACS capabilities from Philippe De Muyter  <phdm@info.ucl.ac.be> 30 May 1996
  7645. # (I removed a bogus boolean :mo: and added <msgr>, <smam>, <rmam> -- esr)
  7646. vt320-k311|dec vt320 series as defined by kermit 3.11, 
  7647.     am, eslok, hs, mir, msgr, xenl, xon, 
  7648.     cols#80, it#8, lines#24, vt#3, 
  7649.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7650.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  7651.     clear=\E[;H\E[2J, cnorm=\E[?25h, cr=^M, 
  7652.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  7653.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7654.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7655.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  7656.     dl1=\E[M, dsl=\E[2$~\r\E[1$}\E[K\E[$}, ed=\E[J, el=\E[K, 
  7657.     flash=\E[?5h\E[?5l, fsl=\E[$}, home=\E[H, ht=^I, hts=\EH, 
  7658.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L$<3/>, ind=\ED, 
  7659.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r\E[24;1H, 
  7660.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  7661.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf6=\E[17~, 
  7662.     kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, lf1=pf1, lf2=pf2, 
  7663.     lf3=pf3, lf4=pf4, nel=^M\ED, rc=\E8, rev=\E[7m, 
  7664.     rf=/usr/share/tabset/vt100, ri=\EM, rmacs=^O, 
  7665.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[27m, 
  7666.     rmul=\E[24m, rs1=\E[?3l, sc=\E7, sgr0=\E[m, smacs=^N, 
  7667.     smam=\E[?7h, smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, 
  7668.     smul=\E[4m, tbc=\E[3g, tsl=\E[2$~\E[1$}\E[1;%dH, 
  7669.  
  7670. ######## NON-ANSI TERMINAL EMULATIONS
  7671. #
  7672.  
  7673. #### Avatar
  7674. #
  7675. # These entries attempt to describe Avatar, a terminal emulation used with
  7676. # MS-DOS bulletin-board systems.  It was designed to give ANSI-like
  7677. # capabilities, but with cheaper (shorter) control sequences.  Messy design,
  7678. # excessively dependent on PC idiosyncracies, but apparently rather popular
  7679. # in the BBS world.
  7680. #
  7681. # No color support.  Avatar doesn't fit either of the Tektronix or HP color
  7682. # models that terminfo knows about.  An Avatar color attribute is the
  7683. # low 7 bits of the IBM-PC display-memory attribute.  Bletch.
  7684. #
  7685. # I wrote these entries while looking at the Avatar spec.  I don't have
  7686. # the facilities to test them.  Let me know if they work, or don't.
  7687. #
  7688. # Avatar escapes not used by these entries (because maybe you're smarter
  7689. # and more motivated than I am and can figure out how to wrap terminfo
  7690. # around some of them, and because they are weird enough to be funny):
  7691. #                level 0:
  7692. # ^L        -- clear window/reset current attribute to default
  7693. # ^V^A%p1%c    -- set current color attribute, parameter decodes as follows:
  7694. #      bit:         6   5   4   3   2   1   0
  7695. #                   |       |   |   |       |
  7696. #                   +---+---+   |   +---+---+
  7697. #                       |       |       |
  7698. #                       |       |  foreground color
  7699. #                       |  foreground intensity
  7700. #                  background color
  7701. #                level 0+:
  7702. # ^V^J%p1%c%p2%c%p3%c%p4%c%p5%c    -- scroll (p2,p3) to (p4,p5) up by p1 lines
  7703. # ^V^K%p1%c%p2%c%p3%c%p4%c%p5%c    -- scroll (p2,p3) to (p4,p5) down by p1 lines
  7704. # ^V^L%p1%c%p2%c%p3%c        -- clear p2 lines and p3 cols w/attr %p1 
  7705. # ^V^M%p1%c%p2%c%p3%c%p4%c    -- fill p3 lines & p4 cols w/char p2+attr %p1 
  7706. # (^V^L and ^V^M set the current attribute as a side-effect.)
  7707. # ^V ^Y <a> [...] <c>    -- repeat pattern. <a> specifies the number of bytes
  7708. #               in the pattern, <c> the number of times the pattern
  7709. #                 should be repeated. If either value is 0, no-op.
  7710. #               The pattern can contain Avatar console codes,
  7711. #               including other ^V ^Y patterns.
  7712. #                level 1:
  7713. # ^V^O        -- clockwise mode on; turn print direction right each time you
  7714. #           hit a window edge (yes, really).  Turned off by CR
  7715. # ^V^P        -- no-op
  7716. # ^V^Q%c    -- query the driver
  7717. # ^V^R        -- driver reset
  7718. # ^V^S        -- Sound tone (PC-specific)
  7719. # ^V^T            -- change highlight at current cursor poition to %c
  7720. # ^V^U%p1%c%p2%c    -- highlight window <a> with attribute <b>
  7721. # ^V^V%p1%c%p2%c%p3%c%p4%c%p5%c
  7722. #            -- define window 
  7723. #
  7724. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  7725. # (The <blink>/<bold>/<rev>/<smacs>/<smul>/<smso> capabilities exist only to
  7726. # tell ncurses that the corresponding highlights exist; it should use <sgr>,
  7727. # which is the only method that will actually work for multiple highlights.)
  7728. avatar0|avatar terminal emulator level 0, 
  7729.     am, bce, msgr, 
  7730.     cols#80, it#8, lines#25, 
  7731.     blink=^A^V\177, bold=^V^A^P, cr=^M, cub1=^V^E, cud1=^V^D, 
  7732.     cuf1=^V^F, cup=\026\010%p1%c%p2%c, cuu1=^V^C, el=^V^G, 
  7733.     ind=^J, invis=^V^A\0, rep=\031%p1%c%p2%d, rev=^A^Vp, 
  7734.     rs2=^L, 
  7735.     sgr=\026\001%{0}%?%p1%t%{112}%|%;%?%p2%t%{1}%|%;%?%p3%t%{112}%|%;%?%p4%t{128}%|%;%?%p6%t%{16}%|%;, 
  7736.     sgr0=^V^A^G, smacs=, smso=^A^Vp, smul=^V^A, use=klone+acs, 
  7737. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  7738. avatar0+|avatar terminal emulator level 0+, 
  7739.     dch1=^V^N, rmir=\026\n\0\0\0\0, smir=^V^I, use=avatar0, 
  7740. # From: Eric S. Raymond <esr@snark.thyrsus.com> 1 Nov 1995
  7741. avatar|avatar1|avatar terminal emulator level 1, 
  7742.     civis=^V'^B, cnorm=^V'^A, cvvis=^V^C, dl1=^V-, il1=^V+, 
  7743.     rmam=^V", rmir=^V^P, smam=^V$, use=avatar0+, 
  7744.  
  7745. #### RBcomm
  7746. #
  7747. # RBComm is a lean and mean terminal emulator written by the Interrupt List
  7748. # maintainer, Ralf Brown. It was fairly popular in the late DOS years (early
  7749. # '90s), especially in the BBS world, and still has some loyal users due to
  7750. # its very small memory footprint and to a cute macro language.
  7751. rbcomm|IBM PC with RBcomm and EMACS keybindings, 
  7752.     am, bw, mir, msgr, xenl, 
  7753.     cols#80, it#8, lines#25, 
  7754.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  7755.     clear=^L, cnorm=\E[?25h, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  7756.     cub1=^H, cud1=^C, cuf1=^B, 
  7757.     cup=\037%p2%{32}%+%c%p1%{32}%+%c, cuu1=^^, 
  7758.     cvvis=\E[?25h, dch1=^W, dl=\E[%p1%dM, dl1=^Z, 
  7759.     ech=\E[%p1%dX, ed=^F5, el=^P^P, ht=^I, il=\E[%p1%dL, il1=^K, 
  7760.     ind=\ED, invis=\E[8m, 
  7761.     is2=\017\035\E(B\E)0\E[?7h\E[?3l\E[>8g, kbs=^H, 
  7762.     kcub1=^B, kcud1=^N, kcuf1=^F, kcuu1=^P, khome=^A, nel=^M\ED, 
  7763.     rc=\E8, rep=\030%p1%c%p2%c, rev=^R, ri=\EM, rmcup=, rmdc=, 
  7764.     rmir=^], rmkx=\E>, rmso=^U, rmul=^U, 
  7765.     rs1=\017\E(B\E)0\025\E[?3l\E[>8g, sc=\E7, sgr0=\E[m, 
  7766.     smcup=, smdc=, smir=^\, smkx=\E=, smso=^R, smul=^T, 
  7767. rbcomm-nam|IBM PC with RBcomm without autowrap, 
  7768.     am@, 
  7769.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
  7770.     is2=\017\035\E(B\E)0\E[?7l\E[?3l\E[>8g, kbs=^H, 
  7771.     kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm, 
  7772. rbcomm-w|IBM PC with RBcomm in 132 column mode, 
  7773.     cols#132, 
  7774.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, 
  7775.     is2=\017\035\E(B\E)0\E[?7h\E[?3h\E[>8g, kbs=^H, 
  7776.     kcub1=^H, kcud1=^J, nel=^M^J, use=rbcomm, 
  7777.  
  7778. ######## LCD DISPLAYS
  7779. #
  7780.  
  7781. #### Matrix Orbital
  7782. # from: Eric Z. Ayers  (eric@ale.org)
  7783. #
  7784. # Matrix Orbital 20x4 LCD display
  7785. # Command Character is 0xFE (decimal 254, octal 376)
  7786. #
  7787. # On this device, cursor addressability isn't possible.  The LCD expects:
  7788. #      0xfe G <col> <row> 
  7789. #      for cup: %p1 == row and %p2 is column
  7790. #
  7791. # This line:
  7792. #    cup=\376G%p2%c%p1%c
  7793. # LOOKS like it will work, but sometimes only one of the two numbers is sent. 
  7794. # See the terminfo (5) manpage commented regarding 'Terminals which use "%c"'.
  7795. # Alas, there is no cursor upline capability on this display.
  7796. #
  7797. # These entries add some 'sanity stuff' to the clear function.  That is, it
  7798. # does a 'clear' and also turns OFF auto scroll, turns ON Auto Line Wrapping,
  7799. # and turns off the cursor blinking and stuff like that.
  7800. #
  7801. # NOTE: calling 'beep' turns on the backlight (bell)
  7802. # NOTE: calling 'flash' turns it on and back off (visual bell)
  7803. #
  7804. MtxOrb| Generic Matrix Orbital LCD display, 
  7805.     bel=\376B^A, clear=\376X\376C\376R\376K\376T, 
  7806.     cnorm=\376K\376T, cub1=\376L, cuf1=\376M, 
  7807.     flash=\376B\001$<200>\376F, home=\376H, 
  7808. MtxOrb204| 20x4 Matrix Orbital LCD display, 
  7809.     cols#20, lines#4, use=MtxOrb, 
  7810. MtxOrb162| 16x2 Matrix Orbital LCD display, 
  7811.     cols#16, lines#2, use=MtxOrb, 
  7812. # The end
  7813.  
  7814. ######## OLDER TERMINAL TYPES
  7815. #
  7816. # This section is devoted to older commercial terminal brands that are now
  7817. # discontinued, but known to be still in use or represented by emulations.
  7818. #
  7819.  
  7820. #### AT&T (att, tty)
  7821. #
  7822. # This section also includes Teletype-branded VDTs.
  7823. #
  7824. # The AT&T/Teletype terminals group was sold to SunRiver Data Systems (now
  7825. # Boundless Technologies); for details, see the header comment on the ADDS
  7826. # section.
  7827. #
  7828. # These are AT&T's official terminfo entries.  All-caps aliases have been
  7829. # removed.
  7830. #
  7831. att2300|sv80|AT&T 2300 Video Information Terminal 80 column mode, 
  7832.     am, eo, mir, msgr, xon, 
  7833.     cols#80, it#8, lines#24, 
  7834.     bel=^G, clear=\E[H\E[J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  7835.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  7836.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  7837.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  7838.     el=\E[K, el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  7839.     il=\E[%p1%dL, il1=\E[L, ind=^J, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
  7840.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  7841.     kdl1=\E[M, kf1=\E[1r, kf10=\E[10r, kf11=\E[11r, 
  7842.     kf12=\E[12r, kf13=\E[13r, kf14=\E[14r, kf15=\E[15r, 
  7843.     kf16=\E[16r, kf2=\E[2r, kf3=\E[3r, kf4=\E[4r, kf5=\E[5r, 
  7844.     kf6=\E[6r, kf7=\E[7r, kf8=\E[8r, kf9=\E[9r, khome=\E[H, 
  7845.     kich1=\E[@, kil1=\E[L, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  7846.     rev=\E[7m, rmir=\E[4l, rmso=\E[m, sgr0=\E[m, smir=\E[4h, 
  7847.     smso=\E[7m, 
  7848. att2350|AT&T 2350 Video Information Terminal 80 column mode, 
  7849.     mc0@, mc4@, mc5@, use=att2300, 
  7850.  
  7851. # Must setup RETURN KEY - CR, REC'VD LF - INDEX.
  7852. # Seems upward compatible with vt100, plus ins/del line/char.
  7853. # On sgr, the protection parameter is ignored.
  7854. # No check is made to make sure that only 3 parameters are output.
  7855. #     standout= reverse + half-intensity = 3 | 5.
  7856. #     bold= reverse + underline = 2 | 3.
  7857. # note that half-bright blinking doesn't look different from normal blinking.
  7858. # NOTE:you must program the function keys first, label second!
  7859. # (att4410: a BSD entry has been seen with the following capabilities: 
  7860. # <is2=\E[?6l>, <kf1=\EOc>, <kf2=\EOd>, <kf3=\EOe>, <kf4=\EOg>,
  7861. # <kf6=\EOh>, <kf7=\EOi>, <kf8=\EOj>, -- esr)
  7862. att5410v1|att4410v1|tty5410v1|AT&T 4410/5410 80 columns - version 1, 
  7863.     am, hs, mir, msgr, xon, 
  7864.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  7865.     acsc=++\,\,--..00``aaffgghhjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7866.     bel=^G, blink=\E[5m, bold=\E[2;7m, clear=\E[H\E[J, cr=^M, 
  7867.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  7868.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dim=\E[2m, 
  7869.     dl1=\E[M, ed=\E[J, el=\E[K, fsl=\E8, home=\E[H, ht=^I, 
  7870.     ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, is1=\E[?3l\E)0, 
  7871.     is3=\E[1;03q   f1           \EOP\E[2;03q   f2           \EOQ\E[3;03q   f3           \EOR\E[4;03q   f4           \EOS\E[5;03q   f5           \EOT\E[6;03q   f6           \EOU\E[7;03q   f7           \EOV\E[8;03q   f8           \EOW, 
  7872.     kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  7873.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, 
  7874.     kf6=\EOU, kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, 
  7875.     ll=\E[24H, nel=^M^J, 
  7876.     pfx=\E[%p1%1d;%p2%l%2.2dq   f%p1%1d           %p2%s, 
  7877.     pln=\E[%p1%d;00q%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
  7878.     rmacs=^O, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
  7879.     sc=\E7, 
  7880.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7881.     sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
  7882.     tsl=\E7\E[25;%p1%{1}%+%dH, 
  7883.  
  7884. att4410v1-w|att5410v1-w|tty5410v1-w|AT&T 4410/5410 132 columns - version 1, 
  7885.     cols#132, wsl#132, 
  7886.     is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att5410v1, 
  7887.  
  7888. att4410|att5410|tty5410|AT&T 4410/5410 80 columns - version 2, 
  7889.     OTbs, 
  7890.     pfx=\E[%p1%d;%p2%l%02dq   f%p1%d           %p2%s, 
  7891.     use=att5410v1, 
  7892.  
  7893. att5410-w|att4410-w|4410-w|tty5410-w|5410-w|AT&T 4410/5410 in 132 column mode, 
  7894.     cols#132, wsl#132, 
  7895.     is1=\E[?3h\E)0, rs2=\Ec\E[?3h\E[2;0y, use=att4410, 
  7896.  
  7897. # 5410 in terms of a vt100
  7898. # (v5410: added <rmam>/<smam> based on init string -- esr)
  7899. v5410|att5410 in terms of a vt100, 
  7900.     am, mir, msgr, xon, 
  7901.     cols#80, it#8, lines#24, vt#3, 
  7902.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  7903.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  7904.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  7905.     cub1=^H, cud1=^J, cuf1=\E[C$<2>, 
  7906.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu1=\E[A$<2>, dch1=\E[P, 
  7907.     dl1=\E[M, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  7908.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ich1=\E[@, 
  7909.     il1=\E[L, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
  7910.     kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  7911.     kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
  7912.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
  7913.     kf8=\EOl, kf9=\EOw, rc=\E8, rev=\E[7m$<2>, ri=\EM$<5>, 
  7914.     rmacs=^O, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m$<2>, 
  7915.     rmul=\E[m$<2>, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  7916.     sc=\E7, 
  7917.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
  7918.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  7919.     smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  7920.  
  7921. # Teletype Model 5420 -- A souped up 5410, with multiple windows,
  7922. # even! the 5420 has three modes: scroll, window or page mode
  7923. # this terminfo should work in scroll or window mode, but doesn't
  7924. # take advantage of any of the differences between them.
  7925. #
  7926. # Has memory below (2 lines!)
  7927. # 3 pages of memory (plus some spare)
  7928. # The 5410 sequences for <cup>, <cvvis>, <dch>, <dl>, <ech>, <flash>, <home>,
  7929. # <hpa>, <hts> would work for these, but these work in both scroll and window
  7930. # mode... Unset insert character so insert mode works
  7931. # <is1> sets 80 column mode,
  7932. # <is2> escape sequence:
  7933. # 1) turn off all fonts
  7934. # 2) function keys off, keyboard lock off, control display off,
  7935. #    insert mode off, erasure mode off,
  7936. # 3) full duplex, monitor mode off, send graphics off, nl on lf off
  7937. # 4) reset origin mode
  7938. # 5) set line wraparound
  7939. # 6) exit erasure mode, positional attribute mode, and erasure extent mode
  7940. # 7) clear margins
  7941. # 8) program ENTER to transmit ^J,
  7942. # We use \212 to program the ^J because a bare ^J will get translated by
  7943. # UNIX into a CR/LF. The enter key is needed for AT&T uOMS.
  7944. #     1      2            3              4     5     6    7  8
  7945. # <is3> set screen color to black,
  7946. # No representation in terminfo for the delete word key: kdw1=\Ed
  7947. # Key capabilities assume the power-up send sequence...
  7948. # This <rmcup> is not strictly necessary, but it helps maximize 
  7949. # memory usefulness: <rmcup=\Ez>,
  7950. # Alternate sgr0:    <sgr0=\E[m\EW^O>,
  7951. # Alternate sgr:    <sgr=\E[%?%p1%t2;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p8%t\EV%;%?%p9%t^N%e^O%;>,
  7952. # smkx programs the SYS PF keys to send a set sequence.
  7953. # It also sets up labels f1, f2, ..., f8, and sends edit keys.
  7954. # This string causes them to send the strings <kf1>-<kf8>
  7955. # when pressed in SYS PF mode.
  7956. # (att4415: I added <rmam>/<smam> based on the init string -- esr)
  7957. att4415|tty5420|att5420|AT&T 4415/5420 80 cols, 
  7958.     OTbs, db, mir, xon, 
  7959.     lh#2, lm#78, lw#8, nlab#8, wsl#55, 
  7960.     cbt=\E[Z, clear=\E[x\E[J, cnorm=\E[11;0j, cub=\E[%p1%dD, 
  7961.     cud=\E[%p1%dB, cuf=\E[%p1%dC, cup=\E[%i%p1%d;%p2%dx, 
  7962.     cuu=\E[%p1%dA, cvvis=\E[11;1j, dch=\E[%p1%dP, 
  7963.     dl=\E[%p1%dM, ech=\E[%p1%ds\E[%p1%dD, 
  7964.     flash=\E[?5h$<200>\E[?5l, home=\E[x, 
  7965.     hpa=\E[%p1%{1}%+%dG, hts=\EH, ich=\E[%p1%d@, ich1@, 
  7966.     il=\E[%p1%dL, indn=\E[%p1%dE, is1=\E[?3l$<100>, 
  7967.     is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[21;1j\212, 
  7968.     is3=\E[?5l, kbeg=\Et, kcbt=\E[Z, kdch1=\E[P, kdl1=\E[M, 
  7969.     kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, kf2=\EOd, 
  7970.     kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
  7971.     kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
  7972.     kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  7973.     lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?2i, mc4=\E[?9i, 
  7974.     mc5=\E[?4i, mrcup=\E[%i%p1%d;%p2%dt, 
  7975.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s, 
  7976.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, 
  7977.     rin=\E[%p1%dF, rmam=\E[?7l, rmir=\E[4l, 
  7978.     rmkx=\E[19;0j\E[21;1j\212, rmln=\E|, 
  7979.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  7980.     sgr0=\E[m\017, smam=\E[?7h, smir=\E[4h, 
  7981.     smkx=\E[19;1j\E[21;4j\Eent, smln=\E~, tbc=\E[3g, 
  7982.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
  7983.     use=att4410, 
  7984.  
  7985. att4415-w|tty5420-w|att5420-w|AT&T 4415/5420 132 cols, 
  7986.     cols#132, lm#54, wsl#97, 
  7987.     is1=\E[?3h$<100>, use=att4415, 
  7988.  
  7989. att4415-rv|tty5420-rv|att5420-rv|AT&T 4415/5420 80 cols/rv, 
  7990.     flash=\E[?5l$<200>\E[?5h, is3=\E[?5h, use=att4415, 
  7991.  
  7992. att4415-w-rv|tty5420-w-rv|att5420-w-rv|AT&T 4415/5420 132 cols/rv, 
  7993.     cols#132, lm#54, wsl#97, 
  7994.     flash=\E[?5l$<200>\E[?5h, is1=\E[?3h$<100>, is3=\E[?5h, 
  7995.     use=att4415, 
  7996.  
  7997. # Note that this mode permits programming USER PF KEYS and labels
  7998. # However, when you program user pf labels you have to reselect
  7999. # user pf keys to make them appear! 
  8000. att4415+nl|tty5420+nl|att5420+nl|generic AT&T 4415/5420 changes for not changing labels, 
  8001.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, 
  8002.     pfx=\E[%p1%d;%p2%l%02d;0;1q   F%p1%d           %p2%s, 
  8003.     pln=\E[%p1%d;0;0;1q%p2%:-16.16s, 
  8004.  
  8005. att4415-nl|tty5420-nl|att5420-nl|AT&T 4415/5420 without changing labels, 
  8006.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
  8007.     use=att4415, 
  8008.  
  8009. att4415-rv-nl|tty5420-rv-nl|att5420-rv-nl|AT&T 4415/5420 reverse video without changing labels, 
  8010.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
  8011.     use=att4415-rv, 
  8012.  
  8013. att4415-w-nl|tty5420-w-nl|att5420-w-nl|AT&T 4415/5420 132 cols without changing labels, 
  8014.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
  8015.     use=att4415-w, 
  8016.  
  8017. att4415-w-rv-n|tty5420-w-rv-n|att5420-w-rv-n|AT&T 4415/5420 132 cols reverse without changing labels, 
  8018.     kf1@, kf2@, kf3@, kf4@, kf5@, kf6@, kf7@, kf8@, use=att4415+nl, 
  8019.     use=att4415-w-rv, 
  8020.  
  8021. att5420_2|AT&T 5420 model 2 80 cols, 
  8022.     am, db, hs, mir, msgr, xon, 
  8023.     cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
  8024.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8025.     blink=\E[5m, cbt=\E[1Z, clear=\EH\EJ, cnorm=\E[11;0j, 
  8026.     cr=\EG, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8027.     cud1=\E[1B, cuf=\E[%p1%dC, cuf1=\E[1C, 
  8028.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cvvis=\E[11;1j, 
  8029.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  8030.     dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[0J, el=\E[0K, 
  8031.     el1=\E[1K, flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  8032.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8033.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
  8034.     invis=\E[8m, 
  8035.     is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;0j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
  8036.     kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, 
  8037.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
  8038.     kel=\E[2K, kend=\Ez, kent=^J, kf1=\EOc, kf2=\EOd, kf3=\EOe, 
  8039.     kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, khome=\E[H, 
  8040.     kich1=\E[4h, kil1=\E[L, kind=\E[T, kll=\Eu, knp=\E[U, 
  8041.     kpp=\E[V, kri=\E[S, lf1=F1, lf2=F2, lf3=F3, lf4=F4, lf5=F5, 
  8042.     lf6=F6, lf7=F7, lf8=F8, ll=\Ew, mc0=\E[?;2i, mc4=\E[4i, 
  8043.     mc5=\E[5i, mrcup=\E[%i%p1%d;%p2%dt, nel=^M^J, 
  8044.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%d           %p2%s\E~, 
  8045.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s\E~, prot=\EV, rc=\E8, 
  8046.     rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmkx=\E[19;0j, 
  8047.     rmln=\E|, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, 
  8048.     sc=\E7, 
  8049.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8050.     sgr0=\E[m\017, smacs=^N, smkx=\E[19;1j, smln=\E~, 
  8051.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  8052.     tsl=\E7\E[25;%p1%{8}%+%dH, vpa=\E[%p1%{1}%+%dd, 
  8053. att5420_2-w|AT&T 5420 model 2 in 132 column mode, 
  8054.     cols#132, 
  8055.     is1=\E[0;23r\Ex\Ey\E[2;0j\E[3;3j\E[4;0j\E[5;1j\E[6;0j\E[7;0j\E[8;0j\E[9;1j\E[10;0j\E[15;0j\E[16;1j\E[19;0j\E[20;1j\E[29;0j\E[1;24r, 
  8056.     use=att5420_2, 
  8057.  
  8058. att4418|att5418|AT&T 5418 80 cols, 
  8059.     am, xon, 
  8060.     cols#80, lines#24, 
  8061.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8062.     bel=^G, blink=\E[5m, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, 
  8063.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  8064.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  8065.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, 
  8066.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, 
  8067.     ich=\E[%p1%d@, ich1=\E[1@, il=\E[%p1%dL, il1=\E[1L, ind=^J, 
  8068.     is1=\E[?3l, is2=\E)0\E?6l\E?5l, kclr=\E[%%, kcub1=\E@, 
  8069.     kcud1=\EU, kcuf1=\EA, kcuu1=\ES, kent=\E[, kf1=\E[h, 
  8070.     kf10=\E[m, kf11=\E[n, kf12=\E[o, kf13=\E[H, kf14=\E[I, 
  8071.     kf15=\E[J, kf18=\E[K, kf19=\E[L, kf2=\E[i, kf20=\E[E, 
  8072.     kf21=\E[_, kf22=\E[M, kf23=\E[N, kf24=\E[O, kf3=\E[j, 
  8073.     kf6=\E[k, kf7=\E[l, kf8=\E[f, kf9=\E[w, khome=\Ec, rc=\E8, 
  8074.     rev=\E[7m, rmacs=^O, rmso=\E[m, rmul=\E[m, sc=\E7, 
  8075.     sgr0=\E[m\017, smacs=^N, smso=\E[7m, smul=\E[4m, 
  8076. att4418-w|att5418-w|AT&T 5418 132 cols, 
  8077.     cols#132, 
  8078.     is1=\E[?3h, use=att5418, 
  8079.  
  8080. att4420|tty4420|teletype 4420, 
  8081.     OTbs, da, db, eo, msgr, ul, xon, 
  8082.     cols#80, lines#24, lm#72, 
  8083.     bel=^G, clear=\EH\EJ, cr=\EG, cub1=\ED, cud1=\EB, cuf1=\EC, 
  8084.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
  8085.     dl1=\EM, ed=\EJ, el=\Ez, home=\EH, il1=\EL, ind=\EH\EM\EY7\s, 
  8086.     kcbt=\EO, kclr=\EJ, kcub1=^H, kcud1=\EB, kcuf1=\EC, 
  8087.     kcuu1=\EA, kdch1=\EP, kdl1=\EM, kf0=\EU, kf3=\E@, khome=\EH, 
  8088.     kich1=\E\^, kil1=\EL, kind=\ES, kri=\ET, 
  8089.     lf0=segment advance, lf3=cursor tab, rmdc@, rmso=\E~, 
  8090.     rmul=\EZ, smdc@, smso=\E}, smul=\E\\, 
  8091.  
  8092. #  The following is a terminfo entry for the Teletype 4424
  8093. #  asynchronous keyboard-display terminal.  It supports
  8094. #  the vi editor.  The terminal must be set up as follows,
  8095. #     
  8096. #     HIGHLIGHT DEFINITION    3-TONE
  8097. #     DISPLAY FUNCTION    GROUP III
  8098. #     
  8099. #  The second entry below provides limited (a la adm3a)
  8100. #  operation under GROUP II.
  8101. #     
  8102. #  This must be used with DISPLAY FUNCTION GROUP I or III
  8103. #     and HIGHLIGHT DEFINITION 3-TONE
  8104. # The terminal has either bold or blink, depending on options
  8105. #
  8106. # (att4424: commented out <smcup>=\E[1m, we don't need bright locked on -- esr)
  8107. att4424|tty4424|teletype 4424, 
  8108.     OTbs, am, xon, 
  8109.     cols#80, lines#24, 
  8110.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8111.     bel=^G, blink=\E3, bold=\E3, cbt=\EO, clear=\E[H\E[2J, cr=^M, 
  8112.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8113.     cud=\E[%p1%dB, cud1=\EB, cuf=\E[%p1%dC, cuf1=\EC, 
  8114.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EA, 
  8115.     dch=\E[%p1%dP, dch1=\EP, dim=\EW, dl=\E[%p1%dM, dl1=\EM, 
  8116.     ed=\EJ, el=\Ez, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8117.     ich1=\E\^, il=\E[%p1%dL, il1=\EL, ind=^J, is2=\E[20l\E[?7h, 
  8118.     kbs=^H, kclr=\EJ, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  8119.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  8120.     khome=\E[H, nel=\EE, rev=\E}, ri=\ET, rmacs=\E(B, rmso=\E~, 
  8121.     rmul=\EZ, 
  8122.     sgr=\E[%?%p1%t7%;%?%p2%t;4%;%?%p3%t;7%;%?%p6%t;1%;%?%p6%p4%|%t;5%;%?%p5%t;0%;m, 
  8123.     sgr0=\EX\E~\EZ\E4\E(B, smacs=\E(0, smso=\E}, smul=\E\\, 
  8124.     tbc=\EF, 
  8125.  
  8126. att4424-1|tty4424-1|teletype 4424 in display function group I, 
  8127.     kclr@, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome@, 
  8128.     use=att4424, 
  8129.  
  8130. # This entry is not one of AT&T's official ones, it was translated from the
  8131. # 4.4BSD termcap file.  The highlight strings are different from att4424.
  8132. # I have no idea why this is -- older firmware version, maybe?
  8133. # The following two lines are the comment originally attached to the entry:
  8134. # This entry appears to avoid the top line - I have no idea why.
  8135. # From: jwb Wed Mar 31 13:25:09 1982 remote from ihuxp
  8136. att4424m|tty4424m|teletype 4424M, 
  8137.     am, da, db, mir, 
  8138.     cols#80, it#8, lines#23, 
  8139.     bel=^G, clear=\E[2;H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  8140.     cup=\E[%i%p1%2d;%p2%2dH\E[B, cuu1=\E[A, dch1=\EP, 
  8141.     dl1=\EM, el=\E[K, ht=^I, ich1=\E\^, il1=\EL, ind=^J, ip=$<2/>, 
  8142.     is2=\E[m\E[2;24r, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  8143.     kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  8144.     kf4=\EOS, khome=\E[H, nel=^M^J, ri=\ET, rmso=\E[m, rmul=\E[m, 
  8145.     sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  8146.  
  8147. # The Teletype 5425 is really version 2 of the Teletype 5420. It 
  8148. # is quite similar, except for some minor differences. No page 
  8149. # mode, for example, so all of the <cup> sequences used above have 
  8150. # to change back to what's being used for the 5410. Many of the 
  8151. # option settings have changed their numbering as well.
  8152. # This has been tested on a preliminary model.
  8153. #
  8154. # (att5425: added <rmam>/<smam> based on the init string -- esr)
  8155. att5425|tty5425|att4425|AT&T 4425/5425, 
  8156.     am, da, db, hs, mir, msgr, xenl, xon, 
  8157.     cols#80, it#8, lh#2, lines#24, lm#78, lw#8, nlab#8, wsl#55, 
  8158.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8159.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  8160.     clear=\E[H\E[J, cnorm=\E[12;0j, cr=^M, 
  8161.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8162.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  8163.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8164.     cvvis=\E[12;1j, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  8165.     dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%ds\E[%p1%dD, ed=\E[J, 
  8166.     el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  8167.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, 
  8168.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8169.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dE, 
  8170.     invis=\E[8m, is1=\E<\E[?3l$<100>, 
  8171.     is2=\E[m\017\E[1;2;3;4;6l\E[12;13;14;20l\E[?6;97;99l\E[?7h\E[4i\Ex\E[25;1j\212, 
  8172.     is3=\E[?5l, kbeg=\Et, kbs=^H, kcbt=\E[Z, kclr=\E[J, 
  8173.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  8174.     kdl1=\E[M, kel=\E[2K, kend=\Ez, kent=\Eent, kf1=\EOc, 
  8175.     kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, kf6=\EOh, kf7=\EOi, 
  8176.     kf8=\EOj, khome=\E[H, kich1=\E[4h, kil1=\E[L, kind=\E[T, 
  8177.     kri=\E[S, ll=\E[24H, mc0=\E[?2i, mc4=\E[?9i, mc5=\E[?4i, 
  8178.     nel=^M^J, 
  8179.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  8180.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, prot=\EV, rc=\E8, 
  8181.     rev=\E[7m, ri=\EM, rin=\E[%p1%dF, rmacs=^O, rmam=\E[?7l, 
  8182.     rmir=\E[4l, rmkx=\E[21;0j\E[25;1j\212, rmln=\E|, 
  8183.     rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l\E[2;0y, sc=\E7, 
  8184.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8185.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  8186.     smkx=\E[21;1j\E[25;4j\Eent\E~, smln=\E~, smso=\E[7m, 
  8187.     smul=\E[4m, tbc=\E[3g, tsl=\E7\E[25;%p1%{8}%+%dH, 
  8188.     vpa=\E[%p1%{1}%+%dd, 
  8189.  
  8190. att5425-nl|tty5425-nl|att4425-nl|AT&T 4425/5425 80 columns no labels, 
  8191.     smkx=\E[21;1j\E[25;4j\Eent, use=att4425, 
  8192.  
  8193. att5425-w|att4425-w|tty5425-w|teletype 4425/5425 in 132 column mode, 
  8194.     cols#132, lm#54, wsl#97, 
  8195.     is1=\E[?3h$<100>, use=tty5425, 
  8196.  
  8197. # (att4426: his had bogus capabilities: :ri=\EM:, :ri=\E[1U:. 
  8198. # I also added <rmam>/<smam> -- esr)
  8199. att4426|tty4426|teletype 4426S, 
  8200.     am, da, db, xon, 
  8201.     cols#80, lines#24, lm#48, 
  8202.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8203.     bel=^G, bold=\E[5m, clear=\E[H\E[2J\E[1U\E[H\E[2J\E[1V, 
  8204.     cr=^M, cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  8205.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8206.     cuu=\E[%p1%dA, cuu1=\EA, dch=\E[%p1%dP, dch1=\EP, 
  8207.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[0K, home=\E[H, 
  8208.     hpa=\E[%p1%dG, ht=^I, hts=\E1, ich=\E[%p1%d@, ich1=\E\^, 
  8209.     il=\E[%p1%dL, il1=\EL, ind=^J, indn=\E[%p1%dS, 
  8210.     is1=\Ec\E[?7h, is2=\E[m\E[1;24r, kbs=^H, kcbt=\EO, 
  8211.     kclr=\E[2J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  8212.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
  8213.     kf7=\EOV, kf8=\EOW, khome=\E[H, kll=\E[24;1H, ll=\E[24H, 
  8214.     nel=^M^J, rc=\E8, rev=\E[7m, ri=\ET, rin=\E[%p1%dT, 
  8215.     rmacs=\E(B, rmam=\E[?7l, rmso=\E[m, rmul=\E[m, 
  8216.     rs2=\Ec\E[?3l\E[2;0y, sc=\E7, sgr0=\E[m\E(B, smacs=\E(0, 
  8217.     smam=\E[?7h, smso=\E[5m, smul=\E[4m, tbc=\E[3g, 
  8218.     vpa=\E[%p1%dd, 
  8219.  
  8220. # Terminfo entry for the AT&T 510 A Personal Terminal
  8221. # Function keys 9 - 16 are available only after the 
  8222. # screen labeled (soft keys/action blocks) are labeled.  Function key
  8223. # 9 corresponds to the leftmost touch target on the screen,
  8224. # function key 16 corresponds to the rightmost.
  8225. #
  8226. # This entry is based on one done by Ernie Rice at Summit, NJ and
  8227. # changed by Anne Gallup, Skokie, IL, ttrdc!anne
  8228. att510a|bct510a|AT&T 510A Personal Terminal, 
  8229.     am, mir, msgr, xenl, xon, 
  8230.     cols#80, lh#2, lines#24, lw#7, nlab#8, 
  8231.     acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
  8232.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  8233.     civis=\E[11;0|, clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, 
  8234.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, 
  8235.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8236.     cuu=\E[%p1%dA, cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, 
  8237.     dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, 
  8238.     el=\E[0K, el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, ht=^I, 
  8239.     hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, is1=\E(B\E)1\E[2l, 
  8240.     is3=\E[21;1|\212, kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, 
  8241.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, 
  8242.     kf10=\EOd, kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, 
  8243.     kf15=\EOi, kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, 
  8244.     kf6=\ENf, kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, 
  8245.     mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, nel=\EE, 
  8246.     pln=\E[%p1%dp%p2%:-16s, rc=\E8, rev=\E[7m, ri=\EM, 
  8247.     rmacs=^O, rmkx=\E[19;0|, rmso=\E[m, rmul=\E[m, sc=\E7, 
  8248.     sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;m%?%p9%t\016%e\017%;, 
  8249.     sgr0=\E[m\017, smacs=^N, smkx=\E[19;1|, smso=\E[7m, 
  8250.     smul=\E[4m, tbc=\E[3g, 
  8251.  
  8252. # Terminfo entry for the AT&T 510 D Personal Terminal
  8253. # Function keys 9 through 16 are accessed by bringing up the
  8254. # system blocks.
  8255. # Function key 9 corresponds to the leftmost touch target on the screen,
  8256. # function key 16 corresponds to the rightmost.
  8257. #
  8258. # There are problems with soft key labeling.  These are due to 
  8259. # strangenesses in the native terminal that are impossible to
  8260. # describe in a terminfo.  
  8261. att510d|bct510d|AT&T 510D Personal Terminal, 
  8262.     am, da, db, mir, msgr, xenl, xon, 
  8263.     cols#80, lh#2, lines#24, lm#48, lw#7, nlab#8, 
  8264.     acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
  8265.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  8266.     clear=\E[H\E[J, cnorm=\E[11;3|, cr=^M, cub=\E[%p1%dD, 
  8267.     cub1=^H, cud=\E[%p1%dB, cud1=\E[1B, cuf=\E[%p1%dC, 
  8268.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  8269.     cuu1=\E[A, cvvis=\E[11;2|, dch=\E[%p1%dP, dch1=\E[P, 
  8270.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[0K, 
  8271.     el1=\E[1K, enacs=\E(B\E)1, ff=^L, home=\E[H, 
  8272.     hpa=\E[%p1%{1}%+%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8273.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
  8274.     invis=\E[8m, is1=\E(B\E)1\E[5;0|, is3=\E[21;1|\212, 
  8275.     kLFT=\E[u, kRIT=\E[v, kbs=^H, kcbt=\E[Z, kcub1=\E[D, 
  8276.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOm, kf10=\EOd, 
  8277.     kf11=\EOe, kf12=\EOf, kf13=\EOg, kf14=\EOh, kf15=\EOi, 
  8278.     kf16=\EOj, kf2=\EOV, kf3=\EOu, kf4=\ENj, kf5=\ENe, kf6=\ENf, 
  8279.     kf7=\ENh, kf8=\E[H, kf9=\EOc, kind=\E[S, kri=\E[T, ll=\E#2, 
  8280.     mc0=\E[0i, mc4=\E[?8i, mc5=\E[?4i, mgc=\E\:, nel=\EE, 
  8281.     pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
  8282.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
  8283.     rin=\E[%p1%dT, rmacs=^O, rmir=\E[4l, rmkx=\E[19;0|, 
  8284.     rmln=\E<, rmso=\E[m, rmul=\E[m, rmxon=\E[29;1|, 
  8285.     rs2=\E[5;0|, sc=\E7, 
  8286.     sgr=\E[0%?%p5%p6%|%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8287.     sgr0=\E[m\017, smacs=^N, smgl=\E4, smgr=\E5, smir=\E[4h, 
  8288.     smkx=\E[19;1|, smln=\E?, smso=\E[7m, smul=\E[4m, 
  8289.     smxon=\E[29;0|, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
  8290.  
  8291. # (att500: I merged this with the att513 entry, att500 just used att513 -- esr)
  8292. att500|att513|AT&T 513 using page mode, 
  8293.     am, chts, mir, msgr, xenl, xon, 
  8294.     cols#80, lh#2, lines#24, lw#8, nlab#8, 
  8295.     acsc=+g\,h-f.e`bhrisjjkkllmmnnqqttuuvvwwxx{{||}}~~, 
  8296.     bel=^G, blink=\E[5m, bold=\E[2;7m, cbt=\E[Z, 
  8297.     clear=\E[H\E[J, cnorm=\E[11;0|, cr=^M, 
  8298.     csr=%i\E[%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8299.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  8300.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8301.     cvvis=\E[11;1|, dch=\E[%p1%dP, dch1=\E[P$<1>, dim=\E[2m, 
  8302.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  8303.     enacs=\E(B\E)1, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
  8304.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  8305.     indn=\E[%p1%dE, invis=\E[8m, 
  8306.     is1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l, 
  8307.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
  8308.     kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
  8309.     kFND=\EOX, kHLP=\EOM, kHOM=\ENM, kIC=\ENJ, kLFT=\ENK, 
  8310.     kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, kOPT=\EOR, kPRT=\EOZ, 
  8311.     kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, kRIT=\ENL, kRPL=\EOY, 
  8312.     kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, kbs=^H, kcan=\EOw, 
  8313.     kcbt=\E[Z, kclo=\EOV, kclr=\E[J, kcmd=\EOu, kcpy=\ENd, 
  8314.     kcrt=\EOn, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8315.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=\Eent, 
  8316.     kext=\EOk, kf1=\EOc, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  8317.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kfnd=\EOx, khlp=\EOm, 
  8318.     khome=\E[H, kich1=\ENj, kind=\E[S, kmov=\ENc, kmrk=\ENi, 
  8319.     kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
  8320.     kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
  8321.     kres=\EOq, krfr=\ENa, kri=\E[T, krpl=\EOy, krst=\EOB, 
  8322.     ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, ll=\E#2, 
  8323.     mc0=\E[?98l\E[0i, mc4=\E[?98l\E[?8i, mc5=\E[?98l\E[?4i, 
  8324.     nel=\EE, 
  8325.     pfkey=\E[%p1%d;%p2%l%d;3;0p   F%p1%d           %p2%s, 
  8326.     pfloc=\E[%p1%d;%p2%l%d;2;0p   F%p1%d           %p2%s, 
  8327.     pfx=\E[%p1%d;%p2%l%d;1;0p   F%p1%d           %p2%s, 
  8328.     pln=\E[%p1%dp%p2%:-16s, rc=\E8, 
  8329.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, 
  8330.     rin=\E[%p1%dF, rmacs=^O, rmir=\E[4l, 
  8331.     rmkx=\E[19;0|\E[21;1|\212, rmln=\E<, rmso=\E[m, 
  8332.     rmul=\E[m, 
  8333.     rs1=\E?\E[3;3|\E[10;0|\E[21;1|\212\E[6;1|\E[1{\E[?99l\E[2;0|\E[6;1|\E[8;0|\E[19;0|\E[1{\E[?99l, 
  8334.     rs2=\E[5;0|, sc=\E7, 
  8335.     sgr=\E[0%?%p1%p5%|%t;2%;%?%p2%p6%|%t;4%;%?%p4%t;5%;%?%p3%p1%|%p6%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8336.     sgr0=\E[m\017, smacs=^N, smir=\E[4h, 
  8337.     smkx=\E[19;1|\E[21;4|\Eent, smln=\E?, smso=\E[7m, 
  8338.     smul=\E[4m, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
  8339.  
  8340. # 01-07-88
  8341. # printer must be set to EMUL ANSI to accept ESC codes
  8342. # <cuu1> stops at top margin
  8343. # <is1> sets cpi 10,lpi 6,form 66,left 1,right 132,top 1,bottom 66,font
  8344. #    and alt font ascii,wrap on,tabs cleared
  8345. # <is2> disables newline on LF,Emphasized off
  8346. # The <u0> capability sets form length
  8347. att5310|att5320|AT&T Model 53210 or 5320 matrix printer, 
  8348.     xhpa, xvpa, 
  8349.     bufsz#8192, cols#132, cps#120, it#8, lines#66, orc#10, 
  8350.     orhi#100, orl#12, orvi#72, 
  8351.     cpi=%?%p1%{10}%=%t\E[w%e%p1%{12}%=%t\E[2w%e%p1%{5}%=%t\E[5w%e%p1%{13}%=%p1%{14}%=%O%t\E[3w%e%p1%{16}%=%p1%{17}%=%O%t\E[4w%e%p1%{6}%=%t\E[6w%e%p1%{7}%=%t\E[7w%e%p1%{8}%=%t\E[8w%;, 
  8352.     cr=^M, 
  8353.     csnm=%?%p1%{0}%=%tusascii%e%p1%{1}%=%tenglish%e%p1%{2}%=%tfinnish%e%p1%{3}%=%tjapanese%e%p1%{4}%=%tnorwegian%e%p1%{5}%=%tswedish%e%p1%{6}%=%tgermanic%e%p1%{7}%=%tfrench%e%p1%{8}%=%tcanadian_french%e%p1%{9}%=%titalian%e%p1%{10}%=%tspanish%e%p1%{11}%=%tline%e%p1%{12}%=%tsecurity%e%p1%{13}%=%tebcdic%e%p1%{14}%=%tapl%e%p1%{15}%=%tmosaic%;, 
  8354.     cud=\E[%p1%de, cud1=^J, cuf=\E[%p1%da, cuf1=\s, cuu1=\EM, 
  8355.     ff=^L, hpa=\E[%p1%d`, ht=^I, is1=\Ec, is2=\E[20l\r, 
  8356.     lpi=%?%p1%{2}%=%t\E[4z%e%p1%{3}%=%t\E[5z%e%p1%{4}%=%t\E[6z%e%p1%{6}%=%t\E[z%e%p1%{8}%=%t\E[2z%e%p1%{12}%=%t\E[3z%;, 
  8357.     rshm=\E[m, 
  8358.     scs=%?%p1%{0}%=%t\E(B%e%p1%{1}%=%t\E(A%e%p1%{2}%=%t\E(C%e%p1%{3}%=%t\E(D%e%p1%{4}%=%t\E(E%e%p1%{5}%=%t\E(H%e%p1%{6}%=%t\E(K%e%p1%{7}%=%t\E(R%e%p1%{8}%=%t\E(Q%e%p1%{9}%=%t\E(Y%e%p1%{10}%=%t\E(Z%e%p1%{11}%=%t\E(0%e%p1%{12}%=%t\E(1%e%p1%{13}%=%t\E(3%e%p1%{14}%=%t\E(8%e%p1%{15}%=%t\E(}%;, 
  8359.     smgbp=\E[;%p1%dr, smglp=\E[%{1}%p1%+%ds, 
  8360.     smgrp=\E[;%{1}%p1%+%ds, smgtp=\E[%p1%dr, sshm=\E[5m, 
  8361.     u0=\E[%p1%dt, vpa=\E[%p1%dd, 
  8362.  
  8363. # Teletype 5620, firmware version 1.1 (8;7;3) or earlier from BRL
  8364. # The following SET-UP modes are assumed for normal operation:
  8365. #    CR_DEF=CR    NL_DEF=INDEX    DUPLEX=FULL
  8366. # Other SET-UP modes may be set for operator convenience or communication
  8367. # requirements.  This termcap description is for the Resident Terminal Mode.
  8368. # No delays specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  8369. # The BRL entry also said: UNSAFE :ll=\E[70H:
  8370. att5620-1|tty5620-1|dmd1|Teletype 5620 with old ROMs, 
  8371.     am, xon, 
  8372.     cols#88, it#8, lines#70, vt#3, 
  8373.     bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  8374.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  8375.     dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  8376.     home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  8377.     il1=\E[L, ind=^J, indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, 
  8378.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  8379.     kll=\E[70;1H, nel=^M^J, rc=\E8, ri=\E[T, rin=\E[%p1%dT, 
  8380.     rs1=\Ec, sc=\E7, 
  8381.  
  8382. # 5620 terminfo  (2.0 or later ROMS with char attributes)
  8383. # The following SET-UP modes are assumed for normal operation:
  8384. #    DUPLEX=FULL    GEN_FLOW=ON    NEWLINE=INDEX    RETURN=CR
  8385. # Other SET-UP modes may be set for operator convenience or communication
  8386. # requirements.  This termcap description is for Resident Terminal Mode.  No
  8387. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  8388. # assumptions: <ind> (scroll forward one line) is only done at screen bottom
  8389. # Be aware that older versions of the dmd have a firmware bug that affects
  8390. # parameter defaulting; for this terminal, the 0 in \E[0m is not optional.
  8391. # <msgr> is from an otherwise inferior BRL for this terminal.  That entry
  8392. # also has <ll>=\E[70H commented out and marked unsafe.
  8393. # For more, see the 5620 FAQ maintained by David Breneman <daveb@dgtl.com>.
  8394. att5620|dmd|tty5620|ttydmd|5620|5620 terminal 88 columns, 
  8395.     OTbs, am, msgr, npc, xon, 
  8396.     cols#88, it#8, lines#70, 
  8397.     bel=^G, bold=\E[2m, clear=\E[H\E[J, cr=^M, cub1=^H, 
  8398.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  8399.     dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, 
  8400.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich=\E[%p1%d@, 
  8401.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  8402.     indn=\E[%p1%dS, kbs=^H, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  8403.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, kll=\E[70;1H, nel=^J, 
  8404.     pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, rev=\E[7m, ri=\E[T, 
  8405.     rin=\E[%p1%dT, rmso=\E[0m, rmul=\E[0m, rs1=\Ec, sc=\E7, 
  8406.     sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
  8407. att5620-24|tty5620-24|dmd-24|teletype dmd 5620 in a 24x80 layer, 
  8408.     lines#24, use=att5620, 
  8409. att5620-34|tty5620-34|dmd-34|teletype dmd 5620 in a 34x80 layer, 
  8410.     lines#34, use=att5620, 
  8411. # 5620 layer running the "S" system's downloaded graphics handler:
  8412. att5620-s|tty5620-s|layer|vitty|5620 S layer, 
  8413.     OTbs, OTpt, am, 
  8414.     cols#80, it#8, lines#72, 
  8415.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  8416.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=^K, dl1=\ED, 
  8417.     el=\EK, flash=\E^G, ht=^I, il1=\EI, ind=^J, kbs=^H, kclr=\E[2J, 
  8418.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  8419.     kll=\E[70;1H, 
  8420.  
  8421. # Entries for <kf15> thru <kf28> refer to the shifted system pf keys.
  8422. #
  8423. # Entries for <kf29> thru <kf46> refer to the alternate keypad mode
  8424. # keys:  = * / + 7 8 9 - 4 5 6 , 1 2 3 0 . ENTER
  8425. att605|AT&T 605 80 column 102key keyboard, 
  8426.     am, eo, xon, 
  8427.     cols#80, lines#24, lw#8, nlab#8, wsl#80, 
  8428.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8429.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  8430.     cr=^M, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  8431.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch=\E[%p1%dP, 
  8432.     dch1=\E[P, dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  8433.     el=\E[K, el1=\E[1K, fsl=\E8, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  8434.     il1=\E[L, ind=^J, invis=\E[8m, 
  8435.     is1=\E[8;0|\E[?\E[13;20l\E[?\E[12h, is2=\E[m\017, 
  8436.     kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, kclr=\E[2J, 
  8437.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  8438.     kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, kf11=\ENq, 
  8439.     kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, 
  8440.     kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, 
  8441.     kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, 
  8442.     kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, 
  8443.     kf30=\EOQ, kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, 
  8444.     kf35=\EOy, kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, 
  8445.     kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, 
  8446.     kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, 
  8447.     kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, kich1=\E[@, 
  8448.     kil1=\E[L, kind=\E[S, knp=\E[U, kpp=\E[V, ll=\E[24H, 
  8449.     mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  8450.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  8451.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
  8452.     rmacs=^O, rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
  8453.     rs2=\Ec\E[?3l, sc=\E7, sgr0=\E[m\017, smacs=\E)0\016, 
  8454.     smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
  8455.     tsl=\E7\E[25;%i%p1%dx, 
  8456. att605-pc|ATT 605 in pc term mode, 
  8457.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  8458.     cbt=\E[Z, cub1=\E[D, cud1=\E[B, cuf1=\E[C, cuu1=\E[A, 
  8459.     dch1=\E[P, dl1=\E[M, ich1=\E[@, il1=\E[L, kcbt=\E[Z, 
  8460.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, 
  8461.     kdl1=\E[M, kend=\E[F, kf1=\E[M, kf10=\E[V, kf2=\E[N, 
  8462.     kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, kf8=\E[T, 
  8463.     kf9=\E[U, khome=\E[H, kich1=\E[@, knp=\E[G, kpp=\E[I, 
  8464.     rmsc=400\E[50;0|, smsc=250\E[?11l\E[50;1|, xoffc=g, 
  8465.     xonc=e, use=att605, 
  8466. att605-w|AT&T 605-w 132 column 102 key keyboard, 
  8467.     cols#132, wsl#132, 
  8468.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h\E(B\E)0, 
  8469.     use=att605, 
  8470. # (att610: I added <rmam>/<smam> based on the init string.  I also
  8471. # added <indn> and <rin> because the BSD file says the att615s have them,
  8472. # and the 615 is like a 610 with a big keyboard, and most of their other
  8473. # smart terminals support the same sequence -- esr)
  8474. att610|AT&T 610; 80 column; 98key keyboard, 
  8475.     am, eslok, hs, mir, msgr, xenl, xon, 
  8476.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  8477.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8478.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  8479.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  8480.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8481.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8482.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8483.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  8484.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  8485.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
  8486.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  8487.     indn=\E[%p1%dS, invis=\E[8m, 
  8488.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0, 
  8489.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
  8490.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  8491.     kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
  8492.     kf13=\ENs, kf14=\ENt, kf2=\EOd, kf3=\EOe, kf4=\EOf, kf5=\EOg, 
  8493.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  8494.     kind=\E[S, kri=\E[T, ll=\E[24H, mc4=\E[?4i, mc5=\E[?5i, 
  8495.     nel=\EE, 
  8496.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  8497.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
  8498.     ri=\EM, rin=\E[%p1%dT, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, 
  8499.     rmln=\E[2p, rmso=\E[m, rmul=\E[m, rs2=\Ec\E[?3l, sc=\E7, 
  8500.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8501.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  8502.     smln=\E[p, smso=\E[7m, smul=\E[4m, tsl=\E7\E[25;%i%p1%dx, 
  8503. att610-w|AT&T 610; 132 column; 98key keyboard, 
  8504.     cols#132, wsl#132, 
  8505.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
  8506.     use=att610, 
  8507.  
  8508. att610-103k|AT&T 610; 80 column; 103key keyboard, 
  8509.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
  8510.     kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
  8511.     kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
  8512.     kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
  8513.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
  8514.     kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  8515.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
  8516.     kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf9@, kfnd=\EOx, 
  8517.     khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, kmsg=\EOl, 
  8518.     knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, kpp=\E[V, 
  8519.     kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, kres=\EOq, 
  8520.     krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, ksav=\EOo, 
  8521.     kslt=\ENI, kspd=\EOp, kund=\EOs, use=att610, 
  8522. att610-103k-w|AT&T 610; 132 column; 103key keyboard, 
  8523.     cols#132, wsl#132, 
  8524.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
  8525.     use=att610-103k, 
  8526. att615|AT&T 615; 80 column; 98key keyboard, 
  8527.     kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  8528.     kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
  8529.     kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
  8530.     kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
  8531.     kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
  8532.     kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
  8533.     kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610, 
  8534. att615-w|AT&T 615; 132 column; 98key keyboard, 
  8535.     kLFT=\E[ A, kRIT=\E[ @, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  8536.     kf18=\EOF, kf19=\EOG, kf20=\EOH, kf21=\EOI, kf22=\EOJ, 
  8537.     kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, kf27=\ENS, 
  8538.     kf28=\ENT, kf29=\EOP, kf30=\EOQ, kf31=\EOR, kf32=\EOS, 
  8539.     kf33=\EOw, kf34=\EOx, kf35=\EOy, kf36=\EOm, kf37=\EOt, 
  8540.     kf38=\EOu, kf39=\EOv, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
  8541.     kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, use=att610-w, 
  8542. att615-103k|AT&T 615; 80 column; 103key keyboard, 
  8543.     kLFT=\E[ A, kRIT=\E[ @, use=att610-103k, 
  8544. att615-103k-w|AT&T 615; 132 column; 103key keyboard, 
  8545.     kLFT=\E[ A, kRIT=\E[ @, use=att610-103k-w, 
  8546. # (att620: I added <rmam>/<smam> based on the init string and
  8547. # <rin>/<indn> from a BSD termcap -- esr)
  8548. att620|AT&T 620; 80 column; 98key keyboard, 
  8549.     am, eslok, hs, mir, msgr, xenl, xon, 
  8550.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  8551.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8552.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  8553.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  8554.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8555.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8556.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8557.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  8558.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  8559.     flash=\E[?5h$<200>\E[?5l, fsl=\E8, home=\E[H, ht=^I, 
  8560.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  8561.     indn=\E[%p1%dS, invis=\E[8m, 
  8562.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h, 
  8563.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, 
  8564.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  8565.     kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
  8566.     kf13=\ENs, kf14=\ENt, kf15=\EOC, kf16=\EOD, kf17=\EOE, 
  8567.     kf18=\EOF, kf19=\EOG, kf2=\EOd, kf20=\EOH, kf21=\EOI, 
  8568.     kf22=\EOJ, kf23=\ENO, kf24=\ENP, kf25=\ENQ, kf26=\ENR, 
  8569.     kf27=\ENS, kf28=\ENT, kf29=\EOP, kf3=\EOe, kf30=\EOQ, 
  8570.     kf31=\EOR, kf32=\EOS, kf33=\EOw, kf34=\EOx, kf35=\EOy, 
  8571.     kf36=\EOm, kf37=\EOt, kf38=\EOu, kf39=\EOv, kf4=\EOf, 
  8572.     kf40=\EOl, kf41=\EOq, kf42=\EOr, kf43=\EOs, kf44=\EOp, 
  8573.     kf45=\EOn, kf46=\EOM, kf5=\EOg, kf6=\EOh, kf7=\EOi, kf8=\EOj, 
  8574.     kf9=\ENo, khome=\E[H, kind=\E[S, kri=\E[T, ll=\E[24H, 
  8575.     mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  8576.     pfx=\E[%p1%d;%p2%l%02dq   F%p1%1d           %p2%s, 
  8577.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, rev=\E[7m, 
  8578.     ri=\EM, rin=\E[%p1%dT, rmacs=\E(B\017, rmam=\E[?7l, 
  8579.     rmir=\E[4l, rmln=\E[2p, rmso=\E[m, rmul=\E[m, 
  8580.     rs2=\Ec\E[?3l, sc=\E7, 
  8581.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8582.     sgr0=\E[m\E(B\017, smacs=\E)0\016, smam=\E[?7h, 
  8583.     smir=\E[4h, smln=\E[p, smso=\E[7m, smul=\E[4m, 
  8584.     tsl=\E7\E[25;%i%p1%dx, 
  8585. att620-w|AT&T 620; 132 column; 98key keyboard, 
  8586.     cols#132, wsl#132, 
  8587.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
  8588.     use=att620, 
  8589. att620-103k|AT&T 620; 80 column; 103key keyboard, 
  8590.     kBEG=\ENB, kCAN=\EOW, kCMD=\EOU, kCPY=\END, kCRT=\EON, 
  8591.     kDC=\ENF, kDL=\ENE, kEND=\ENN, kEOL=\EOA, kEXT=\EOK, 
  8592.     kFND=\EOX, kHLP=\EOM, kMOV=\ENC, kMSG=\EOL, kNXT=\ENH, 
  8593.     kOPT=\EOR, kPRT=\EOZ, kPRV=\ENG, kRDO=\EOT, kRES=\EOQ, 
  8594.     kRPL=\EOY, kSAV=\EOO, kSPD=\EOP, kUND=\EOS, kbeg=\E9, 
  8595.     kcan=\EOw, kclo=\EOV, kcmd=\EOu, kcpy=\ENd, kcrt=\EOn, 
  8596.     kdch1=\ENf, kdl1=\ENe, kel=\EOa, kend=\E0, kent=^M, 
  8597.     kext=\EOk, kf10@, kf11@, kf12@, kf13@, kf14@, kf15@, kf16@, kf17@, 
  8598.     kf18@, kf19@, kf20@, kf21@, kf22@, kf23@, kf24@, kf25@, kf26@, kf27@, 
  8599.     kf28@, kf29@, kf30@, kf31@, kf32@, kf33@, kf34@, kf35@, kf36@, kf37@, 
  8600.     kf38@, kf39@, kf40@, kf41@, kf42@, kf43@, kf44@, kf45@, kf46@, kf9@, 
  8601.     kfnd=\EOx, khlp=\EOm, kich1=\ENj, kmov=\ENc, kmrk=\ENi, 
  8602.     kmsg=\EOl, knp=\E[U, knxt=\ENh, kopn=\EOv, kopt=\EOr, 
  8603.     kpp=\E[V, kprt=\EOz, kprv=\ENg, krdo=\EOt, kref=\EOb, 
  8604.     kres=\EOq, krfr=\ENa, krmir=\ENj, krpl=\EOy, krst=\EOB, 
  8605.     ksav=\EOo, kslt=\ENI, kspd=\EOp, kund=\EOs, use=att620, 
  8606.  
  8607. att620-103k-w|AT&T 620; 132 column; 103key keyboard, 
  8608.     cols#132, wsl#132, 
  8609.     is1=\E[8;0|\E[?4;5;13;15l\E[13;20l\E[?3;7h\E[12h, 
  8610.     use=att620-103k, 
  8611.  
  8612. # AT&T (formerly Teletype) 630 Multi-Tasking Graphics terminal
  8613. # The following SETUP modes are assumed for normal operation:
  8614. #    Local_Echo=Off    Gen_Flow=On    Return=CR    Received_Newline=LF
  8615. #    Font_Size=Large        Non-Layers_Window_Cols=80
  8616. #                Non-Layers_Window_Rows=60
  8617. # Other SETUP modes may be set for operator convenience or communication
  8618. # requirements.  Some capabilities assume a printer attached to the Aux EIA
  8619. # port.  This termcap description is for the Fixed Non-Layers Window.  No
  8620. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  8621. # (att630: added <ich1>, <blink> and <dim> from a BSD termcap file -- esr)
  8622. att630|AT&T 630 windowing terminal, 
  8623.     OTbs, am, da, db, mir, msgr, npc, xon, 
  8624.     cols#80, it#8, lines#60, lm#0, 
  8625.     bel=^G, blink=\E[5m, cbt=\E[Z, clear=\E[H\E[J, cr=^M, 
  8626.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  8627.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  8628.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  8629.     dim=\E[2m, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, 
  8630.     el1=\E[1K, home=\E[H, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  8631.     il=\E[%p1%dL, il1=\E[L, ind=\ED, indn=\E[%p1%dS, is2=\E[m, 
  8632.     kbs=^H, kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  8633.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kent=^M, 
  8634.     kf10=\ENp, kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, 
  8635.     kf15=\ENu, kf16=\ENv, kf17=\ENw, kf18=\ENx, kf19=\ENy, 
  8636.     kf20=\ENz, kf21=\EN{, kf22=\EN|, kf23=\EN}, kf24=\EN~, 
  8637.     kf9=\ENo, khome=\E[H, kich1=\E[@, kil1=\E[L, mc4=\E[?4i, 
  8638.     mc5=\E[?5i, nel=^M^J, pfx=\E[%p1%d;%p2%l%dq%p2%s, rc=\E8, 
  8639.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmir=\E[4l, rmso=\E[m, 
  8640.     rmul=\E[m, rs2=\Ec, sc=\E7, 
  8641.     sgr=\E[0%?%p2%t;4%;%?%p1%p3%|%p4%|%p5%|%t;7%;m, 
  8642.     sgr0=\E[m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  8643. att630-24|5630-24|5630DMD-24|630MTG-24|AT&T 630 windowing terminal 24 lines, 
  8644.     lines#24, use=att630, 
  8645.  
  8646. # This is the att700 entry for 700 native emulation of the AT&T 700
  8647. # terminal.  Comments are relative to changes from the 605V2 entry and
  8648. # att730 on which the entry is based.  Comments show the terminfo
  8649. # capability name, termcap name, and description.
  8650. #
  8651. # Here is what's going onm in the init string:
  8652. #    ESC [ 50;4|    set 700 native mode (really is 605)
  8653. # x    ESC [ 56;ps|     set lines to 24: ps=0; 40: ps=1 (plus status line)
  8654. #    ESC [ 53;0|    set GenFlow to Xon/Xoff
  8655. #    ESC [ 8 ;0|    set CR on NL 
  8656. # x    ESC [ ? 3 l/h    set workspace: 80 col(l); 132 col(h)
  8657. #    ESC [ ? 4 l    jump scroll 
  8658. #    ESC [ ? 5 l/h    video: normal (l); reverse (h)
  8659. #    ESC [ ?13 l    Labels on
  8660. #    ESC [ ?15 l    parity check = no
  8661. #    ESC [ 13 l    monitor mode off
  8662. #    ESC [ 20 l    LF on NL (not CRLF on NL)
  8663. #    ESC [ ? 7 h    autowrap on
  8664. #    ESC [ 12 h    local echo off
  8665. #    ESC ( B        GO = ASCII
  8666. #    ESC ) 0        G1 = Special Char & Line Drawing
  8667. #    ESC [ ? 31 l    Set 7 bit controls
  8668. #
  8669. # Note: Most terminals, especially the 600 family use Reverse Video for
  8670. # standout mode.  DEC also uses reverse video.  The VT100 uses bold in addition
  8671. # Assume we should stay with reverse video for 70..  However, the 605V2 exits
  8672. # standout mode with \E[m (all normal attributes).  The 730 entry simply
  8673. # exits reverse video which would leave other current attributes intact.  It
  8674. # was assumed the 730 entry to be more correct so rmso has changed.  The
  8675. # 605V2 has no sequences to turn individual attributes off, thus its setting
  8676. # and the rmso/smso settings from the 730.
  8677. #
  8678. # Note: For the same reason as above in rmso I changed exit under-score mode
  8679. # to specifically turn off underscore, rather than return to all normal 
  8680. # attributes
  8681. #
  8682. # Note: The following pkey_xmit is taken from the 605V2 which contained the
  8683. # capability as pfxl.  It was changed here to pfx since pfxl
  8684. # will only compile successfully with Unix 4.0 tic.  Also note that pfx only
  8685. # allows strings to be parameters and label values must be programmed as
  8686. # constant strings.  Supposedly the pfxl of Version 4.0 allows both labels
  8687. # and strings to be parameters.  The 605V2 pfx entry should be examined later
  8688. # in this regard. For reference the 730 pfxl entry is shown here for comparison
  8689. # 730 pfx entry:
  8690. #     pfxl=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq\s\s\s
  8691. # SYS\s\s\s\s\sF%p1%:-2d\s\s%e;0;3q%;%p2%s,
  8692. #
  8693. # (for 4.0 tic)
  8694. #     pfxl=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
  8695. #
  8696. # (for <4.0 tic)
  8697. #     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s,
  8698. #
  8699. # From the AT&T 705 Multi-tasking terminal user's guide Page 8-8,8-9
  8700. #
  8701. # Port1 Interface
  8702. #
  8703. # modular 10 pin Connector
  8704. # Left side       Right side
  8705. # Pin 1 2 3 4 5 6 7 8 9 10
  8706. #
  8707. #        Key (notch) at bottom
  8708. #
  8709. # Pin    1 DSR
  8710. #        3 DCD
  8711. #        4 DTR
  8712. #        5 Sig Ground
  8713. #        6 RD
  8714. #        7 SD
  8715. #        8 CTS
  8716. #        9 RTS
  8717. #        10 Frame Ground
  8718. #
  8719. # The manual is 189 pages and is loaded with details about the escape codes,
  8720. # etc..... Available from AT&T CIC 800-432-6600...
  8721. # ask for Document number 999-300-660..
  8722. #
  8723. att700|AT&T 700 24x80 column display w/102key keyboard, 
  8724.     am, eslok, hs, mir, msgr, xenl, xon, 
  8725.     cols#80, it#8, lh#2, lines#24, lw#8, nlab#8, wsl#80, 
  8726.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8727.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  8728.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  8729.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8730.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8731.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8732.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  8733.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  8734.     enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fln=4\,4, 
  8735.     fsl=\E8, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  8736.     il=\E[%p1%dL, il1=\E[L, ind=\ED, invis=\E[8m, 
  8737.     is2=\E[50;4|\E[53;0|\E[8;0|\E[?4;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)0\E[?31l\E[0m\017, 
  8738.     is3=\E(B\E)0, kLFT=\E[ A, kRIT=\E[ @, kbs=^H, kcbt=\E[Z, 
  8739.     kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  8740.     kdch1=\E[P, kdl1=\E[M, kend=\E[24;1H, kf1=\EOc, kf10=\ENp, 
  8741.     kf11=\ENq, kf12=\ENr, kf13=\ENs, kf14=\ENt, kf15=\EOC, 
  8742.     kf16=\EOD, kf17=\EOE, kf18=\EOF, kf19=\EOG, kf2=\EOd, 
  8743.     kf20=\EOH, kf21=\EOI, kf22=\EOJ, kf23=\ENO, kf24=\ENP, 
  8744.     kf25=\ENQ, kf26=\ENR, kf27=\ENS, kf28=\ENT, kf29=\EOq, 
  8745.     kf3=\EOe, kf30=\EOr, kf31=\EOs, kf32=\EOt, kf33=\EOu, 
  8746.     kf34=\EOv, kf35=\EOw, kf36=\EOx, kf37=\EOy, kf38=\EOu, 
  8747.     kf39=\EOv, kf4=\EOf, kf40=\EOl, kf41=\EOq, kf42=\EOr, 
  8748.     kf43=\EOs, kf44=\EOp, kf45=\EOn, kf46=\EOM, kf5=\EOg, 
  8749.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  8750.     kich1=\E[@, kil1=\E[L, knp=\E[U, kpp=\E[V, ll=\E[24H, 
  8751.     mc0=\E[i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  8752.     pfx=\E[%p1%d;%p2%l%02dq%?%p1%{9}%<%t   F%p1%1d           %;%p2%s, 
  8753.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
  8754.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
  8755.     rmir=\E[4l, rmln=\E[2p, rmso=\E[27m, rmul=\E[24m, 
  8756.     rmxon=\E[53;3|, rs1=\Ec\E[?3;5l\E[56;0|, sc=\E7, 
  8757.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8758.     sgr0=\E[m\017, smacs=^N, smir=\E[4h, smln=\E[p, smso=\E[7m, 
  8759.     smul=\E[4m, smxon=\E[53;0|, tbc=\E[3g, 
  8760.     tsl=\E7\E[99;%i%p1%dx, 
  8761.  
  8762. # This entry was modified 3/13/90 by JWE.
  8763. # fixes include additions of <enacs>, correcting <rep>, and modification
  8764. # of <kHOM>.  (See comments below)
  8765. # att730 has status line of 80 chars
  8766. # These were commented out: <indn=\E[%p1%dS>, <rin=\E[%p1%dT>,
  8767. # the <kf25> and up keys are used for shifted system Fkeys
  8768. # NOTE: JWE 3/13/90 The 98 key keyboard translation for shift/HOME is 
  8769. # currently the same as <khome> (unshifted HOME or \E[H).  On the 102, 102+1
  8770. # and 122 key keyboards, the 730's translation is \E[2J.  For consistency
  8771. # <kHOM> has been commented out.  The user can uncomment <kHOM> if using the
  8772. # 102, 102+1, or 122 key keyboards
  8773. #       kHOM=\E[2J,
  8774. # (att730: I added <rmam>/<smam> based on the init string -- esr)
  8775. att730|AT&T 730 windowing terminal, 
  8776.     am, da, db, eslok, hs, mir, msgr, npc, xenl, xon, 
  8777.     cols#80, it#8, lh#2, lines#60, lm#0, lw#8, nlab#24, wsl#80, 
  8778.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8779.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[?25l, 
  8780.     clear=\E[H\E[J, cnorm=\E[?25h\E[?12l, cr=^M, 
  8781.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  8782.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8783.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8784.     cvvis=\E[?12;25h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  8785.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  8786.     enacs=\E(B\E)0, flash=\E[?5h$<200>\E[?5l, fsl=\E8, 
  8787.     home=\E[H, ht=^I, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, 
  8788.     ind=\ED, invis=\E[8m, 
  8789.     is1=\E[8;0|\E[?3;4;5;13;15l\E[13;20l\E[?7h\E[12h\E(B\E)B, 
  8790.     is2=\E[m\017, is3=\E(B\E)0, kLFT=\E[ @, kRIT=\E[ A, kbs=^H, 
  8791.     kcbt=\E[Z, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  8792.     kcuu1=\E[A, kf1=\EOc, kf10=\ENp, kf11=\ENq, kf12=\ENr, 
  8793.     kf13=\ENs, kf14=\ENt, kf15=\ENu, kf16=\ENv, kf17=\ENw, 
  8794.     kf18=\ENx, kf19=\ENy, kf2=\EOd, kf20=\ENz, kf21=\EN{, 
  8795.     kf22=\EN|, kf23=\EN}, kf24=\EN~, kf25=\EOC, kf26=\EOD, 
  8796.     kf27=\EOE, kf28=\EOF, kf29=\EOG, kf3=\EOe, kf30=\EOH, 
  8797.     kf31=\EOI, kf32=\EOJ, kf33=\ENO, kf34=\ENP, kf35=\ENQ, 
  8798.     kf36=\ENR, kf37=\ENS, kf38=\ENT, kf39=\EOU, kf4=\EOf, 
  8799.     kf40=\EOV, kf41=\EOW, kf42=\EOX, kf43=\EOY, kf44=\EOZ, 
  8800.     kf45=\EO[, kf46=\EO\s, kf47=\EO], kf48=\EO\^, kf5=\EOg, 
  8801.     kf6=\EOh, kf7=\EOi, kf8=\EOj, kf9=\ENo, khome=\E[H, 
  8802.     kich1=\E[@, kil1=\E[L, kind=\E[S, kri=\E[T, 
  8803.     mc0=\E[?19h\E[0i, mc4=\E[?4i, mc5=\E[?5i, nel=\EE, 
  8804.     pfx=\E[%?%p1%{25}%<%t%p1%e%p1%{24}%-%;%d;%p2%l%02d%?%p1%{25}%<%tq   SYS     F%p1%:-2d  %e;0;3q%;%p2%s, 
  8805.     pfxl=\E[%p1%d;%p2%l%02d;0;0q%p3%:-16.16s%p2%s, 
  8806.     pln=\E[%p1%d;0;0;0q%p2%:-16.16s, rc=\E8, 
  8807.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, ri=\EM, rmacs=^O, 
  8808.     rmam=\E[?7l, rmir=\E[4l, rmln=\E[?13h, rmso=\E[27m, 
  8809.     rmul=\E[24m, rmxon=\E[?21l, rs2=\Ec\E[?3l, sc=\E7, 
  8810.     sgr=\E[0%?%p6%t;1%;%?%p5%t;2%;%?%p2%t;4%;%?%p4%t;5%;%?%p3%p1%|%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  8811.     sgr0=\E[m\017, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  8812.     smln=\E[?13l, smso=\E[7m, smul=\E[4m, smxon=\E[?21h, 
  8813.     swidm=\E#6, tsl=\E7\E[;%i%p1%dx, 
  8814. att730-41|730MTG-41|AT&T 730-41 windowing terminal Version, 
  8815.     lines#41, use=att730, 
  8816. att730-24|730MTG-24|AT&T 730-24 windowing terminal Version, 
  8817.     lines#24, use=att730, 
  8818. att730r|730MTGr|AT&T 730 rev video windowing terminal Version, 
  8819.     flash=\E[?5l$<200>\E[?5h, 
  8820.     is1=\E[8;0|\E[?3;4;13;15l\E[?5h\E[13;20l\E[?7h\E[12h\E(B\E)B, 
  8821.     use=att730, 
  8822. att730r-41|730MTG-41r|AT&T 730r-41 rev video windowing terminal Version, 
  8823.     lines#41, use=att730r, 
  8824. att730r-24|730MTGr-24|AT&T 730r-24 rev video windowing terminal Version, 
  8825.     lines#24, use=att730r, 
  8826.  
  8827. # The following represents the screen layout along with the associated
  8828. # bezel buttons for the 5430/pt505 terminal. The "kf" designations do
  8829. # not appear on the screen but are shown to reference the bezel buttons.
  8830. # The "CMD", "MAIL", and "REDRAW" buttons are shown in their approximate
  8831. # position relative to the screen.
  8832. #
  8833. #
  8834. #
  8835. #      +----------------------------------------------------------------+
  8836. #      |                                                                |
  8837. # XXXX | kf0                                                       kf24 | XXXX
  8838. #      |                                                                |
  8839. #      |                                                                |
  8840. # XXXX | kf1                                                       kf23 | XXXX
  8841. #      |                                                                |
  8842. #      |                                                                |
  8843. # XXXX | kf2                                                       kf22 | XXXX
  8844. #      |                                                                |
  8845. #      |                                                                |
  8846. # XXXX | kf3                                                       kf21 | XXXX
  8847. #      |                                                                |
  8848. #      |                                                                |
  8849. # XXXX | kf4                                                       kf20 | XXXX
  8850. #      |                                                                |
  8851. #      |                                                                |
  8852. # XXXX | kf5                                                       kf19 | XXXX
  8853. #      |                                                                |
  8854. #      |                                                                |
  8855. # XXXX | kf6                                                       kf18 | XXXX
  8856. #      |                                                                |
  8857. #      |                                                                |
  8858. # XXXX |                                                                | XXXX
  8859. #      |                                                                |
  8860. #      |                                                                |
  8861. #      +----------------------------------------------------------------+
  8862. #
  8863. #          XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX  XXXX
  8864. #
  8865. # Note: XXXX represents the screen buttons
  8866. #                                                          CMD   REDRAW
  8867. #
  8868. #                                                          MAIL
  8869. #
  8870. # version 1 note: 
  8871. #    The character string sent by key 'kf26' may be user programmable
  8872. #       to send either \E[16s, or \E[26s.
  8873. #       The character string sent by key 'krfr' may be user programmable
  8874. #       to send either \E[17s, or \E[27s.
  8875. #
  8876. # Depression of the "CMD" key sends    \E!    (kcmd)
  8877. # Depression of the "MAIL" key sends   \E[26s (kf26)
  8878. # "REDRAW" same as "REFRESH" (krfr)
  8879. #
  8880. # "kf" functions adds carriage return to output string if terminal is in
  8881. # 'new line' mode.
  8882. #
  8883. # The following are functions not covered in the table above:
  8884. #
  8885. #       Set keyboard character (SKC): \EPn1;Pn2w
  8886. #                       Pn1= 0 Back Space key
  8887. #                       Pn1= 1 Break key
  8888. #                       Pn2=   Program char (hex)
  8889. #
  8890. #       Screen Definition (SDF): \E[Pn1;Pn2;Pn3;Pn4;Pn5t
  8891. #                       Pn1=     Window number (1-39)
  8892. #                       Pn2-Pn5= Y;X;Y;X coordinates
  8893. #
  8894. #       Screen Selection (SSL): \E[Pnu
  8895. #                       Pn= Window number
  8896. #
  8897. #       Set Terminal Modes (SM): \E[Pnh
  8898. #                       Pn= 3 Graphics mode
  8899. #                       Pn= > Cursor blink
  8900. #                       Pn= < Enter new line mode
  8901. #                       Pn= = Enter reverse insert/replace mode
  8902. #                       Pn= ? Enter no scroll mode
  8903. #
  8904. #       Reset Terminal Mode (RM): \E[Pnl
  8905. #                       Pn= 3 Exit graphics mode
  8906. #                       Pn= > Exit cursor blink
  8907. #                       Pn= < Exit new line mode
  8908. #                       Pn= = Exit reverse insert/replace mode
  8909. #                       Pn= ? Exit no scroll mode
  8910. #
  8911. #       Screen Status Report (SSR): \E[Pnp
  8912. #                       Pn= 0 Request current window number
  8913. #                       Pn= 1 Request current window dimensions
  8914. #
  8915. #       Device Status Report (DSR): \E[6n    Request cursor position
  8916. #
  8917. #       Call Status Report (CSR): \E[Pnv
  8918. #                       Pn= 0 Call failed
  8919. #                       Pn= 1 Call successful
  8920. #
  8921. #       Transparent Button String (TBS): \E[Pn1;Pn2;Pn3;{string
  8922. #                       Pn1= Button number to be loaded
  8923. #                       Pn2= Character count of "string"
  8924. #                       Pn3= Key mode being loaded:
  8925. #                               0= Unshifted
  8926. #                               1= Shifted
  8927. #                               2= Control
  8928. #                       String= Text string (15 chars max)
  8929. #
  8930. #       Screen Number Report (SNR): \E[Pnp
  8931. #                       Pn= Screen number
  8932. #
  8933. #       Screen Dimension Report (SDR): \E[Pn1;Pn2r
  8934. #                       Pn1= Number of rows available in window
  8935. #                       Pn2= Number of columns available in window
  8936. #
  8937. #       Cursor Position Report (CPR): \E[Pn1;Pn2R
  8938. #                       Pn1= "Y" Position of cursor
  8939. #                       Pn2= "X" Position of cursor
  8940. #
  8941. #       Request Answer Back (RAB): \E[c
  8942. #
  8943. #       Answer Back Response (ABR): \E[?;*;30;VSV
  8944. #                       *=  0 No printer available
  8945. #                       *=  2 Printer available
  8946. #                       V=  Software version number
  8947. #                       SV= Software sub version number
  8948. #    (printer-available field not documented in v1)
  8949. #
  8950. #       Screen Alignment Aid: \En
  8951. #
  8952. #       Bell (lower pitch): \E[x
  8953. #
  8954. #       Dial Phone Number: \EPdstring\
  8955. #                       string= Phone number to be dialed
  8956. #
  8957. #       Set Phone Labels: \EPpstring\
  8958. #                       string= Label for phone buttons
  8959. #
  8960. #       Set Clock: \EPchour;minute;second\
  8961. #
  8962. #       Position Clock: \EPsY;X\
  8963. #                       Y= "Y" coordinate
  8964. #                       X= "X" coordinate
  8965. #
  8966. #       Delete Clock: \Epr\
  8967. #
  8968. #       Programming The Function Buttons: \EPfPn;string\
  8969. #                       Pn= Button number (00-06, 18-24)
  8970. #                                         (kf00-kf06, kf18-kf24)
  8971. #                       string= Text to sent on button depression
  8972. #
  8973. # The following in version 2 only:
  8974. #
  8975. #       Request For Local Directory Data: \EPp12;\
  8976. #
  8977. #       Local Directory Data to host: \EPp11;LOCAL...DIRECTORY...DATA\
  8978. #
  8979. #    Request for Local Directory Data in print format: \EPp13;\
  8980. #
  8981. #    Enable 'Prt on Line' mode: \022 (DC2)
  8982. #
  8983. #    Disable 'Prt on Line' mode: \024 (DC4)
  8984. #
  8985.  
  8986. # 05-Aug-86:
  8987. # The following Terminfo entry describes functions which are supported by
  8988. # the AT&T 5430/pt505 terminal software version 2 and later.
  8989. att505|pt505|att5430|gs5430|AT&T Personal Terminal 505 or 5430 GETSET terminal, 
  8990.     am, xon, 
  8991.     cols#80, it#8, lines#24, 
  8992.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  8993.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[2J\E[H, 
  8994.     cnorm=\E[>l, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
  8995.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  8996.     cup=\E[%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  8997.     cvvis=\E[>h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  8998.     dl1=\E[M, ed=\E[0J, el=\E[0K, el1=\E[2K, home=\E[H, ht=^I, 
  8999.     il=\E[%p1%dL, il1=\E[L, ind=^J, 
  9000.     is1=\EPr\\E[0u\E[2J\E[0;0H\E[m\E[3l\E[<l\E[4l\E[>l\E[=l\E[?l, 
  9001.     kbs=^H, kcmd=\E!, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  9002.     kcuu1=\E[A, kf0=\E[00s, kf1=\E[01s, kf18=\E[18s, 
  9003.     kf19=\E[19s, kf2=\E[02s, kf20=\E[20s, kf21=\E[21s, 
  9004.     kf22=\E[22s, kf23=\E[23s, kf24=\E[24s, kf26=\E[26s, 
  9005.     kf3=\E[03s, kf4=\E[04s, kf5=\E[05s, kf6=\E[06s, 
  9006.     krfr=\E[27s, mc4=\E[4i, mc5=\E[5i, rc=\E8, rev=\E[7m, 
  9007.     rmacs=\E[10m, rmam=\E[11;1j, rmir=\E[4l, rmso=\E[m, 
  9008.     rmul=\E[m, rs1=\Ec, sc=\E7, sgr0=\E[m, smacs=\E[11m, 
  9009.     smam=\E[11;0j, smir=\E[4h, smso=\E[1m, smul=\E[4m, 
  9010.  
  9011. # The following Terminfo entry describes functions which are supported by
  9012. # the AT&T 5430/pt505 terminal software version 1.
  9013. att505-24|pt505-24|gs5430-24|AT&T PT505 or 5430 GETSET version 1 24 lines, 
  9014.     lines#24, 
  9015.     mc4@, mc5@, rc@, rmam@, sc@, smam@, use=att505, 
  9016. tt505-22|pt505-22|gs5430-22|AT&T PT505 or 5430 GETSET version 1 22 lines, 
  9017.     lines#22, use=att505, 
  9018. #
  9019. #### ------------------ TERMINFO FILE CAN BE SPLIT HERE ---------------------
  9020. # This cut mark helps make life less painful for people running ncurses tic
  9021. # on machines with relatively little RAM.  The file can be broken in half here
  9022. # cleanly and compiled in sections -- no `use' references cross this cut
  9023. # going forward.
  9024. #
  9025.  
  9026. #### Ampex (Dialogue)
  9027. #
  9028. # Yes, these are the same people who are better-known for making audio- and
  9029. # videotape.  I'm told they are located in Redwood City, CA.
  9030. #
  9031.  
  9032. # From: <cbosg!ucbvax!SRC:george> Fri Sep 11 22:38:32 1981
  9033. # (ampex80: some capabilities merged in from SCO's entry -- esr)
  9034. ampex80|a80|d80|dialogue|dialogue80|ampex dialogue 80, 
  9035.     OTbs, am, bw, ul, 
  9036.     cols#80, it#8, lines#24, 
  9037.     bel=^G, cbt=\EI, clear=\E*$<75>, cr=^M, cub1=^H, cud1=^J, 
  9038.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9039.     dch1=\EW, dl1=\ER$<5*>, ed=\Ey, el=\Et, ht=^I, hts=\E1, 
  9040.     ich1=\EQ, il1=\EE$<5*>, ind=^J, is2=\EA, rmso=\Ek, rmul=\Em, 
  9041.     smso=\Ej, smul=\El, tbc=\E3, 
  9042. # This entry was from somebody anonymous, Tue Aug  9 20:11:37 1983, who wrote:
  9043. ampex175|ampex d175, 
  9044.     am, 
  9045.     cols#80, lines#24, 
  9046.     bel=^G, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  9047.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  9048.     dl1=\ER, ed=\Ey, el=\Et, home=^^, ich1=\EQ, il1=\EE, ind=^J, 
  9049.     is2=\EX\EA\EF, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  9050.     kdch1=\EW, kdl1=\ER, khome=^^, kich1=\EQ, kil1=\EE, ll=^^^K, 
  9051.     rmcup=\EF, rmso=\Ek, rmul=\Em, smcup=\EN, smso=\Ej, smul=\El, 
  9052. # No backspace key in the main QWERTY cluster. Fortunately, it has a
  9053. # NEWLINE/PAGE key just above RETURN that sends a strange single-character
  9054. # code.  Given a suitable Unix (one that lets you set an echo-erase-as-BS-SP-BS
  9055. # mode), this key can be used as the erase key; I find I like this. Because
  9056. # some people and some systems may not, there is another termcap ("ampex175")
  9057. # that suppresses this little eccentricity by omitting the relevant capability.
  9058. ampex175-b|ampex d175 using left arrow for erase, 
  9059.     kbs=^_, use=ampex175, 
  9060. # From: Richard Bascove <atd!dsd!rcb@ucbvax.berkeley.edu>
  9061. # (ampex210: removed obsolete ":kn#10:" -- esr)
  9062. ampex210|a210|ampex a210, 
  9063.     OTbs, am, hs, xenl, 
  9064.     cols#80, it#8, lines#24, xmc#1, 
  9065.     cbt=\EI, clear=\E*, cub1=^H, cuf1=^L, 
  9066.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  9067.     dl1=\ER, ed=\Ey, el=\Et, flash=\EU\EX\EU\EX\EU\EX\EU\EX, 
  9068.     fsl=\E.2, home=^^, ht=^I, ich1=\EQ, 
  9069.     if=/usr/share/tabset/std, il1=\EE, invis@, 
  9070.     is2=\EC\Eu\E'\E(\El\EA\E%\E{\E.2\EG0\Ed\En, kcub1=^H, 
  9071.     kcud1=^V, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A1\r, 
  9072.     kf2=^A2\r, kf3=^A3\r, kf4=^A4\r, kf5=^A5\r, kf6=^A6\r, 
  9073.     kf7=^A7\r, kf8=^A8\r, kf9=^A9\r, khome=^^, 
  9074.     tsl=\E.0\Eg\E}\Ef, use=adm+sgr, 
  9075. # (ampex219: I added <rmam>/<smam> based on the init string, added <cvvis>
  9076. # from ampex219w, added <cnorm>=\E[?3l, irresistibly suggested by <cvvis>,
  9077. # and moved the padding to be *after* the caps -- esr)
  9078. ampex219|ampex-219|amp219|Ampex with Automargins, 
  9079.     hs, xenl, 
  9080.     cols#80, it#8, lines#24, 
  9081.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, cbt=\E[Z, 
  9082.     clear=\E[H\E[2J$<50>, cnorm=\E[?3l, cr=^M, 
  9083.     csr=%i\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, 
  9084.     cuf1=\E[C$<2>, cup=\E[%i%p1%d;%p2%dH$<5>, 
  9085.     cuu1=\E[A$<2>, cvvis=\E[?3h, dim=\E[1m, ed=\E[J$<50>, 
  9086.     el=\E[K$<3>, home=\E[H, ht=^I, ind=^J, 
  9087.     is2=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  9088.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[21~, 
  9089.     kf1=\E[7~, kf2=\E[8~, kf3=\E[9~, kf4=\E[10~, kf5=\E[11~, 
  9090.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, khome=\E[H, 
  9091.     rev=\E[7m, ri=\EM$<5>, rmam=\E[?7l, rmkx=\E>, 
  9092.     rmso=\E[m$<2>, rmul=\E[m$<2>, sgr0=\E[m$<2>, smam=\E[?7h, 
  9093.     smkx=\E=, smso=\E[7m$<2>, smul=\E[4m$<2>, 
  9094. ampex219w|ampex-219w|amp219w|Ampex 132 cols, 
  9095.     cols#132, lines#24, 
  9096.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  9097.     is2=\E>\E[?3h\E[?4l\E[?5l\E[?7h\E[?8h, use=ampex219, 
  9098. # (ampex232: removed <if=/usr/share/tabset/ampex>, no file and no <hts> --esr) 
  9099. ampex232|ampex-232|Ampex Model 232, 
  9100.     am, 
  9101.     cols#80, lines#24, xmc#1, 
  9102.     cbt=\EI, civis=\E.0, clear=\E+, cnorm=\E.4, cub1=^H, cud1=^V, 
  9103.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9104.     dch1=\EW, dl1=\ER$<5*/>, ed=\EY, el=\ET, 
  9105.     flash=\Eb$<200/>\Ed, ht=^I, ich1=\EQ, il1=\EE$<5*/>, 
  9106.     invis@, is2=\Eg\El, kbs=^H, kcub1=^H, kcud1=^V, kcuf1=^L, 
  9107.     kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
  9108.     kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
  9109.     kf9=^AI\r, khome=^^, use=adm+sgr, 
  9110. # (ampex: removed <if=/usr/share/tabset/amp-132>, no file and no <hts> -- esr) 
  9111. ampex232w|Ampex Model 232 / 132 columns, 
  9112.     cols#132, lines#24, 
  9113.     is2=\E\034Eg\El, use=ampex232, 
  9114.  
  9115. #### Ann Arbor (aa)
  9116. #
  9117. # Ann Arbor made dream terminals for hackers -- large screen sizes and huge
  9118. # numbers of function keys.  At least some used monitors in portrait mode,
  9119. # allowing up to 76-character screen heights!  They were reachable at:
  9120. #
  9121. #    Ann Arbor Terminals
  9122. #    6175 Jackson Road
  9123. #    Ann Arbor, MI 48103
  9124. #    (313)-663-8000
  9125. #
  9126. # But in 1996 the phone number reaches some kitschy retail shop, and Ann Arbor
  9127. # can't be found on the Web; I fear they're long dead.  R.I.P.
  9128. #
  9129.  
  9130.  
  9131. # Originally from Mike O'Brien@Rand and Howard Katseff at Bell Labs.
  9132. # Highly modified 6/22 by Mike O'Brien.
  9133. # split out into several for the various screen sizes by dave-yost@rand
  9134. # Modifications made 3/82 by Mark Horton
  9135. # Modified by Tom Quarles at UCB for greater efficiency and more diversity
  9136. # status line moved to top of screen, <flash> removed 5/82
  9137. # Some unknown person at SCO then hacked the init strings to make them more
  9138. # efficient.
  9139. #
  9140. # assumes the following setup:
  9141. #   A menu: 0000 1010  0001 0000
  9142. #   B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
  9143. #   C menu: 56   66   0    0    9600  0110 1100
  9144. #   D menu: 0110 1001   1   0
  9145. #
  9146. #    Briefly, the settings are for the following modes:
  9147. #       (values are for bit set/clear with * indicating our preference
  9148. #        and the value used to test these termcaps)
  9149. #    Note that many of these settings are irrelevent to the terminfo
  9150. #    and are just set to the default mode of the terminal as shipped
  9151. #    by the factory.
  9152. #
  9153. # A menu: 0000 1010  0001 0000
  9154. #    Block/underline cursor*
  9155. #    blinking/nonblinking cursor*
  9156. #    key click/no key click*
  9157. #    bell/no bell at column 72*
  9158. #
  9159. #    key pad is cursor control*/key pad is numeric
  9160. #    return and line feed/return for <cr> key *
  9161. #    repeat after .5 sec*/no repeat
  9162. #    repeat at 25/15 chars per sec. *
  9163. #
  9164. #    hold data until pause pressed/process data unless pause pressed*
  9165. #    slow scroll/no slow scroll*
  9166. #    Hold in area/don't hold in area*
  9167. #    functions keys have default*/function keys disabled on powerup
  9168. #
  9169. #    show/don't show position of cursor during page transmit*
  9170. #    unused
  9171. #    unused
  9172. #    unused
  9173. #
  9174. # B menu: 9600  0100 1000  0000 0000  1000 0000  17  19
  9175. #    Baud rate (9600*)
  9176. #
  9177. #    2 bits of parity - 00=odd,01=even*,10=space,11=mark
  9178. #    1 stop bit*/2 stop bits
  9179. #    parity error detection off*/on
  9180. #
  9181. #    keyboard local/on line*
  9182. #    half/full duplex*
  9183. #    disable/do not disable keyboard after data transmission*
  9184. #
  9185. #    transmit entire page/stop transmission at cursor*
  9186. #    transfer/do not transfer protected characters*
  9187. #    transmit all characters/transmit only selected characters*
  9188. #    transmit all selected areas/transmit only 1 selected area*
  9189. #
  9190. #    transmit/do not transmit line separators to host*
  9191. #    transmit/do not transmit page tab stops tabs to host*
  9192. #    transmit/do not transmit column tab stop tabs to host*
  9193. #    transmit/do not transmit graphics control (underline,inverse..)*
  9194. #
  9195. #    enable*/disable auto XON/XOFF control
  9196. #    require/do not require receipt of a DC1 from host after each LF*
  9197. #    pause key acts as a meta key/pause key is pause*
  9198. #    unused
  9199. #
  9200. #    unused
  9201. #    unused
  9202. #    unused
  9203. #    unused
  9204. #
  9205. #    XON character (17*)
  9206. #    XOFF character (19*)
  9207. #
  9208. # C menu: 56   66   0    0    9600  0110 1100
  9209. #    number of lines to print data on (printer) (56*)
  9210. #
  9211. #    number of lines on a sheet of paper (printer) (66*)
  9212. #
  9213. #    left margin (printer) (0*)
  9214. #
  9215. #    number of pad chars on new line to printer (0*)
  9216. #
  9217. #    printer baud rate (9600*)
  9218. #
  9219. #    printer parity: 00=odd,01=even*,10=space,11=mark
  9220. #    printer stop bits: 2*/1
  9221. #    print/do not print guarded areas*
  9222. #
  9223. #    new line is: 01=LF,10=CR,11=CRLF*
  9224. #    unused
  9225. #    unused
  9226. #
  9227. # D menu: 0110 1001   1   0
  9228. #    LF is newline/LF is down one line, same column*
  9229. #    wrap to preceding line if move left from col 1*/don't wrap
  9230. #    wrap to next line if move right from col 80*/don't wrap
  9231. #    backspace is/is not destructive*
  9232. #
  9233. #    display*/ignore DEL character
  9234. #    display will not/will scroll*
  9235. #    page/column tab stops*
  9236. #    erase everything*/erase unprotected only
  9237. #
  9238. #    editing extent: 0=display,1=line*,2=field,3=area
  9239. #
  9240. #    unused
  9241. #
  9242.  
  9243. annarbor4080|aa4080|ann arbor 4080, 
  9244.     OTbs, am, 
  9245.     cols#80, lines#40, 
  9246.     bel=^G, clear=\014$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=^_, 
  9247.     cup=\017%p2%{10}%/%{16}%*%p2%{10}%m%+%c%p1%?%p1%{19}%>%t%{12}%+%;%{64}%+%c, 
  9248.     cuu1=^N, home=^K, ht=^I, hts=^]^P1, ind=^J, kbs=^^, kcub1=^H, 
  9249.     kcud1=^J, kcuf1=^_, kcuu1=^N, khome=^K, tbc=^\^P^P, 
  9250.  
  9251. # Strange Ann Arbor terminal from BRL
  9252. aas1901|Ann Arbor K4080 w/S1901 mod, 
  9253.     am, 
  9254.     cols#80, lines#40, 
  9255.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^N, 
  9256.     home=^K, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, ll=^O\0c, 
  9257.     nel=^M^J, 
  9258.  
  9259. # If you're using the GNU termcap library, add
  9260. #    :cS=\E[%p1%d;%p2%d;%p3%d;%p4%dp:
  9261. # to these capabilities.  This is the nonstandard GNU termcap scrolling
  9262. # capability, arguments are:
  9263. #   1. Total number of lines on the screen.
  9264. #   2. Number of lines above desired scroll region.
  9265. #   3. Number of lines below (outside of) desired scroll region.
  9266. #   4. Total number of lines on the screen, the same as the first parameter.
  9267. # The generic Ann Arbor entry is the only one that uses this.
  9268. aaa+unk|aaa-unk|ann arbor ambassador (internal - don't use this directly), 
  9269.     OTbs, am, km, mc5i, mir, xon, 
  9270.     cols#80, it#8, 
  9271.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  9272.     clear=\E[H\E[J$<156>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  9273.     cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
  9274.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  9275.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, 
  9276.     el=\E[K$<5>, home=\E[H, hpa=\E[%p1%{1}%+%dG, ht=^I, 
  9277.     hts=\EH, ich=\E[%p1%d@$<4*>, ich1=\E[@$<4>, il=\E[%p1%dL, 
  9278.     il1=\E[L$<3>, ind=^K, invis=\E[8m, is1=\E[m\E7\E[H\E9\E8, 
  9279.     is3=\E[1Q\E[>20;30l\EP`+x~M\E\\, kbs=^H, kcbt=\E[Z, 
  9280.     kclr=\E[J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  9281.     kdch1=\E[P, kdl1=\E[M, kf1=\EOA, kf10=\EOJ, kf11=\EOK, 
  9282.     kf12=\EOL, kf13=\EOM, kf14=\EON, kf15=\EOO, kf16=\EOP, 
  9283.     kf17=\EOQ, kf18=\EOR, kf19=\EOS, kf2=\EOB, kf20=\EOT, 
  9284.     kf21=\EOU, kf22=\EOV, kf23=\EOW, kf24=\EOX, kf3=\EOC, 
  9285.     kf4=\EOD, kf5=\EOE, kf6=\EOF, kf7=\EOG, kf8=\EOH, kf9=\EOI, 
  9286.     khome=\E[H, kich1=\E[@, kil1=\E[L, krmir=\E6, mc0=\E[0i, 
  9287.     mc4=^C, mc5=\E[v, mc5p=\E[%p1%dv, rc=\E8, 
  9288.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
  9289.     rmkx=\EP`>y~[[J`8xy~[[A`4xy~[[D`6xy~[[C`2xy~[[B\E\\, 
  9290.     rmm=\E[>52l, rmso=\E[m, rmul=\E[m, sc=\E7, 
  9291.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  9292.     sgr0=\E[m, 
  9293.     smkx=\EP`>z~[[J`8xz~[[A`4xz~[[D`6xz~[[C`2xz~[[B\E\\, 
  9294.     smm=\E[>52h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  9295.     vpa=\E[%p1%{1}%+%dd, 
  9296.  
  9297. aaa+rv|ann arbor ambassador in reverse video, 
  9298.     blink=\E[5;7m, bold=\E[1;7m, invis=\E[7;8m, 
  9299.     is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
  9300.     rs1=\E[H\E[7m\E[J$<156>, 
  9301.     sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  9302.     sgr0=\E[7m\016, smso=\E[m, smul=\E[4;7m, 
  9303. # Ambassador with the DEC option, for partial vt100 compatibility.
  9304. aaa+dec|ann arbor ambassador in dec vt100 mode, 
  9305.     acsc=aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}, 
  9306.     csr=\E[%i%p1%d;%p2%dr, enacs=\E(0, rmacs=^N, 
  9307.     sgr=\E[%?%p1%p3%|%!%t7;%;%?%p2%t4;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m%?%p9%t\017%e\016%;, 
  9308.     smacs=^O, 
  9309. aaa-18|ann arbor ambassador/18 lines, 
  9310.     lines#18, 
  9311.     is2=\E7\E[60;0;0;18p\E8, 
  9312.     rmcup=\E[60;0;0;18p\E[60;1H\E[K, smcup=\E[18;0;0;18p, 
  9313.     use=aaa+unk, 
  9314. aaa-18-rv|ann arbor ambassador/18 lines+reverse video, 
  9315.     use=aaa+rv, use=aaa-18, 
  9316. aaa-20|ann arbor ambassador/20 lines, 
  9317.     lines#20, 
  9318.     is2=\E7\E[60;0;0;20p\E8, 
  9319.     rmcup=\E[60;0;0;20p\E[60;1H\E[K, smcup=\E[20;0;0;20p, 
  9320.     use=aaa+unk, 
  9321. aaa-22|ann arbor ambassador/22 lines, 
  9322.     lines#22, 
  9323.     is2=\E7\E[60;0;0;22p\E8, 
  9324.     rmcup=\E[60;0;0;22p\E[60;1H\E[K, smcup=\E[22;0;0;22p, 
  9325.     use=aaa+unk, 
  9326. aaa-24|ann arbor ambassador/24 lines, 
  9327.     lines#24, 
  9328.     is2=\E7\E[60;0;0;24p\E8, 
  9329.     rmcup=\E[60;0;0;24p\E[60;1H\E[K, smcup=\E[24;0;0;24p, 
  9330.     use=aaa+unk, 
  9331. aaa-24-rv|ann arbor ambassador/24 lines+reverse video, 
  9332.     use=aaa+rv, use=aaa-24, 
  9333. aaa-26|ann arbor ambassador/26 lines, 
  9334.     lines#26, 
  9335.     is2=\E7\E[60;0;0;26p\E8, 
  9336.     rmcup=\E[60;0;0;26p\E[26;1H\E[K, 
  9337.     smcup=\E[H\E[J$<156>\E[26;0;0;26p, use=aaa+unk, 
  9338. aaa-28|ann arbor ambassador/28 lines, 
  9339.     lines#28, 
  9340.     is2=\E7\E[60;0;0;28p\E8, 
  9341.     rmcup=\E[60;0;0;28p\E[28;1H\E[K, 
  9342.     smcup=\E[H\E[J$<156>\E[28;0;0;28p, use=aaa+unk, 
  9343. aaa-30-s|aaa-s|ann arbor ambassador/30 lines w/status, 
  9344.     eslok, hs, 
  9345.     lines#29, 
  9346.     dsl=\E7\E[60;0;0;30p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  9347.     fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;30p\E8, 
  9348.     rmcup=\E[60;1;0;30p\E[29;1H\E[K, 
  9349.     smcup=\E[H\E[J$<156>\E[30;1;0;30p\E[30;1H\E[K, 
  9350.     tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk, 
  9351. aaa-30-s-rv|aaa-s-rv|ann arbor ambassador/30 lines+status+reverse video, 
  9352.     use=aaa+rv, use=aaa-30-s, 
  9353. aaa-s-ctxt|aaa-30-s-ctxt|ann arbor ambassador/30 lines+status+save context, 
  9354.     rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
  9355.     smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s, 
  9356. aaa-s-rv-ctxt|aaa-30-s-rv-ct|ann arbor ambassador/30 lines+status+save context+reverse video, 
  9357.     rmcup=\E[60;1;0;30p\E[59;1H\E[K, 
  9358.     smcup=\E[30;1H\E[K\E[30;1;0;30p, use=aaa-30-s-rv, 
  9359. aaa|aaa-30|ambas|ambassador|ann arbor ambassador/30 lines, 
  9360.     lines#30, 
  9361.     is2=\E7\E[60;0;0;30p\E8, 
  9362.     rmcup=\E[60;0;0;30p\E[30;1H\E[K, 
  9363.     smcup=\E[H\E[J$<156>\E[30;0;0;30p, use=aaa+unk, 
  9364. aaa-30-rv|aaa-rv|ann arbor ambassador/30 lines in reverse video, 
  9365.     use=aaa+rv, use=aaa-30, 
  9366. aaa-30-ctxt|aaa-ctxt|ann arbor ambassador/30 lines; saving context, 
  9367.     rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
  9368.     use=aaa-30, 
  9369. aaa-30-rv-ctxt|aaa-rv-ctxt|ann arbor ambassador/30 lines reverse video; saving context, 
  9370.     rmcup=\E[60;0;0;30p\E[60;1H\E[K, smcup=\E[30;0;0;30p, 
  9371.     use=aaa+rv, use=aaa-30, 
  9372. aaa-36|ann arbor ambassador/36 lines, 
  9373.     lines#36, 
  9374.     is2=\E7\E[60;0;0;36p\E8, 
  9375.     rmcup=\E[60;0;0;36p\E[36;1H\E[K, 
  9376.     smcup=\E[H\E[J$<156>\E[36;0;0;36p, use=aaa+unk, 
  9377. aaa-36-rv|ann arbor ambassador/36 lines+reverse video, 
  9378.     use=aaa+rv, use=aaa-36, 
  9379. aaa-40|ann arbor ambassador/40 lines, 
  9380.     lines#40, 
  9381.     is2=\E7\E[60;0;0;40p\E8, 
  9382.     rmcup=\E[60;0;0;40p\E[40;1H\E[K, 
  9383.     smcup=\E[H\E[J$<156>\E[40;0;0;40p, use=aaa+unk, 
  9384. aaa-40-rv|ann arbor ambassador/40 lines+reverse video, 
  9385.     use=aaa+rv, use=aaa-40, 
  9386. aaa-48|ann arbor ambassador/48 lines, 
  9387.     lines#48, 
  9388.     is2=\E7\E[60;0;0;48p\E8, 
  9389.     rmcup=\E[60;0;0;48p\E[48;1H\E[K, 
  9390.     smcup=\E[H\E[J$<156>\E[48;0;0;48p, use=aaa+unk, 
  9391. aaa-48-rv|ann arbor ambassador/48 lines+reverse video, 
  9392.     use=aaa+rv, use=aaa-48, 
  9393. aaa-60-s|ann arbor ambassador/59 lines+status, 
  9394.     eslok, hs, 
  9395.     lines#59, 
  9396.     dsl=\E7\E[60;0;0;60p\E[1;1H\E[K\E[H\E8\r\n\E[K, 
  9397.     fsl=\E[>51l, is2=\r\n\E[A\E7\E[60;1;0;60p\E8, 
  9398.     tsl=\E[>51h\E[1;%p1%dH\E[2K, use=aaa+unk, 
  9399. aaa-60-s-rv|ann arbor ambassador/59 lines+status+reverse video, 
  9400.     use=aaa+rv, use=aaa-60-s, 
  9401. aaa-60-dec-rv|ann arbor ambassador/dec mode+59 lines+status+rev video, 
  9402.     use=aaa+dec, use=aaa+rv, use=aaa-60-s, 
  9403. aaa-60|ann arbor ambassador/60 lines, 
  9404.     lines#60, 
  9405.     is2=\E7\E[60;0;0;60p\E[1Q\E[m\E[>20;30l\E8, 
  9406.     use=aaa+unk, 
  9407. aaa-60-rv|ann arbor ambassador/60 lines+reverse video, 
  9408.     use=aaa+rv, use=aaa-60, 
  9409. aaa-db|ann arbor ambassador 30/destructive backspace, 
  9410.     OTbs@, 
  9411.     cub1=\E[D, is3=\E[1Q\E[m\E[>20l\E[>30h, use=aaa-30, 
  9412.  
  9413. guru|guru-33|guru+unk|ann arbor guru/33 lines 80 cols, 
  9414.     lines#33, 
  9415.     flash=\E[>59h$<100>\E[>59l, 
  9416.     is2=\E7\E[255;0;0;33;80;80p\E8\E[J, is3=\E[>59l, 
  9417.     rmcup=\E[255p\E[255;1H\E[K, smcup=\E[33p, use=aaa+unk, 
  9418. guru+rv|guru changes for reverse video, 
  9419.     flash=\E[>59l$<100>\E[>59h, is3=\E[>59h, 
  9420. guru-rv|guru-33-rv|ann arbor guru/33 lines+reverse video, 
  9421.     use=guru+rv, use=guru-33, 
  9422. guru+s|guru status line, 
  9423.     eslok, hs, 
  9424.     dsl=\E7\E[;0p\E[1;1H\E[K\E[H\E8\r\n\E[K, fsl=\E[>51l, 
  9425.     rmcup=\E[255;1p\E[255;1H\E[K, smcup=, 
  9426.     tsl=\E[>51h\E[1;%p1%dH\E[2K, 
  9427. guru-nctxt|guru with no saved context, 
  9428.     smcup=\E[H\E[J$<156>\E[33p\E[255;1H\E[K, use=guru, 
  9429. guru-s|guru-33-s|ann arbor guru/33 lines+status, 
  9430.     lines#32, 
  9431.     is2=\r\n\E[A\E7\E[255;1;0;33;80;80p\E8\E[J, 
  9432.     smcup=\E[33;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
  9433. guru-24|ann arbor guru 24 lines, 
  9434.     cols#80, lines#24, 
  9435.     is2=\E7\E[255;0;0;24;80;80p\E8\E[J, smcup=\E[24p, 
  9436.     use=guru+unk, 
  9437. guru-44|ann arbor guru 44 lines, 
  9438.     cols#97, lines#44, 
  9439.     is2=\E7\E[255;0;0;44;97;100p\E8\E[J, smcup=\E[44p, 
  9440.     use=guru+unk, 
  9441. guru-44-s|ann arbor guru/44 lines+status, 
  9442.     lines#43, 
  9443.     is2=\r\n\E[A\E7\E[255;1;0;44;80;80p\E8\E[J, 
  9444.     smcup=\E[44;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
  9445. guru-76|guru with 76 lines by 89 cols, 
  9446.     cols#89, lines#76, 
  9447.     is2=\E7\E[255;0;0;76;89;100p\E8\E[J, smcup=\E[76p, 
  9448.     use=guru+unk, 
  9449. guru-76-s|ann arbor guru/76 lines+status, 
  9450.     cols#89, lines#75, 
  9451.     is2=\r\n\E[A\E7\E[255;1;0;76;89;100p\E8\E[J, 
  9452.     smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
  9453. guru-76-lp|guru-lp|guru with page bigger than line printer, 
  9454.     cols#134, lines#76, 
  9455.     is2=\E7\E[255;0;0;76;134;134p\E8\E[J, smcup=\E[76p, 
  9456.     use=guru+unk, 
  9457. guru-76-w|guru 76 lines by 178 cols, 
  9458.     cols#178, lines#76, 
  9459.     is2=\E7\E[255;0;0;76;178;178p\E8\E[J, smcup=\E[76p, 
  9460.     use=guru+unk, 
  9461. guru-76-w-s|ann arbor guru/76 lines+status+wide, 
  9462.     cols#178, lines#75, 
  9463.     is2=\r\n\E[A\E7\E[255;1;0;76;178;178p\E8\E[J, 
  9464.     smcup=\E[76;1p\E[255;1H\E[K, use=guru+s, use=guru+unk, 
  9465. guru-76-wm|guru 76 lines by 178 cols with 255 cols memory, 
  9466.     cols#178, lines#76, 
  9467.     is2=\E7\E[255;0;0;76;178;255p\E8\E[J, smcup=\E[76p, 
  9468.     use=guru+unk, 
  9469. aaa-rv-unk|ann arbor unknown type, 
  9470.     lh#0, lw#0, nlab#0, 
  9471.     blink=\E[5;7m, bold=\E[1;7m, home=\E[H, invis=\E[7;8m, 
  9472.     is1=\E[7m\E7\E[H\E9\E8, rev=\E[m, rmso=\E[7m, rmul=\E[7m, 
  9473.     rs1=\E[H\E[7m\E[J, 
  9474.     sgr=\E[%?%p1%!%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;%?%p7%t8;%;m, 
  9475.     sgr0=\E[7m, smso=\E[m, smul=\E[4;7m, 
  9476.  
  9477. #### Applied Digital Data Systems (adds)
  9478. #
  9479. # ADDS itself is long gone.  ADDS was bought by NCR, and the same group made
  9480. # ADDS and NCR terminals.  When AT&T and NCR merged, the engineering for
  9481. # terminals was merged again.  Then AT&T sold the terminal business to
  9482. # SunRiver, which later changed its  name to Boundless Technologies.  The
  9483. # engineers from Teletype, AT&T terminals, ADDS, and NCR (who are still there
  9484. # as of early 1995) are at:
  9485. #
  9486. #    Boundless Technologies
  9487. #    100 Marcus Boulevard
  9488. #    Hauppauge, NY 11788-3762
  9489. #    Vox: (800)-231-5445
  9490. #    Fax: (516)-342-7378
  9491. #    Web: http://boundless.com
  9492. #
  9493. # Their voice mail used to describe the place as "SunRiver (formerly ADDS)". 
  9494. # In 1995 Boundless acquired DEC's terminals business.  
  9495. #
  9496.  
  9497. # Regent: lowest common denominator, works on all regents.
  9498. # (regent: renamed ":bc:" to ":le:" -- esr)
  9499. regent|Adds Regent Series, 
  9500.     OTbs, am, 
  9501.     cols#80, lines#24, 
  9502.     bel=^G, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, cuu1=^Z, 
  9503.     home=\EY\s\s, ind=^J, ll=^A, 
  9504. # Regent 100 has a bug where if computer sends escape when user is holding
  9505. # down shift key it gets confused, so we avoid escape.
  9506. regent100|Adds Regent 100, 
  9507.     xmc#1, 
  9508.     bel=^G, 
  9509.     cup=\013%p1%' '%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
  9510.     kf0=^B1\r, kf1=^B2\r, kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, 
  9511.     kf5=^B6\r, kf6=^B7\r, kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, 
  9512.     lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, 
  9513.     sgr0=\E0@, smso=\E0P, smul=\E0`, use=regent, 
  9514. regent20|Adds Regent 20, 
  9515.     bel=^G, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, ed=\Ek, el=\EK, 
  9516.     use=regent, 
  9517. regent25|Adds Regent 25, 
  9518.     bel=^G, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, khome=^A, 
  9519.     use=regent20, 
  9520. regent40|Adds Regent 40, 
  9521.     xmc#1, 
  9522.     bel=^G, dl1=\El$<2*>, il1=\EM$<2*>, kf0=^B1\r, kf1=^B2\r, 
  9523.     kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
  9524.     kf7=^B8\r, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, lf5=F6, 
  9525.     lf6=F7, lf7=F8, rmso=\E0@, rmul=\E0@, sgr0=\E0@, smso=\E0P, 
  9526.     smul=\E0`, use=regent25, 
  9527. regent40+|Adds Regent 40+, 
  9528.     is2=\EB, use=regent40, 
  9529. regent60|regent200|Adds Regent 60, 
  9530.     dch1=\EE, is2=\EV\EB, kdch1=\EE, kich1=\EF, krmir=\EF, 
  9531.     rmir=\EF, rmso=\ER\E0@\EV, smir=\EF, smso=\ER\E0P\EV, 
  9532.     use=regent40+, 
  9533. # From: <edward@onyx.berkeley.edu> Thu Jul  9 09:27:33 1981
  9534. # (viewpoint: added <kcuf1>, function key, and <dl1> capabilities -- esr)
  9535. viewpoint|addsviewpoint|adds viewpoint, 
  9536.     OTbs, am, 
  9537.     cols#80, lines#24, 
  9538.     bel=^G, clear=^L, cnorm=\017\E0`, cr=^M, cub1=^H, cud1=^J, 
  9539.     cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  9540.     cvvis=\017\E0P, dl1=\El, ed=\Ek$<16.1*>, el=\EK$<16>, 
  9541.     ind=^J, is2=\017\E0`, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
  9542.     kf0=^B1, kf2=^B2, kf3=^B!, kf4=^B", kf5=^B#, khome=^A, ll=^A, 
  9543.     rmso=^O, rmul=^O, sgr0=^O, smso=^N, smul=^N, 
  9544. # Some viewpoints have bad ROMs that foo up on ^O
  9545. screwpoint|adds viewpoint with ^O bug, 
  9546.     cvvis@, rmso@, rmul@, smso@, smul@, use=viewpoint, 
  9547.  
  9548. # From: Jay S. Rouman <jsr@dexter.mi.org> 5 Jul 92
  9549. # The <civis>/<cnorm>/<sgr>/<sgr0> strings were added by ESR from specs.  
  9550. # Theory; the vp3a+ wants \E0%c to set highlights, where normal=01000000,
  9551. # underline=01100000, rev=01010000, blink=01000010,dim=01000001,
  9552. # invis=01000100 and %c is the logical or of desired attributes.
  9553. # There is also a `tag bit' enabling attributes, set by \E) and unset by \E(.
  9554. vp3a+|viewpoint3a+|adds viewpoint 3a+, 
  9555.     am, bw, 
  9556.     cols#80, it#8, lines#24, 
  9557.     civis=^W, clear=\E*$<80>, cnorm=^X, cr=^M, cub1=^H, cud1=^J, 
  9558.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  9559.     ed=\EY$<80>, el=\ET, home=^^, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  9560.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, nel=^M^J, rmso=\E(, 
  9561.     sgr=\E0%{64}%?%p1%tQ%|%;%?%p2%t%{96}%|%;%?%p3%tP%|%;%?%p4%t%{2}%|%;%?%p5%t%{1}%|%;%?%p7%tD%|%;%c\E), 
  9562.     sgr0=\E(, smso=\E0Q\E), 
  9563. vp60|viewpoint60|addsvp60|adds viewpoint60, 
  9564.     use=regent40, 
  9565. #
  9566. # adds viewpoint 90 - from cornell
  9567. # Note:  emacs sends ei occasionally to insure the terminal is out of
  9568. #        insert mode. This unfortunately puts the viewpoint90 IN insert
  9569. #        mode.  A hack to get around this is <ich1=\EF\s\EF^U>.  (Also,
  9570. #   -    :ei=:im=: must be present in the termcap translation.)
  9571. #   -    <xhp> indicates glitch that attributes stick to location
  9572. #   -    <msgr> means it's safe to move in standout mode
  9573. #   -    <clear=\EG\Ek>: clears screen and visual attributes without affecting
  9574. #               the status line
  9575. # Function key and label capabilities merged in from SCO.
  9576. vp90|viewpoint90|adds viewpoint 90, 
  9577.     OTbs, bw, msgr, xhp, 
  9578.     cols#80, lines#24, 
  9579.     clear=\EG\Ek, cub1=^H, cud1=^J, cuf1=^F, 
  9580.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dch1=\EE, 
  9581.     dl1=\El, ed=\Ek, el=\EK, home=\EY\s\s, ht=^I, 
  9582.     ich1=\EF \EF\025, ind=^J, kbs=^H, kcub1=^U, kcud1=^J, 
  9583.     kcuf1=^F, kcuu1=^Z, kf0=^B1\r, kf1=^B2\r, kf10=^B;\r, 
  9584.     kf2=^B3\r, kf3=^B4\r, kf4=^B5\r, kf5=^B6\r, kf6=^B7\r, 
  9585.     kf7=^B8\r, kf8=^B9\r, kf9=^B\:\r, khome=^A, lf0=F1, lf1=F2, 
  9586.     lf10=F11, lf2=F3, lf3=F4, lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, 
  9587.     lf9=F10, ll=^A, rmso=\ER\E0@\EV, rmul=\ER\E0@\EV, 
  9588.     sgr0=\ER\E0@\EV, smso=\ER\E0Q\EV, smul=\ER\E0`\EV, 
  9589. # Note: if return acts weird on a980, check internal switch #2
  9590. # on the top chip on the CONTROL pc board.
  9591. adds980|a980|adds consul 980, 
  9592.     OTbs, am, 
  9593.     cols#80, lines#24, 
  9594.     bel=^G, clear=\014$<1>\013@, cr=^M, cub1=^H, cud1=^J, 
  9595.     cuf1=\E^E01, cup=\013%p1%{64}%+%c\E\005%p2%2d, 
  9596.     dl1=\E\017$<13>, il1=\E\016$<13>, ind=^J, kf0=\E0, kf1=\E1, 
  9597.     kf2=\E2, kf3=\E3, kf4=\E4, kf5=\E5, kf6=\E6, kf7=\E7, kf8=\E8, 
  9598.     kf9=\E9, rmso=^O, sgr0=^O, smso=^Y^^^N, 
  9599.  
  9600. #### C. Itoh Electronics
  9601. #
  9602. # As of 1995 these people no longer make terminals (they're still in the
  9603. # printer business).  Their terminals were all clones of the DEC VT series.
  9604. # They're located in Orange County, CA.
  9605. #
  9606.  
  9607. # CIT 80  - vt-52 emulator, the termcap has been modified to remove
  9608. #           the delay times and do an auto tab set rather than the indirect
  9609. #           file used in vt100.
  9610. cit80|cit-80|citoh 80, 
  9611.     OTbs, am, 
  9612.     cols#80, lines#24, 
  9613.     clear=\E[H\EJ, cr=^M, cub1=^H, cuf1=\E[C, 
  9614.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, ed=\EJ, el=\EK, ff=^L, 
  9615.     ind=^J, is2=\E>, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  9616.     kcuu1=\EOA, rmkx=\E[?1l\E>, smkx=\E[?1h\E=, 
  9617. # From: Tim Wood <mtxinu!sybase!tim> Fri Sep 27 09:39:12 PDT 1985
  9618. # (cit101: added <rmam>/<smam> based on init string, merged this with c101 -- esr)
  9619. cit101|citc|C.itoh fast vt100, 
  9620.     OTbs, am, xenl, 
  9621.     cols#80, lines#24, 
  9622.     bel=^G, clear=\E[H\E[2J, cnorm=\E[V\E8, cub1=^H, cuf1=\E[C, 
  9623.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E7\E[U, 
  9624.     dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, 
  9625.     flash=\E[?5h$<200/>\E[?5l, ich1=\E[@, il1=\E[L, 
  9626.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[3g\E[>5g, 
  9627.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  9628.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  9629.     sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
  9630.     smul=\E[4m, 
  9631. # CIE Terminals CIT-101e from Geoff Kuenning <callan!geoff> via BRL
  9632. # The following termcap entry was created from the Callan cd100 entry.  The
  9633. # last two lines (with the capabilities in caps) are used by RM-cobol to allow
  9634. # full selection of combinations of reverse video, underline, and blink.
  9635. # (cit101e: removed unknown :f0=\EOp:f1=\EOq:f2=\EOr:f3=\EOs:f4=\EOt:f5=\EOu:\
  9636. # f6=\EOv:f7=\EOw:f8=\EOx:f9=\EOy:AB=\E[0;5m:AL=\E[m:AR=\E[0;7m:AS=\E[0;5;7m:\
  9637. # :NB=\E[0;1;5m:NM=\E[0;1m:NR=\E[0;1;7m:NS=\E[0;1;5;7m: -- esr)
  9638. cit101e|C. Itoh CIT-101e, 
  9639.     OTbs, OTpt, am, mir, msgr, 
  9640.     cols#80, it#8, lines#24, 
  9641.     acsc=, clear=\E[H\E[J, cnorm=, csr=\E[%i%p1%2d;%p2%2dr, 
  9642.     cud1=\E[B, cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, 
  9643.     cvvis=\E[?1l\E[?4l\E[?7h, dch1=\E[P, dl1=\E[M, ed=\E[J, 
  9644.     el=\E[K, if=/usr/share/tabset/vt100, il1=\E[L, 
  9645.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOT, 
  9646.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOm, kf6=\EOl, 
  9647.     kf7=\EOM, kf8=\EOn, rc=\E8, ri=\EM, rmacs=^O, rmir=\E[4l, 
  9648.     rmkx=\E>, rmso=\E[m, rmul=\E[m, sc=\E7, smacs=^N, smir=\E[4h, 
  9649.     smkx=\E=, smso=\E[7m, smul=\E[4m, 
  9650. # From: David S. Lawyer, June 1997:
  9651. # The CIT 101-e was made in Japan in 1983-4 and imported by CIE
  9652. # Terminals in Irvine, CA.  It was part of CITOH Electronics.  In the
  9653. # late 1980's CIT Terminals went out of business.
  9654. # There is no need to use the initialization string is=... (by invoking
  9655. # tset or setterm etc.) provided that the terminal has been manually set
  9656. # up (and the setup saved with ^S) to be compatible with this termcap.  To be
  9657. # compatible it should be in ANSI mode (not VT52).   A set-up that
  9658. # works is to set all the manually setable stuff to factory defaults
  9659. # by pressing ^D in set-up mode.  Then increse the brighness with the
  9660. # up-arrow key since the factory default will likely be dim on an old
  9661. # terminal.  Then change any options you want (provided that they are
  9662. # compatible with the termcap).  For my terminal I set: Screen
  9663. # Background: light; Keyclicks: silent; Auto wraparound: on; CRT saver:
  9664. # on.  I also set up mine for parity (but you may not need it).  Then 
  9665. # save the setup with ^S.
  9666. # (cit101e-rv: added empty <rmcup> to suppress a tic warning. --esr)
  9667. cit101e-rv|Citoh CIT-101e (sets reverse video), 
  9668.     am, eo, mir, msgr, xenl, xon, 
  9669.     cols#80, it#8, lines#24, 
  9670.     OTnl=\EM, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  9671.     civis=\E[1v, clear=\E[H\E[J, cnorm=\E[0;3;4v, cr=^M, 
  9672.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  9673.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  9674.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  9675.     cvvis=\E[3;5v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  9676.     dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l\E[?5h$<200/>, 
  9677.     home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  9678.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, 
  9679.     is2=\E<\E>\E[?1l\E[?3l\E[?4l\E[?5h\E[?7h\E[?8h\E[3g\E[>5g\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
  9680.     kbs=\177, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  9681.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, nel=\EE, rc=\E8, 
  9682.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=, rmir=\E[4l, 
  9683.     rmso=\E[m, rmul=\E[m, rs1=\Ec\E[?7h\E[>5g, sc=\E7, 
  9684.     sgr0=\E[m, smcup=\E[>5g\E[?7h\E[?5h, smir=\E[4h, 
  9685.     smso=\E[7m, smul=\E[4m, tbc=\E[3g, u6=\E[%i%p1%d;%p2%dR, 
  9686.     u7=\E[6n, u8=\E[?6c, u9=\E[c, 
  9687. cit101e-n|CIT-101e w/o am, 
  9688.     am@, 
  9689.     cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, 
  9690.     use=cit101e, 
  9691. cit101e-132|CIT-101e with 132 cols, 
  9692.     cols#132, 
  9693.     kbs=^H, kcub1=^H, kcud1=^J, use=cit101e, 
  9694. cit101e-n132|CIT-101e with 132 cols w/o am, 
  9695.     am@, 
  9696.     cols#132, 
  9697.     cvvis=\E[?1l\E[?4l\E[?7l, kbs=^H, kcub1=^H, kcud1=^J, 
  9698.     use=cit101e, 
  9699. # CIE Terminals CIT-500 from BRL
  9700. # The following SET-UP modes are assumed for normal operation:
  9701. #    GENERATE_XON/XOFF:YES    DUPLEX:FULL        NEWLINE:OFF
  9702. #    AUTOWRAP:ON        MODE:ANSI        SCREEN_LENGTH:64_LINES
  9703. #    DSPLY_CNTRL_CODES?NO    PAGE_WIDTH:80        EDIT_MODE:OFF
  9704. # Other SET-UP modes may be set for operator convenience or communication
  9705. # requirements.
  9706. # Hardware tabs are assumed to be set every 8 columns; they can be set up
  9707. # by the "reset", "tset", or "tabs" utilities.  No delays are specified; use
  9708. # "stty ixon -ixany" to enable DC3/DC1 flow control!
  9709. # (cit500: I added <rmam>/<smam> based on the init string -- esr)
  9710. cit500|CIE Terminals CIT-500, 
  9711.     OTbs, OTpt, mir, msgr, xon, 
  9712.     OTkn#10, cols#80, it#8, lines#64, vt#3, 
  9713.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  9714.     clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  9715.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  9716.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  9717.     cuu=\E[%p1%dA, cuu1=\EM, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  9718.     ed=\EJ, el=\EK, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, 
  9719.     il1=\E[L, ind=^J, is2=\E<\E)0, kbs=^H, kcbt=\E[Z, kcub1=\EOD, 
  9720.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kdch1=\E[P, kdl1=\E[M, 
  9721.     ked=\EJ, kel=\EK, kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
  9722.     kf4=\EOU, kf5=\EOV, kf6=\EOW, kf7=\EOX, kf8=\EOY, kf9=\EOZ, 
  9723.     khome=\E[H, kich1=\E[4h, kil1=\E[L, krmir=\E[4l, lf0=PF1, 
  9724.     lf1=PF2, lf2=PF3, lf3=PF4, lf4=F15, lf5=F16, lf6=F17, lf7=F18, 
  9725.     lf8=F19, lf9=F20, ll=\E[64H, nel=\EE, rc=\E8, rev=\E[7m, 
  9726.     ri=\EM, rmacs=^O, rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, 
  9727.     rmso=\E[m, rmul=\E[m, 
  9728.     rs1=\E<\E2\E[20l\E[?6l\E[r\E[m\E[q\E(B\017\E)0\E>, 
  9729.     sc=\E7, sgr0=\E[m, smacs=^N, smam=\E[?7h, smir=\E[4h, 
  9730.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  9731.  
  9732. # C. Itoh printers begin here
  9733. citoh|ci8510|8510|c.itoh 8510a, 
  9734.     cols#80, it#8, 
  9735.     bold=\E!, cub1@, 
  9736.     is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073., 
  9737.     rep=\ER%p2%03d%p1%c, ri=\Er, rmul=\EY, sgr0=\E"\EY, 
  9738.     smul=\EX, use=lpr, 
  9739. citoh-pica|citoh in pica, 
  9740.     is1=\EN, use=citoh, 
  9741. citoh-elite|citoh in elite, 
  9742.     cols#96, 
  9743.     is1=\EE, 
  9744.     is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089., 
  9745.     use=citoh, 
  9746. citoh-comp|citoh in compressed, 
  9747.     cols#136, 
  9748.     is1=\EQ, 
  9749.     is2=\E(009\,017\,025\,033\,041\,049\,057\,065\,073\,081\,089\,097\,105\,113\,121\,129., 
  9750.     use=citoh, 
  9751. # citoh has infinite cols because we don't want lp ever inserting \n\t**.
  9752. citoh-prop|citoh-ps|ips|citoh in proportional spacing mode, 
  9753.     cols#32767, 
  9754.     is1=\EP, use=citoh, 
  9755. citoh-6lpi|citoh in 6 lines per inch mode, 
  9756.     is3=\EA, use=citoh, 
  9757. citoh-8lpi|citoh in 8 lines per inch mode, 
  9758.     lines#88, 
  9759.     is3=\EB, use=citoh, 
  9760.  
  9761. #### Control Data (cdc)
  9762. #
  9763.  
  9764. cdc456|cdc 456 terminal, 
  9765.     OTbs, am, 
  9766.     cols#80, lines#24, 
  9767.     bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  9768.     cup=\E1%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dl1=\EJ, ed=^X, 
  9769.     el=^V, home=^Y, il1=\EL, ind=^J, 
  9770.  
  9771. # Assorted CDC terminals from BRL (improvements by DAG & Ferd Brundick)
  9772. cdc721|CDC Viking, 
  9773.     OTbs, am, 
  9774.     cols#80, lines#24, 
  9775.     clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
  9776.     cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
  9777.     kcuu1=^W, khome=^Y, 
  9778. cdc721ll|CDC Vikingll, 
  9779.     OTbs, am, 
  9780.     cols#132, lines#24, 
  9781.     clear=^L, cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, 
  9782.     cuu1=^W, el=^K, home=^Y, kcub1=^H, kcud1=^J, kcuf1=^I, 
  9783.     kcuu1=^W, khome=^Y, 
  9784. # (cdc752: the BRL entry had :ll=\E1  ^Z: commented out
  9785. cdc752|CDC 752, 
  9786.     OTbs, am, bw, xhp, 
  9787.     cols#80, lines#24, 
  9788.     bel=^G, clear=\030\E1\s\s, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  9789.     cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, el=^V, 
  9790.     home=\E1\s\s, ind=^J, ll=^Y, rs1=\E1  \030\002\003\017, 
  9791. # CDC 756
  9792. # The following switch/key settings are assumed for normal operation:
  9793. #    96 chars    SCROLL        FULL duplex    not BLOCK
  9794. # Other switches may be set according to communication requirements.
  9795. # Insert/delete-character cannot be used, as the whole display is affected.
  9796. # "so" & "se" are commented out until jove handles "sg" correctly.
  9797. cdc756|CDC 756, 
  9798.     OTbs, am, bw, 
  9799.     OTkn#10, cols#80, lines#24, 
  9800.     bel=^G, clear=^Y^X, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  9801.     cup=\E1%p2%{32}%+%c%p1%{32}%+%c, cuu1=^Z, 
  9802.     dl1=\EJ$<6*/>, ed=^X, el=^V, home=^Y, il1=\EL$<6*/>, ind=^J, 
  9803.     kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, kdch1=\EI, 
  9804.     kdl1=\EL, ked=^X, kel=^V, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, 
  9805.     kf4=\EE, kf5=\EF, kf6=\EG, kf7=\EH, kf8=\Ea, kf9=\Eb, khome=^Y, 
  9806.     khts=^O, kich1=\EK, kil1=\EL, lf0=F1, lf1=F2, lf2=F3, lf3=F4, 
  9807.     lf4=F5, lf5=F6, lf6=F7, lf7=F8, lf8=F9, lf9=F10, ll=^Y^Z, 
  9808.     rs1=\031\030\002\003\017, 
  9809. #
  9810. # CDC 721 from Robert Viduya, Ga. Tech. <ihnp4!gatech!gitpyr!robert> via BRL.
  9811. #
  9812. # Part of the long initialization string defines the "DOWN" key to the left
  9813. # of the tab key to send an ESC.  The real ESC key is positioned way out 
  9814. # in right field.
  9815. #
  9816. # The termcap won't work in 132 column mode due to the way it it moves the
  9817. # cursor.  Termcap doesn't have the capability (as far as I could tell) to
  9818. # handle the 721 in 132 column mode.
  9819. #
  9820. # (cdc721: changed :ri: to :sr: -- esr)
  9821. cdc721-esc|Control Data 721, 
  9822.     OTbs, OTpt, am, bw, msgr, xon, 
  9823.     OTkn#10, cols#80, it#8, lines#30, 
  9824.     bel=^G, blink=^N, cbt=^^^K, clear=^L, cub1=^H, cud1=^Z, 
  9825.     cuf1=^X, cup=\002%p2%{32}%+%c%p1%{32}%+%c, cuu1=^W, 
  9826.     dch1=^^N, dim=^\, dl1=^^Q, ed=^^P, el=^K, home=^Y, hts=^^^RW, 
  9827.     ich1=^^O, il1=^^R, ind=\036W =\036U, invis=^^^R[, 
  9828.     is2=\036\022B\003\036\035\017\022\025\035\036E\036\022H\036\022J\036\022L\036\022N\036\022P\036\022Q\036\022\036\022\^\036\022b\036\022i\036W =\036\022Z\036\011C1-` `!k/o, 
  9829.     kbs=^H, kcub1=^H, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^q, 
  9830.     kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, kf6=^^w, kf7=^^x, 
  9831.     kf8=^^y, kf9=^^z, khome=^Y, ll=^B =, rev=^^D, 
  9832.     ri=\036W =\036V, rmir=, rmkx=^^^Rl, rmso=^^E, rmul=^], 
  9833.     sgr0=\017\025\035\036E\036\022\\, smir=, smkx=^^^Rk, 
  9834.     smso=^^D, smul=^\, tbc=^^^RY, 
  9835.  
  9836. #### Getronics
  9837. #
  9838. # Getronics is a Dutch electronics company that at one time was called 
  9839. # `Geveke' and made async terminals; but (according to the company itself!)
  9840. # they've lost all their documentation on the command set.  The hardware
  9841. # documentation suggests the terminals were actually manufactured by a
  9842. # Taiwanese electronics company named Cal-Comp.  There are known
  9843. # to have been at least two models, the 33 and the 50.
  9844. #
  9845.  
  9846. # The 50 seems to be a top end vt220 clone, with the addition of a higher
  9847. # screen resolution, a larger screen, at least 1 page of memory above and
  9848. # below the screen, apparently pages of memory right and left of the screen
  9849. # which can be panned, and about 75 function keys (15 function keys x normal,
  9850. # shift, control, func A, func B). It also has more setup possibilities than
  9851. # the vt220. The monitor case is dated November 1978 and the keyboard case is
  9852. # May 1982.
  9853. #
  9854. # The vt100 emulation works as is.  The entry below describes the rather
  9855. # non-conformant (but more featureful) ANSI mode.
  9856. #
  9857. # From: Stephen Peterson <stv@utrecht.ow.nl>, 27 May 1995
  9858. visa50|geveke visa 50 terminal in ansi 80 character mode, 
  9859.     bw, mir, msgr, 
  9860.     cols#80, lines#25, 
  9861.     acsc=0_aaffggh jjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
  9862.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, 
  9863.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  9864.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  9865.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  9866.     dch=\E[%p1%dX, dch1=\E[X, dim=\E[2m, dl=\E[%p1%dM, 
  9867.     dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5h\E[?5l, home=\E[H, 
  9868.     hpa=\E[%i%p1%dG, ht=^I, ich=\E[%p1%d@, ich1=\E[@, 
  9869.     il=\E[%p1%dL, il1=\E[L, ind=^J, invis=\E[8m, 
  9870.     is2=\E0;2m\E[1;25r\E[25;1H\E[?3l\E[?7h\E[?8h, 
  9871.     ka1=\E[f, ka3=\EOQ, kb2=\EOP, kbs=^H, kc1=\EOR, kc3=\EOS, 
  9872.     kcub1=\E[D, kcud1=\E[A, kcuf1=\E[C, kcuu1=\E[A, kdch1=\177, 
  9873.     kdl1=\EOS, kf0=\E010, kf1=\E001, kf10=\E011, kf2=\E002, 
  9874.     kf3=\E003, kf4=\E004, kf5=\E005, kf6=\E006, kf7=\E007, 
  9875.     kf8=\E008, kf9=\E009, khome=\E[f, lf2=A delete char, 
  9876.     lf3=A insert line, lf4=A delete line, lf5=A clear, 
  9877.     lf6=A ce of/cf gn, lf7=A print, lf8=A on-line, 
  9878.     lf9=A funcl0=A send, nel=^M^J, rev=\E[7m, rmacs=\E[3l, 
  9879.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E>, rmso=\E[0;2m, 
  9880.     rmul=\E[0m, sgr0=\E[0;2m, smacs=\E3h, smam=\E?7h, 
  9881.     smir=\E[4h, smkx=\E=, smso=\E[2;7m, smul=\E[4m, tbc=\E[3g, 
  9882.     vpa=\E[%i%p1%dd, 
  9883.  
  9884. #### Human Designed Systems (Concept)
  9885. #
  9886. #    Human Designed Systems
  9887. #    400 Fehley Drive
  9888. #    King of Prussia, PA 19406
  9889. #    Vox: (610)-277-8300
  9890. #    Fax: (610)-275-5739
  9891. #    Net: support@hds.com
  9892. # John Martin <john@hds.com> is their termcap expert.  They're mostly out of
  9893. # the character-terminal business now (1995) and making X terminals.  In
  9894. # particular, the whole `Concept' line described here was discontinued long
  9895. # ago.
  9896. #
  9897.  
  9898. # From: <vax135!hpk>  Sat Jun 27 07:41:20 1981
  9899. # Extensive changes to c108 by arpavax:eric Feb 1982
  9900. # Some unknown person at SCO then translated it to terminfo.
  9901. #
  9902. # There seem to be a number of different versions of the C108 PROMS
  9903. # (with bug fixes in its Z-80 program).
  9904. # The first one that we had would lock out the keyboard of you
  9905. # sent lots of short lines (like /usr/dict/words) at 9600 baud.
  9906. # Try that on your C108 and see if it sends a ^S when you type it.
  9907. # If so, you have an old version of the PROMs.
  9908. # You should configure the C108 to send ^S/^Q before running this.
  9909. # It is much faster (at 9600 baud) than the c100 because the delays
  9910. # are not fixed.
  9911. # new status line display entries for c108-8p:
  9912. # <is3> - init str #3 - setup term for status display - 
  9913. # set programmer mode, select window 2, define window at last 
  9914. # line of memory, set bkgnd stat mesg there, select window 0.
  9915. # <tsl> - to status line - select window 2, home cursor, erase to 
  9916. # end-of-window, 1/2 bright on, goto(line#0, col#?)
  9917. # <fsl> - from status line - 1/2 bright off, select window 0
  9918. # <dsl> - disable status display - set bkgnd status mesg with 
  9919. # illegal window #
  9920. # There are probably more function keys that should be added but 
  9921. # I don't know what they are.
  9922. #
  9923. # No delays needed on c108 because of ^S/^Q handshaking
  9924. #
  9925. c108|concept108|c108-8p|concept108-8p|concept 108 w/8 pages, 
  9926.     is3=\EU\E z"\Ev\001\177 !p\E ;"\E z \Ev  \001\177p\Ep\n, 
  9927.     rmcup=\Ev  \001\177p\Ep\r\n, use=c108-4p, 
  9928. c108-4p|concept108-4p|concept 108 w/4 pages, 
  9929.     OTbs, eslok, hs, xon, 
  9930.     pb@, 
  9931.     acsc=jEkTl\\mMqLxU, cnorm=\Ew, cr=^M, 
  9932.     cup=\Ea%p1%?%p1%{95}%>%t\001%{96}%-%;%{32}%+%c%p2%?%p2%{95}%>%t\001%{96}%-%;%{32}%+%c, 
  9933.     cvvis=\EW, dch1=\E 1$<16*>, dsl=\E ;\177, fsl=\Ee\E z\s, 
  9934.     ind=^J, is1=\EK\E!\E F, 
  9935.     is3=\EU\E z"\Ev\177 !p\E ;"\E z \Ev  \001 p\Ep\n, 
  9936.     rmacs=\Ej\s, rmcup=\Ev  \001 p\Ep\r\n, smacs=\Ej!, 
  9937.     smcup=\EU\Ev  8p\Ep\r\E\025, 
  9938.     tsl=\E z"\E?\E\005\EE\Ea %+\s, use=c100, 
  9939. c108-rv|c108-rv-8p|concept 108 w/8 pages in reverse video, 
  9940.     rmcup=\Ev  \002 p\Ep\r\n, smcup=\EU\Ev  8p\Ep\r, 
  9941.     use=c108-rv-4p, 
  9942. c108-rv-4p|concept108rv4p|concept 108 w/4 pages in reverse video, 
  9943.     flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, smso=\EE, 
  9944.     use=c108-4p, 
  9945. c108-w|c108-w-8p|concept108-w-8|concept108-w8p|concept 108 w/8 pages in wide mode, 
  9946.     cols#132, 
  9947.     is1=\E F\E", rmcup=\Ev  ^A0\001D\Ep\r\n, 
  9948.     smcup=\EU\Ev  8\001D\Ep\r, use=c108-8p, 
  9949.  
  9950. # Concept 100:
  9951. # These have only window relative cursor addressing, not screen 
  9952. # relative. To get it to work right here, smcup/rmcup (which 
  9953. # were invented for the concept) lock you into a one page 
  9954. # window for screen style programs.
  9955. # To get out of the one page window, we use a clever trick:
  9956. # we set the window size to zero ("\Ev    " in rmcup) which the 
  9957. # terminal recognizes as an error and resets the window to all 
  9958. # of memory.
  9959. # This trick works on c100 but does not on c108, sigh.
  9960. # Some tty drivers use cr3 for concept, others use nl3, hence 
  9961. # the delays on cr and ind below. This padding is only needed at 
  9962. # 9600 baud and up.  One or the other is commented out depending on 
  9963. # local conventions.
  9964. # 2 ms padding on <rmcup> isn't always enough. 6 works fine. Maybe 
  9965. # less than 6 but more than 2 will work.
  9966. # Note: can't use function keys f7-f10 because they are 
  9967. # indistinguishable from arrow keys (!), also, del char and 
  9968. # clear eol use xon/xoff so they probably won't work very well.
  9969. # Also note that we don't define insrt/del char/delline/eop/send 
  9970. # because they don't transmit unless we reset them - I figured 
  9971. # it was a bad idea to clobber their definitions.
  9972. # The <mc5> sequence changes the escape character to ^^ so that 
  9973. # escapes will be passed through to the printer. Only trouble 
  9974. # is that ^^ won't be - ^^ was chosen to be unlikely. 
  9975. # Unfortunately, if you're sending raster bits through to be 
  9976. # plotted, any character you choose will be likely, so we lose.
  9977. #
  9978. # \EQ"\EY(^W (send anything from printer to host, for xon/xoff) 
  9979. # cannot be # in is2 because it will hang a c100 with no printer 
  9980. # if sent twice.
  9981. c100|concept100|concept|c104|c100-4p|hds concept 100, 
  9982.     OTbs, am, eo, mir, ul, xenl, 
  9983.     cols#80, lines#24, pb#9600, vt#8, 
  9984.     bel=^G, blink=\EC, clear=\E?\E\005$<2*>, cr=$<9>\r, 
  9985.     cub1=^H, cud1=^J, cuf1=\E=, 
  9986.     cup=\Ea%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E;, 
  9987.     dch1=\E\021$<16*>, dim=\EE, dl1=\E\002$<3*>, 
  9988.     ed=\E\005$<16*>, el=\E\025$<16>, flash=\Ek$<200>\EK, 
  9989.     ht=\011$<8>, il1=\E\022$<3*>, ind=^J, invis=\EH, ip=$<16*>, 
  9990.     is1=\EK, 
  9991.     is2=\EU\Ef\E7\E5\E8\El\ENH\E\0\Eo&\0\Eo'\E\Eo!\0\E\007!\E\010A@ \E4#\:"\E\:a\E4#;"\E\:b\E4#<"\E\:c, 
  9992.     is3=\Ev    $<6>\Ep\n, kbs=^H, kcbt=\E', kctab=\E_, 
  9993.     kcub1=\E>, kcud1=\E<, kcuf1=\E=, kcuu1=\E;, kdch1=\E^Q, 
  9994.     kdl1=\E^B, ked=\E^C, kel=\E^S, kf1=\E5, kf2=\E6, kf3=\E7, 
  9995.     kf4=\E8, kf5=\E9, kf6=\E\:a, kf7=\E\:b, kf8=\E\:c, khome=\E?, 
  9996.     khts=\E], kich1=\E^P, kil1=\E^R, kind=\E[, knp=\E-, kpp=\E., 
  9997.     kri=\E\\, krmir=\E\0, mc4=\036o \E\EQ!\EYP\027, 
  9998.     mc5=\EQ"\EY(\027\EYD\Eo \036, prot=\EI, 
  9999.     rep=\Er%p1%c%p2%{32}%+%c$<.2*>, rev=\ED, 
  10000.     rmcup=\Ev    $<6>\Ep\r\n, rmir=\E\s\s, rmkx=\Ex, 
  10001.     rmso=\Ed, rmul=\Eg, sgr0=\EN@, 
  10002.     smcup=\EU\Ev  8p\Ep\r\E\025$<16>, smir=\E^P, smkx=\EX, 
  10003.     smso=\ED, smul=\EG, 
  10004. c100-rv|c100-rv-4p|concept100-rv|c100 rev video, 
  10005.     cnorm@, cvvis@, flash=\EK$<200>\Ek, is1=\Ek, rmso=\Ee, 
  10006.     smso=\EE, use=c100, 
  10007. oc100|oconcept|c100-1p|old 1 page concept 100, 
  10008.     in, 
  10009.     is3@, use=c100, 
  10010.  
  10011. # From: Walter Skorski <walt@genetics1.JMP.TJU.EDU>, 16-oct-1996.
  10012. # Lots of notes, originally inline, but ncurses doesn't grok that.
  10013. #
  10014. # am:     not available in power on mode, but turned on with \E[=107;207h in
  10015. #    is2=.  Also, \E=124l in is2= could have been used to prevent needing
  10016. #    to specify xenl:, but that would have rendered the last space on the
  10017. #    last line useless.
  10018. # bw:    Not available in power on mode, but turned on with \E[=107;207h in
  10019. #    is2=.
  10020. # clear: Could be done with \E[2J alone, except that vi (and probably most
  10021. #    other programs) assume that this also homes the cursor.
  10022. # dsl:    Go to window 2, go to the beginning of the line, use a line feed to
  10023. #    scroll the window, and go back to window 1.
  10024. # is2:    the string may cause a warning to be issued by tic that it
  10025. #    found a very long line and that it suspects that a comma is missing
  10026. #    somewhere.  This warning can be ignored (unless it comes up more than
  10027. #    once).  The initialization string contains the following commands:
  10028. #
  10029. #     [Setup mode items changed from factory defaults:]
  10030. #        \E)0            set alternate character set to
  10031. #                        graphics
  10032. #        ^O            set character set to default
  10033. #     [In case it wasn't]
  10034. #        \E[m            turn off all attributes
  10035. #     [In case they weren't off]
  10036. #        \E[=107;        cursor wrap and
  10037. #            207h            character wrap on
  10038. #        \E[90;3u        set Fkey definitions to "transmit"
  10039. #                        defaults
  10040. #        \E[92;3u        set cursor key definitions to
  10041. #                        "transmit" defaults
  10042. #        \E[43;1u        set shift F13 to transmit...
  10043. #        \177\E$P\177
  10044. #        \E[44;1u        set shift F14 to transmit...
  10045. #            \177\E$Q\177
  10046. #        \E[45;1u        set shift F15 to transmit...
  10047. #            \177\E$R\177
  10048. #        \E[46;1u        set shift F16 to transmit...
  10049. #            \177\E$S\177
  10050. #        \E[200;1u        set shift up to transmit...
  10051. #            \177\E$A\177
  10052. #        \E[201;1u        set shift down to transmit...
  10053. #            \177\E$B\177
  10054. #        \E[202;1u        set shift right to transmit...
  10055. #            \177\E$C\177
  10056. #        \E[203;1u        set shift left to transmit...
  10057. #            \177\E$D\177
  10058. #        \E[204;1u        set shift home to transmit...
  10059. #            \177\E$H\177
  10060. #        \E[212;1u        set backtab to transmit...
  10061. #            \177\E$I\177
  10062. #        \E[213;1u        set shift backspace to transmit...
  10063. #            \177\E$^H\177
  10064. #        \E[214;1u        set shift del to transmit...
  10065. #            "\E$\177"
  10066. #     [Necessary items not mentioned in setup mode:]
  10067. #        \E[2!w            move to window 2
  10068. #        \E[25;25w        define window as line 25 of memory
  10069. #        \E[!w            move to window 1
  10070. #        \E[2*w            show current line of window 2 as
  10071. #                        status line
  10072. #        \E[2+x            set meta key to use high bit
  10073. #        \E[;3+}            move underline to bottom of character
  10074. #
  10075. #    All Fkeys are set to their default transmit definitions with \E[90;3u
  10076. #    in is2=.  IMPORTANT:  to use this terminal definition, the "quit" stty
  10077. #    setting MUST be redefined or deactivated, because the default is
  10078. #    contained in almost all of this terminal's Fkey strings!  If for some
  10079. #    reason "quit" cannot be altered, the Fkeys can, but it would be
  10080. #    necessary to change ^| to ^] in all of these definitions, and add
  10081. #    \E[2;029!t to is2.
  10082. # lines: is set to 24 because this terminal refuses to treat the 25th
  10083. #    line normally.
  10084. # ll:    Not available in power on mode, but turned on with \E[=107;207h in
  10085. #    is2=.
  10086. # lm:    Pointless, given that this definition locks a single screen of
  10087. #    memory into view, but what the hey...
  10088. # rmso: Could use \E[1;7!{ to turn off only bold and reverse (leaving any
  10089. #    other attributes alone), but some programs expect this to turn off
  10090. #    everything.
  10091. # rmul: Could use \E[4!{ to turn off only underline (leaving any other
  10092. #    attributes alone), but some programs expect this to turn off
  10093. #    everything.
  10094. # sgr:    Attributes are set on this terminal with the string \E[ followed by
  10095. #    a list of attribute code numbers (in decimal, separated by
  10096. #    semicolons), followed by the character m.  The attribute code
  10097. #    numbers are:
  10098. #          1 for bold;
  10099. #          2 for dim (which is ignored in power on mode);
  10100. #          4 for underline;
  10101. #          5 for blinking;
  10102. #          7 for inverse;
  10103. #          8 for not displayable; and
  10104. #        =99 for protected (except that there are strange side
  10105. #        effects to protected characters which make them inadvisable).
  10106. #     The mapping of terminfo parameters to attributes is as follows:
  10107. #        %p1 (standout) = bold and inverse together;
  10108. #        %p2 (underline) = underline;
  10109. #        %p3 (reverse) = inverse;
  10110. #        %p4 (blink) = blinking;
  10111. #        %p5 (dim) is ignored;
  10112. #        %p6 (bold) = bold;
  10113. #        %p7 (invisible) = not displayable;
  10114. #        %p8 (protected) is ignored; and
  10115. #        %p9 (alt char set) = alt char set.
  10116. #     The code to do this is:
  10117. #        \E[0        OUTPUT    \E[0
  10118. #        %?%p1%p6%O    IF    (standout; bold) OR
  10119. #        %t;1        THEN    OUTPUT    ;1
  10120. #        %;        ENDIF
  10121. #        %?%p2        IF    underline
  10122. #        %t;4        THEN    OUTPUT    ;4
  10123. #        %;        ENDIF
  10124. #        %?%p4        IF    blink
  10125. #        %t;5        THEN    OUTPUT    ;5
  10126. #        %;        ENDIF
  10127. #        %?%p1%p3%O    IF    (standout; reverse) OR
  10128. #        %t;7        THEN    OUTPUT    ;7
  10129. #        %;        ENDIF
  10130. #        %?%p7        IF    invisible
  10131. #        %t;8        THEN    OUTPUT    ;8
  10132. #        %;        ENDIF
  10133. #        m        OUTPUT    m
  10134. #        %?%p9        IF    altcharset
  10135. #        %t^N        THEN    OUTPUT    ^N
  10136. #        %e^O        ELSE    OUTPUT    ^O
  10137. #        %;        ENDIF
  10138. # sgr0: Everything is turned off (including alternate character set), since
  10139. #    there is no way of knowing what it is that the program wants turned
  10140. #    off.
  10141. # smul: The "underline" attribute is reconfigurable to an overline or
  10142. #    strikethru, or (as done with \E[;3+} in is2=), to a line at the true
  10143. #    bottom of the character cell.  This was done to allow for more readable
  10144. #    underlined characters, and to be able to distinguish between an
  10145. #    underlined space, an underscore, and an underlined underscore.
  10146. # xenl: Terminal can be configured to not need this, but this "glitch"
  10147. #    behavior is actually preferable with autowrap terminals.
  10148. #
  10149. # Parameters kf31= thru kf53= actually contain the strings sent by the shifted
  10150. # Fkeys.  There are no parameters for shifted Fkeys in terminfo.  The is2
  10151. # string modifies the 'O' in kf43 to kf46 to a '$'.
  10152. #
  10153. # kcbt was originally ^I but redefined in is2=.
  10154. # kHOM was \E[H originally but redefined in is2=, as were a number of
  10155. # other keys.
  10156. # kDC was originally \177 but redefined in is2=.
  10157. #
  10158. # kbs:    Shift was also ^H originally but redefined as \E$^H in is2=.
  10159. # tsl:    Go to window 2, then do an hpa=.
  10160. #
  10161. #------- flash=\E[8;3!}^G\E[3;3!}
  10162. #------- flash=\E[?5h$<100>\E[?5l
  10163. # There are two ways to flash the screen, both of which have their drawbacks. 
  10164. # The first is to set the bell mode to video, transmit a bell character, and
  10165. # set the bell mode back - but to what?  There is no way of knowing what the
  10166. # user's old bell setting was before we messed with it.  Worse, the command to
  10167. # set the bell mode also sets the key click volume, and there is no way to say
  10168. # "leave that alone", or to know what it's set to, either.
  10169. # The second way to do a flash is to set the screen to inverse video, pad for a
  10170. # tenth of a second, and set it back - but like before, there's no way to know
  10171. # that the screen wasn't ALREADY in inverse video, or that the user may prefer
  10172. # it that way.  The point is moot anyway, since vi (and probably other
  10173. # programs) assume that by defining flash=, you want the computer to use it
  10174. # INSTEAD of bel=, rather than as a secondary type of signal.
  10175. #
  10176. #------- cvvis=\E[+{
  10177. # The is the power on setting, which is also as visible as the cursor
  10178. # gets.
  10179. #-------  wind=\E[%i%p1%d;%p2%d;%p3%{1}%+%d;%p4%{1}%+%dw
  10180. # Windowing is possible, but not defined here because it is also used to
  10181. # emulate status line functions.  Allowing a program to set a window could
  10182. # clobber the status line or render it unusable.  There is additional memory,
  10183. # but screen scroll functions are destructive and do not make use of it.
  10184. #
  10185. #-------   dim=            Not available in power on mode.
  10186. # You have a choice of defining low intensity characters as "half bright" and
  10187. # high intensity as "normal", or defining low as "normal" and high as "bold". 
  10188. # No matter which you choose, only one of either "half bright" or "bold" is
  10189. # available at any time, so taking the time to override the default is
  10190. # pointless.
  10191. #
  10192. #-------  prot=\E[=0;99m
  10193. # Not defined, because it appears to have some strange side effects.
  10194. #------- pfkey=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
  10195. #------- pfloc=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%du\177%p2%s\177%;
  10196. #-------   pfx=%?%p1%{24}%<%p1%{30}%>%p1%{54}%<%A%O%t\E[%p1%d;1u\177%p2%s\177%;
  10197. #     Available, but making them available to programs is inadvisable.
  10198. #     The code to do this is:
  10199. #        %?%p1%{24}%<    IF    ((key; 24) <;
  10200. #        %p1%{30}%>         ((key; 30) >;
  10201. #        %p1%{54}%<          (key; 54) <
  10202. #        %A             ) AND
  10203. #        %O              ) OR
  10204. #     [that is, "IF key < 24 OR (key > 30 AND key < 54)",]
  10205. #        %t\E[        THEN    OUTPUT    \E[
  10206. #        %p1%d            OUTPUT    (key) as decimal
  10207. #     [next line applies to pfx only]
  10208. #        ;1            OUTPUT    ;1
  10209. #        u            OUTPUT    u
  10210. #        \177            OUTPUT    \177
  10211. #        %p2%s            OUTPUT    (string) as string
  10212. #        \177            OUTPUT    \177
  10213. #     [DEL chosen as delimiter, but could be any character]
  10214. #     [implied:        ELSE    do nothing]
  10215. #        %;        ENDIF
  10216. #    
  10217. #-------   rs2=
  10218. # Not defined since anything it might do could be done faster and easier with
  10219. # either Meta-Shift-Reset or the main power switch.
  10220. #
  10221. #-------  smkx=\E[1!z
  10222. #-------  rmkx=\E[!z
  10223. # These sequences apply to the cursor and setup keys only, not to the
  10224. # numeric keypad.  But it doesn't matter anyway, since making these
  10225. # available to programs is inadvisable.
  10226. # For the key definitions below, all sequences beginning with \E$ are
  10227. # custom and programmed into the terminal via is2.  \E$ also has no
  10228. # meaning to any other terminal.
  10229. #
  10230. #------- cmdch=\E[;%p1%d!t
  10231. # Available, but making it available to programs is inadvisable.
  10232. #------- smxon=\E[1*q
  10233. # Available, but making it available to programs is inadvisable.
  10234. # Terminal will send XON/XOFF on buffer overflow.
  10235. #------- rmxon=\E[*q
  10236. # Available, but making it available to programs is inadvisable.
  10237. # Terminal will not notify on buffer overflow.
  10238. #-------   smm=\E[2+x
  10239. #-------   rmm=\E[+x
  10240. # Available, but making them available to programs is inadvisable.
  10241. #
  10242. # Printing:
  10243. #     It's not made clear in the manuals, but based on other ansi/vt type
  10244. #     terminals, it's a good guess that this terminal is capable of both
  10245. #     "transparent print" (which doesn't copy data to the screen, and
  10246. #     therefore needs mc5i: specified to say so) and "auxilliary print"
  10247. #     (which does duplicate printed data on the screen, in which case mc4=
  10248. #     and mc5= should use the \E[?4i and \E[?5i strings instead).
  10249.  
  10250. hds200|Human Designed Systems HDS200, 
  10251.     am, bw, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
  10252.     cols#80, it#8, lines#24, lm#0, 
  10253.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  10254.     blink=\E[0;5m, bold=\E[0;1m, cbt=\E[Z, civis=\E[6+{, 
  10255.     clear=\E[H\E[J, cnorm=\E[+{, cr=^M, 
  10256.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  10257.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  10258.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  10259.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  10260.     dsl=\E[2!w\r\n\E[!w, ed=\E[J, el=\E[K, el1=\E[1K, 
  10261.     fsl=\E[!w, home=\E[H, hpa=\E[%i%p1%dG, ht=^I, hts=\EH, 
  10262.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  10263.     invis=\E[0;8m, 
  10264.     is2=\E)0\017\E[m\E[=107;207h\E[90;3u\E[92;3u\E[43;1u\177\E$P\177\E[44;1u\177\E$Q\177\E[45;1u\177\E$R\177\E[46;1u\177\E$S\177\E[200;1u\177\E$A\177\E[201;1u\177\E$B\177\E[202;1u\177\E$C\177\E[203;1u\177\E$D\177\E[204;1u\177\E$H\177\E[212;1u\177\E$I\177\E[213;1u\177\E$\010\177\E[214;1u"\E$\177"\E[2!w\E[25;25w\E[!w\E[2*w\E[2+x\E[;3+}, 
  10265.     kDC=\E$\177, kHOM=\E$H, kLFT=\E$D, kRIT=\E$C, kbs=^H, 
  10266.     kcbt=\E$I, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  10267.     kdch1=\177, kent=^M, kf1=^\001\r, kf10=^\010\r, 
  10268.     kf11=^\011\r, kf12=^\012\r, kf13=\EOP, kf14=\EOQ, 
  10269.     kf15=\EOR, kf16=\EOS, kf17=^\017\r, kf18=^\018\r, 
  10270.     kf19=^\019\r, kf2=^\002\r, kf20=^\020\r, kf21=^\021\r, 
  10271.     kf22=^\022\r, kf23=^\023\r, kf3=^\003\r, kf31=^\031\r, 
  10272.     kf32=^\032\r, kf33=^\033\r, kf34=^\034\r, kf35=^\035\r, 
  10273.     kf36=^\036\r, kf37=^\037\r, kf38=^\038\r, kf39=^\039\r, 
  10274.     kf4=^\004\r, kf40=^\040\r, kf41=^\041\r, kf42=^\042\r, 
  10275.     kf43=\E$P, kf44=\E$Q, kf45=\E$R, kf46=\E$S, kf47=^\047\r, 
  10276.     kf48=^\048\r, kf49=^\049\r, kf5=^\005\r, kf50=^\050\r, 
  10277.     kf51=^\051\r, kf52=^\052\r, kf53=^\053\r, kf6=^\006\r, 
  10278.     kf7=^\007\r, kf8=^\008\r, kf9=^\009\r, khome=\E[H, 
  10279.     kind=\E[T, knp=\E[U, kpp=\E[V, kri=\E[S, ll=\E[H\E[A, 
  10280.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\E[E, rc=\E8, 
  10281.     rev=\E[0;7m, ri=\EM, rmacs=^O, rmir=\E[4l, rmso=\E[m\017, 
  10282.     rmul=\E[m\017, sc=\E7, 
  10283.     sgr=\E[0%?%p1%p6%O%t;1%;%?%p2%t;4%;%?%p4%t;5%;%?%p1%p3%O%t;7%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  10284.     sgr0=\E[m\017, smacs=^N, smir=\E[4h, smso=\E[0;1;7m, 
  10285.     smul=\E[0;4m, tbc=\E[3g, tsl=\E[2!w\E[%i%p1%dG, 
  10286.     vpa=\E[%i%p1%dd, 
  10287.  
  10288. # <ht> through <el> included to specify padding needed in raw mode.
  10289. # (avt-ns: added empty <acsc> to suppress a tic warning --esr)
  10290. avt-ns|concept avt no status line, 
  10291.     OTbs, am, eo, mir, ul, xenl, xon, 
  10292.     cols#80, it#8, lines#24, lm#192, 
  10293.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  10294.     clear=\E[H\E[J$<38>, cnorm=\E[=119l, cr=^M, 
  10295.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  10296.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  10297.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  10298.     cvvis=\E[=119h, dch1=\E[P, dim=\E[1!{, dl=\E[%p1%dM$<4*>, 
  10299.     dl1=\E[M$<4>, ed=\E[J$<96>, el=\E[K$<6>, home=\E[H, 
  10300.     hpa=\E[%p1%{1}%+%dG, ht=\011$<4>, hts=\EH, ich=\E[%p1%d@, 
  10301.     ich1=\E[@, il=\E[%p1%dL$<4*>, il1=\E[L$<4>, ind=\n$<8>, 
  10302.     invis=\E[8m, ip=$<4>, is1=\E[=103l\E[=205l, 
  10303.     is2=\E[1*q\E[2!t\E[7!t\E[=4;101;119;122l\E[=107;118;207h\E)1\E[1Q\EW\E[!y\E[!z\E>\E[0\:0\:32!r\E[0*w\E[w\E2\r\n\E[2;27!t, 
  10304.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  10305.     kdch1=\E^B\r, ked=\E^D\r, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  10306.     kf4=\EOS, khome=\E[H, kich1=\E^A\r, kil1=\E^C\r, ll=\E[24H, 
  10307.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  10308.     pfloc=\E[%p1%d;0u#%p2%s#, pfx=\E[%p1%d;1u#%p2%s#, 
  10309.     prot=\E[99m, rc=\E8, rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, 
  10310.     ri=\EM$<4>, rmacs=\016$<1>, rmcup=\E[w\E2\r\n, 
  10311.     rmir=\E[4l, rmkx=\E[!z\E[0;2u, rmso=\E[7!{, rmul=\E[4!{, 
  10312.     sc=\E7, 
  10313.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  10314.     sgr0=\E[m, smacs=\017$<1>, smcup=\E[=4l\E[1;24w\E2\r, 
  10315.     smir=\E[4h, smkx=\E[1!z\E[0;3u, smso=\E[7m, smul=\E[4m, 
  10316.     tbc=\E[2g, vpa=\E[%p1%{1}%+%dd, 
  10317. avt-rv-ns|concept avt in reverse video mode/no status line, 
  10318.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
  10319.     use=avt-ns, 
  10320. avt-w-ns|concept avt in 132 column mode/no status line, 
  10321.     is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
  10322.     use=avt-ns, 
  10323. avt-w-rv-ns|concept avt in 132 column mode/no status line/reverse video, 
  10324.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
  10325.     smcup=\E[H\E[1;24;1;132w, use=avt-ns, 
  10326.  
  10327. # Concept AVT with status line. We get the status line using the
  10328. # "Background status line" feature of the terminal. We swipe the
  10329. # first line of memory in window 2 for the status line, keeping
  10330. # 191 lines of memory and 24 screen lines for regular use.
  10331. # The first line is used instead of the last so that this works
  10332. # on both 4 and 8 page AVTs. (Note the lm#191 or 192 - this
  10333. # assumes an 8 page AVT but lm isn't currently used anywhere.)
  10334. #
  10335. avt+s|concept avt status line changes, 
  10336.     eslok, hs, 
  10337.     lm#191, 
  10338.     dsl=\E[0*w, fsl=\E[1;1!w, 
  10339.     is3=\E[2w\E[2!w\E[1;1;1;80w\E[H\E[2*w\E[1!w\E2\r\n, 
  10340.     rmcup=\E[2w\E2\r\n, smcup=\E[2;25w\E2\r, 
  10341.     tsl=\E[2;1!w\E[;%p1%dH\E[2K, 
  10342. avt|avt-s|concept-avt|avt w/80 columns, 
  10343.     use=avt+s, use=avt-ns, 
  10344. avt-rv|avt-rv-s|avt reverse video w/sl, 
  10345.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103l\E[=205h, 
  10346.     use=avt+s, use=avt-ns, 
  10347. avt-w|avt-w-s|concept avt 132 cols+status, 
  10348.     is1=\E[=103h\E[=205l, smcup=\E[H\E[1;24;1;132w, 
  10349.     use=avt+s, use=avt-ns, 
  10350. avt-w-rv|avt-w-rv-s|avt wide+status+rv, 
  10351.     flash=\E[=205l$<200>\E[=205h, is1=\E[=103h\E[=205h, 
  10352.     smcup=\E[H\E[1;24;1;132w, use=avt+s, use=avt-ns, 
  10353.  
  10354. #### Contel Business Systems. 
  10355. #
  10356.  
  10357. # Contel c300 and c320 terminals. 
  10358. contel300|contel320|c300|Contel Business Systems C-300 or C-320, 
  10359.     am, in, xon, 
  10360.     cols#80, lines#24, xmc#1, 
  10361.     bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  10362.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  10363.     dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
  10364.     el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
  10365.     hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
  10366.     kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
  10367.     kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
  10368.     rmso=\E!\0, sgr0=\E!\0, smso=\E!\r, tbc=\E3, 
  10369. # Contel c301 and c321 terminals.
  10370. contel301|contel321|c301|c321|Contel Business Systems C-301 or C-321, 
  10371.     flash@, ich1@, ip@, rmso=\E!\0$<20>, smso=\E!\r$<20>, 
  10372.     use=contel300, 
  10373.  
  10374. #### Data General (dg)
  10375. #
  10376. # According to James Carlson <carlson@xylogics.com> writing in January 1995,
  10377. # the terminals group at Data General was shut down in 1991; all these
  10378. # terminals have thus been discontinued.
  10379. #
  10380. # DG terminals have function keys that respond to the SHIFT and CTRL keys,
  10381. # e.g., SHIFT-F1 generates a different code from F1.  To number the keys
  10382. # sequentially, first the unmodified key codes are listed as F1 through F15. 
  10383. # Then their SHIFT versions are listed as F16 through F30, their CTRL versions
  10384. # are listed as F31 through F45, and their CTRL-SHIFT versions are listed as
  10385. # F46 through F60.  This is done in the private "includes" below whose names
  10386. # start with "dgkeys+".
  10387. #
  10388. # DG terminals generally support 8 bit characters.  For each of these terminals
  10389. # two descriptions are supplied:
  10390. #    1) A default description for 8 bits/character communications, which
  10391. #       uses the default DG international character set and keyboard codes.
  10392. #    2) A description with suffix "-7b" for 7 bits/character communications.
  10393. #       This description must use the NON-DEFAULT native keyboard language.
  10394.  
  10395. # Unmodified fkeys (kf1-kf11), Shift fkeys (kf12-kf22), Ctrl fkeys (kf23-kf33),
  10396. # Ctrl/Shift fdkeys (kf34-kf44).
  10397.  
  10398. dgkeys+8b|Private entry describing DG terminal 8-bit ANSI mode special keys, 
  10399.     ka1=\233020z, ka3=\233021z, kc1=\233022z, kc3=\233023z, 
  10400.     kclr=\2332J, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
  10401.     kcuu1=\233A, kel=\233K, kf1=\233001z, kf10=\233010z, 
  10402.     kf11=\233011z, kf12=\233012z, kf13=\233013z, 
  10403.     kf14=\233014z, kf15=\233000z, kf16=\233101z, 
  10404.     kf17=\233102z, kf18=\233103z, kf19=\233104z, 
  10405.     kf2=\233002z, kf20=\233105z, kf21=\233106z, 
  10406.     kf22=\233107z, kf23=\233108z, kf24=\233109z, 
  10407.     kf25=\233110z, kf26=\233111z, kf27=\233112z, 
  10408.     kf28=\233113z, kf29=\233114z, kf3=\233003z, 
  10409.     kf30=\233100z, kf31=\233201z, kf32=\233202z, 
  10410.     kf33=\233203z, kf34=\233204z, kf35=\233205z, 
  10411.     kf36=\233206z, kf37=\233207z, kf38=\233208z, 
  10412.     kf39=\233209z, kf4=\233004z, kf40=\233210z, 
  10413.     kf41=\233211z, kf42=\233212z, kf43=\233213z, 
  10414.     kf44=\233214z, kf45=\233200z, kf46=\233301z, 
  10415.     kf47=\233302z, kf48=\233303z, kf49=\233304z, 
  10416.     kf5=\233005z, kf50=\233305z, kf51=\233306z, 
  10417.     kf52=\233307z, kf53=\233308z, kf54=\233309z, 
  10418.     kf55=\233310z, kf56=\233311z, kf57=\233312z, 
  10419.     kf58=\233313z, kf59=\233314z, kf6=\233006z, 
  10420.     kf60=\233300z, kf7=\233007z, kf8=\233008z, kf9=\233009z, 
  10421.     khome=\233H, kprt=\233i, 
  10422.  
  10423. dgkeys+7b|Private entry describing DG terminal 7-bit ANSI mode special keys, 
  10424.     ka1=\E[020z, ka3=\E[021z, kc1=\E[022z, kc3=\E[023z, 
  10425.     kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  10426.     kel=\E[K, kf1=\E[001z, kf10=\E[010z, kf11=\E[011z, 
  10427.     kf12=\E[012z, kf13=\E[013z, kf14=\E[014z, kf15=\E[000z, 
  10428.     kf16=\E[101z, kf17=\E[102z, kf18=\E[103z, kf19=\E[104z, 
  10429.     kf2=\E[002z, kf20=\E[105z, kf21=\E[106z, kf22=\E[107z, 
  10430.     kf23=\E[108z, kf24=\E[109z, kf25=\E[110z, kf26=\E[111z, 
  10431.     kf27=\E[112z, kf28=\E[113z, kf29=\E[114z, kf3=\E[003z, 
  10432.     kf30=\E[100z, kf31=\E[201z, kf32=\E[202z, kf33=\E[203z, 
  10433.     kf34=\E[204z, kf35=\E[205z, kf36=\E[206z, kf37=\E[207z, 
  10434.     kf38=\E[208z, kf39=\E[209z, kf4=\E[004z, kf40=\E[210z, 
  10435.     kf41=\E[211z, kf42=\E[212z, kf43=\E[213z, kf44=\E[214z, 
  10436.     kf45=\E[200z, kf46=\E[301z, kf47=\E[302z, kf48=\E[303z, 
  10437.     kf49=\E[304z, kf5=\E[005z, kf50=\E[305z, kf51=\E[306z, 
  10438.     kf52=\E[307z, kf53=\E[308z, kf54=\E[309z, kf55=\E[310z, 
  10439.     kf56=\E[311z, kf57=\E[312z, kf58=\E[313z, kf59=\E[314z, 
  10440.     kf6=\E[006z, kf60=\E[300z, kf7=\E[007z, kf8=\E[008z, 
  10441.     kf9=\E[009z, khome=\E[H, kprt=\E[i, 
  10442.  
  10443. dgkeys+11|Private entry describing 11 minimal-subset DG mode special keys, 
  10444.     kclr=^L, kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kel=^K, 
  10445.     kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^a, kf13=^^b, kf14=^^c, 
  10446.     kf15=^^d, kf16=^^e, kf17=^^f, kf18=^^g, kf19=^^h, kf2=^^r, 
  10447.     kf20=^^i, kf21=^^j, kf22=^^k, kf23=^^1, kf24=^^2, kf25=^^3, 
  10448.     kf26=^^4, kf27=^^5, kf28=^^6, kf29=^^7, kf3=^^s, kf30=^^8, 
  10449.     kf31=^^9, kf32=^^\:, kf33=^^;, kf34=^^!, kf35=^^", kf36=^^#, 
  10450.     kf37=^^$, kf38=^^%%, kf39=^^&, kf4=^^t, kf40=^^', kf41=^^(, 
  10451.     kf42=^^), kf43=^^*, kf44=^^+, kf5=^^u, kf6=^^v, kf7=^^w, 
  10452.     kf8=^^x, kf9=^^y, khome=^H, 
  10453.  
  10454. dgkeys+15|Private entry describing 15 DG mode special keys, 
  10455.     kHOM=^^^H, kLFT=^^^Y, kRIT=^^^X, ka1=^^\\, ka3=^^], kc1=^^\^, 
  10456.     kc3=^^_, kf1=^^q, kf10=^^z, kf11=^^{, kf12=^^|, kf13=^^}, 
  10457.     kf14=^^~, kf15=^^p, kf16=^^a, kf17=^^b, kf18=^^c, kf19=^^d, 
  10458.     kf2=^^r, kf20=^^e, kf21=^^f, kf22=^^g, kf23=^^h, kf24=^^i, 
  10459.     kf25=^^j, kf26=^^k, kf27=^^l, kf28=^^m, kf29=^^n, kf3=^^s, 
  10460.     kf30=^^`, kf31=^^1, kf32=^^2, kf33=^^3, kf34=^^4, kf35=^^5, 
  10461.     kf36=^^6, kf37=^^7, kf38=^^8, kf39=^^9, kf4=^^t, kf40=^^\:, 
  10462.     kf41=^^;, kf42=^^<, kf43=^^=, kf44=^^>, kf45=^^0, kf46=^^!, 
  10463.     kf47=^^", kf48=^^#, kf49=^^$, kf5=^^u, kf50=^^%%, kf51=^^&, 
  10464.     kf52=^^', kf53=^^(, kf54=^^), kf55=^^*, kf56=^^+, kf57=^^\,, 
  10465.     kf58=^^-, kf59=^^., kf6=^^v, kf60=^^\s, kf7=^^w, kf8=^^x, 
  10466.     kf9=^^y, 
  10467.  
  10468. # Data General color terminals use the "Tektronix" color model.  The total
  10469. # number of colors varies with the terminal model, as does support for
  10470. # attributes used in conjunction with color.
  10471.  
  10472. # Removed u7, u8 definitions since they conflict with tack:
  10473. #        Preserve user-defined colors in at least some cases.
  10474. #    u7=^^Fh,
  10475. #        Default is ACM mode.
  10476. #    u8=^^F}20^^Fi^^F}21,
  10477. #
  10478. dgunix+fixed|Fixed color info for DG D430C terminals in DG-UNIX mode, 
  10479.     bce, 
  10480.     colors#16, ncv#53, pairs#256, 
  10481.     op=\036Ad\036Bd, 
  10482.     setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
  10483.     setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
  10484.     setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
  10485.  
  10486. dg+fixed|Fixed color info for DG D430C terminals in DG mode, 
  10487.     use=dgunix+fixed, 
  10488.  
  10489. # Video attributes are coordinated using static variables set by "sgr", then
  10490. # checked by "op", "seta[bf]", and "set[bf]" to refresh the attribute settings. 
  10491. # (D=dim, U=underline, B=blink, R=reverse.)
  10492. dg+color8|Color info for Data General D220 and D230C terminals in ANSI mode, 
  10493.     bce, 
  10494.     colors#8, ncv#16, pairs#64, 
  10495.     op=\E[%?%gD%t2;%;%?%gU%t4;%;%?%gB%t5;%;%?%gR%t7;%;m, 
  10496.     setab=\E[4%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10497.     setaf=\E[3%p1%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10498.     setb=\E[4%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10499.     setf=\E[3%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10500.  
  10501. dg+color|Color info for Data General D470C terminals in ANSI mode, 
  10502.     colors#16, ncv#53, pairs#256, 
  10503.     setab=\E[%?%p1%{8}%<%t4%p1%e=%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10504.     setaf=\E[%?%p1%{8}%<%t3%p1%e<%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10505.     setb=\E[%?%p1%{8}%<%t4%e=%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10506.     setf=\E[%?%p1%{8}%<%t3%e<%;%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%d%?%gD%t;2%;%?%gU%t;4%;%?%gB%t;5%;%?%gR%t;7%;m, 
  10507.     use=dg+color8, 
  10508.  
  10509. dgmode+color8|Color info for Data General D220/D230C terminals in DG mode, 
  10510.     bce, 
  10511.     colors#8, ncv#16, pairs#64, 
  10512.     op=\036Ad\036Bd, 
  10513.     setab=\036B%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
  10514.     setaf=\036A%p1%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%{48}%+%c, 
  10515.     setb=\036B%p1%{48}%+%c, setf=\036A%p1%{48}%+%c, 
  10516.  
  10517. dgmode+color|Color info for Data General D470C terminals in DG mode, 
  10518.     colors#16, pairs#256, 
  10519.     setab=\036B%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
  10520.     setaf=\036A%p1%?%p1%{8}%<%t%{2}%&%?%p1%{1}%&%t%{4}%|%;%?%p1%{4}%&%t%{1}%|%;%;%{48}%+%c, 
  10521.     use=dgmode+color8, 
  10522.  
  10523. dgunix+ccc|Configurable color info for DG D430C terminals in DG-UNIX mode, 
  10524.     bce, ccc, 
  10525.     colors#52, ncv#53, pairs#26, 
  10526.     initp=\036RG0%p1%02X%p2%{256}%*%{1001}%/%02X%p3%{256}%*%{1001}%/%02X%p4%{256}%*%{1001}%/%02X%p5%{256}%*%{1001}%/%02X%p6%{256}%*%{1001}%/%02X%p7%{256}%*%{1001}%/%02X, 
  10527.     oc=\036RG01A00FF00000000\036RG01B00000000FF00\036RG01C007F00000000\036RG01D000000007F00, 
  10528.     op=\036RF4831A\036RF2E31B\036RF1D31C\036RF3F31D, 
  10529.     scp=\036RG2%p1%02X, 
  10530.  
  10531. # Colors are in the order:  normal, reverse, dim, dim + reverse.
  10532. dg+ccc|Configurable color info for DG D430C terminals in DG mode, 
  10533.     bce, ccc, 
  10534.     colors#52, ncv#53, pairs#26, 
  10535.     initp=\036RG0%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c%p2%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p3%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p4%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p5%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p6%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c%p7%{256}%*%{1001}%/%Pa%ga%{16}%/%{48}%+%c%ga%{16}%m%{48}%+%c, 
  10536.     oc=\036RG01\:00??00000000\036RG01;00000000??00\036RG01<007?00000000\036RG01=000000007?00, 
  10537.     op=\036RF4831\:\036RF2>31;\036RF1=31<\036RF3?31=, 
  10538.     scp=\036RG2%p1%{16}%/%{48}%+%c%p1%{16}%m%{48}%+%c, 
  10539.  
  10540. # The generic DG terminal type (an 8-bit-clean subset of the 6053)
  10541. # Initialization string 1 sets:
  10542. #    ^R        - vertical scrolling enabled
  10543. #    ^C        - blinking enabled
  10544. dg-generic|Generic Data General terminal in DG mode, 
  10545.     am, bw, msgr, xon, 
  10546.     cols#80, lines#24, 
  10547.     bel=^G, blink=^N, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
  10548.     cup=\020%p2%c%p1%c, cuu1=^W, dim=^\, el=^K, ind=^J, is1=^R^C, 
  10549.     mc0=^Q, nel=^J, rmso=^], rmul=^U, sgr0=^O^U^], smso=^\, 
  10550.     smul=^T, use=dgkeys+11, 
  10551.  
  10552. # According to the 4.4BSD termcap file, the dg200 <cup> should be the
  10553. # termcap equivalent of \020%p2%{128}%+%c%p1%{128}%+%c (in termcap
  10554. # notation that's "^P%r%+\200%+\200").  Those \200s are suspicious,
  10555. # maybe they were originally nuls (which would fit).
  10556.  
  10557. dg200|data general dasher 200, 
  10558.     OTbs, am, bw, 
  10559.     cols#80, lines#24, 
  10560.     bel=^G, clear=^L, cr=^M, cub1=^Y, cud1=^Z, cuf1=^X, 
  10561.     cup=\020%p2%c%p1%c, cuu1=^W, el=^K, home=^H, ind=^J, 
  10562.     kcub1=^Y, kcud1=^Z, kcuf1=^X, kcuu1=^W, kf0=^^z, kf1=^^q, 
  10563.     kf2=^^r, kf3=^^s, kf4=^^t, kf5=^^u, kf6=^^v, kf7=^^w, kf8=^^x, 
  10564.     kf9=^^y, khome=^H, lf0=f10, nel=^J, rmso=^^E, rmul=^U, 
  10565.     smso=^^D, smul=^T, 
  10566.  
  10567. # Data General 210/211 (and 410?)    from Lee Pearson (umich!lp) via BRL
  10568. dg210|dg-ansi|Data General 210/211, 
  10569.     am, 
  10570.     cols#80, lines#24, 
  10571.     OTnl=\E[B, clear=\E[2J, cud1=\E[B, cup=\E[%i%p1%d;%p2%dH, 
  10572.     cuu1=\E[A, ed=\E[J, el=\E[K, home=\E[H, kcub1=\E[D, 
  10573.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  10574.     nel=\r\E[H\E[A\n, rmso=\E[0;m, rmul=\E[0;m, smso=\E[7;m, 
  10575.     smul=\E[4;m, 
  10576. # From: Peter N. Wan <ihnp4!gatech!gacsr!wan>
  10577. # courtesy of Carlos Rucalde of Vantage Software, Inc.
  10578. # (dg211: this had <cup=\020%r%.%>., which was an ancient termcap hangover.
  10579. # I suspect the d200 function keys actually work on the dg211, check it out.)
  10580. dg211|Data General d211, 
  10581.     cnorm=^L, cvvis=^L^R, ht=^I, ind@, kbs=^Y, kf0@, kf1@, kf2@, kf3@, 
  10582.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, lf0@, nel=^M^Z, rmcup=^L, 
  10583.     rmso=\036E$<\0/>, smcup=^L^R, smso=\036D$<5/>, use=dg200, 
  10584.  
  10585. # dg450 from Cornell (not official)
  10586. dg450|dg6134|data general 6134, 
  10587.     cub1@, cuf1=^X, use=dg200, 
  10588.  
  10589. # Not official...
  10590. # Note: lesser Dasher terminals will not work with vi because vi insists upon
  10591. # having a command to move straight down from any position on the bottom line
  10592. # and scroll the screen up, or a direct vertical scroll command.  The 460 and
  10593. # above have both, the D210/211, for instance, has neither.  We must use ANSI
  10594. # mode rather than DG mode because standard UNIX tty drivers assume that ^H is
  10595. # backspace on all terminals.  This is not so in DG mode.
  10596. # (dg460-ansi: removed obsolete ":kn#6:"; also removed ":mu=\EW:", on the
  10597. # grounds that there is no matching ":ml:"
  10598. # fixed garbled ":k9=\E[00\:z:" capability -- esr)
  10599. dg460-ansi|Data General Dasher 460 in ANSI-mode, 
  10600.     OTbs, am, msgr, ul, 
  10601.     cols#80, it#8, lines#24, 
  10602.     OTnl=\ED, blink=\E[5m, clear=\E[2J, cub1=^H, cud1=\E[B, 
  10603.     cuf1=\E[C, cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, 
  10604.     dim=\E[2m, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  10605.     ich1=\E[@, il1=\E[L, ind=\E[S, is2=^^F@, kbs=\E[D, 
  10606.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  10607.     kf0=\E[001z, kf1=\E[002z, kf2=\E[003z, kf3=\E[004z, 
  10608.     kf4=\E[005z, kf5=\E[006z, kf6=\E[007z, kf7=\E[008z, 
  10609.     kf8=\E[009z, kf9=\E[010z, khome=\E[H, lf0=f1, lf1=f2, lf2=f3, 
  10610.     lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf9=f10, rev=\E[7m, 
  10611.     ri=\E[T, rmso=\E[m, rmul=\E[05, sgr0=\E[m, smso=\E[7m, 
  10612.     smul=\E[4m, 
  10613. # From: Wayne Throop <mcnc!rti-sel!rtp47!throopw> (not official)
  10614. # Data General 605x     
  10615. # Ought to work for a Model 6242, Type D210 as well as a 605x.
  10616. # Note that the cursor-down key transmits ^Z.  Job control users, beware!
  10617. # This also matches a posted description of something called a `Dasher 100'
  10618. # so there's a dg100 alias here. 
  10619. # (dg6053: the 4.4BSD file had <cub1=^H>, <cud1=^J>, <cuf1=^S>. -- esr) 
  10620. dg6053-old|dg100|data general 6053, 
  10621.     OTbs, am, bw, ul, 
  10622.     cols#80, lines#24, 
  10623.     OTbc=^Y, bel=^G, clear=^L, cnorm=^L, cr=^M, cub1=^Y, cud1=^Z, 
  10624.     cuf1=^X, cup=\020%p2%c%p1%c, cuu1=^W, cvvis=^L^R, el=^K, 
  10625.     home=^H, ht=^I, is2=^R, kbs=^Y, kcub1=^Y, kcud1=^Z, kcuf1=^X, 
  10626.     kcuu1=^W, kf0=^^q, kf1=^^r, kf2=^^s, kf3=^^t, kf4=^^u, kf5=^^v, 
  10627.     kf6=^^w, kf7=^^x, kf8=^^y, kf9=^^z, khome=^H, rmcup=^L, 
  10628.     rmso=\0^^E, rmul=^U, smcup=^L^R, smso=\0\0\0\0\0\036D, 
  10629.     smul=^T, 
  10630.  
  10631. # (Some performance can be gained over the generic DG terminal type)
  10632. dg6053|6053|6053-dg|dg605x|605x|605x-dg|d2|d2-dg|Data General DASHER 6053, 
  10633.     xon@, 
  10634.     home=^P\0\0, ll=^P\0^W, use=dg-generic, 
  10635.  
  10636. # Like 6053, but adds reverse video and more keypad and function keys.
  10637. d200|d200-dg|Data General DASHER D200, 
  10638.     bold=^^D^T, home@, ll@, rev=^^D, rmso=^^E^], 
  10639.     sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;, 
  10640.     sgr0=\017\025\035\036E, smso=^^D^\, use=dgkeys+15, 
  10641.     use=dg6053, 
  10642.  
  10643. # DASHER D210 series terminals in ANSI mode.
  10644. #    Reverse video, no insert/delete character/line, 7 bits/character only.
  10645. #
  10646. # Initialization string 1 sets:
  10647. #    <0        - scrolling enabled
  10648. #    <1        - blink enabled
  10649. #    <4        - print characters regardless of attributes
  10650. d210|d214|Data General DASHER D210 series, 
  10651.     am, bw, msgr, xon, 
  10652.     cols#80, lines#24, 
  10653.     bel=^G, blink=\E[5m, bold=\E[4;7m, clear=\E[2J, cr=^M, 
  10654.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  10655.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  10656.     cuu=\E[%p1%dA, cuu1=\E[A, dim=\E[2m, ed=\E[J, el=\E[K, 
  10657.     el1=\E[1K, home=\E[H, ind=^J, is1=\E[<0;<1;<4l, 
  10658.     ll=\E[H\E[A, nel=^J, rev=\E[7m, rmso=\E[m, rmul=\E[m, 
  10659.     sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m, 
  10660.     sgr0=\E[m, smso=\E[2;7m, smul=\E[4m, use=dgkeys+7b, 
  10661.  
  10662. # DASHER D210 series terminals in DG mode.
  10663. # Like D200, but adds clear to end-of-screen and needs XON/XOFF.
  10664. d210-dg|d214-dg|Data General DASHER D210 series in DG mode, 
  10665.     xon, 
  10666.     ed=^^FF, use=d200-dg, 
  10667.  
  10668. # DASHER D211 series terminals in ANSI mode.
  10669. # Like the D210, but with 8-bit characters and local printer support.
  10670. #
  10671. # Initialization string 2 sets:
  10672. #    \E[2;1;1;1v
  10673. #        2;1    - 8 bit operations
  10674. #        1;1    - 8 bit (international) keyboard language
  10675. #    \E(B        - default primary character set (U.S. ASCII)
  10676. #    \E)4        - default secondary character set (international)
  10677. #    ^O        - primary character set
  10678. #
  10679. d211|d215|Data General DASHER D211 series, 
  10680.     km, 
  10681.     is2=\E[2;1;1;1v\E(B\E)4\017, mc0=\E[i, use=dgkeys+8b, 
  10682.     use=d210, 
  10683.  
  10684. # Initialization string 2 sets:
  10685. #    \E[2;0;1;0v
  10686. #        2;0    - 7 bit operations
  10687. #        1;0    - 7 bit (native) keyboard language
  10688. #    \E(0        - default character set (the keyboard native language)
  10689. #    ^O        - primary character set
  10690. d211-7b|d215-7b|Data General DASHER D211 series in 7 bit mode, 
  10691.     km@, 
  10692.     is2=\E[2;0;1;0v\E(0\017, use=dgkeys+7b, use=d211, 
  10693.  
  10694. # Like the D210 series, but adds support for 8-bit characters.
  10695. #
  10696. # Reset string 2 sets:
  10697. #    ^^N    - secondary character set
  10698. #    ^^FS0>    - 8 bit international character set
  10699. #    ^^O    - primary character set
  10700. #    ^^FS00    - default character set (matching the native keyboard language)
  10701. #
  10702. d211-dg|d215-dg|Data General DASHER D211 series in DG mode, 
  10703.     km, 
  10704.     rs2=\036N\036FS0>\036O\036FS00, use=d210-dg, 
  10705.  
  10706. d216-dg|d216e-dg|d216+dg|d216e+dg|d217-dg|Data General DASHER D216 series in DG mode, 
  10707.     use=d211-dg, 
  10708.  
  10709. # Enhanced DG mode with changes to be more UNIX compatible.
  10710. d216-unix|d216e-unix|d216+|d216e+|Data General DASHER D216+ in DG-UNIX mode, 
  10711.     mc5i, 
  10712.     it#8, 
  10713.     acsc=a\177j$k"l!m#n)q+t'u&v(w%x*, blink=^^PI, 
  10714.     clear=^^PH, cub1=^^PD, cud1=^^PB, cuf1=^^PC, cuu1=^^PA, 
  10715.     el=^^PE, home=^^PF, hpa=\020%p1%c\177, ht=^I, ind=^J, 
  10716.     is1=\022\003\036P@1, is3=\036Fz0, kHOM=^^Pf, kLFT=^^Pd, 
  10717.     kPRT=^^P1, kRIT=^^Pc, kclr=^^PH, kcub1=^^PD, kcud1=^^PB, 
  10718.     kcuf1=^^PC, kcuu1=^^PA, kel=^^PE, khome=^^PF, kprt=^^P0, 
  10719.     mc0=\036F?9, mc4=^^Fa, mc5=^^F`, rmacs=\036FS00, 
  10720.     rs2=\036N\036FS0E\036O\036FS00, 
  10721.     sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;\036P%?%p4%tI%eJ%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
  10722.     sgr0=\036PJ\025\035\036E\036FS00, smacs=\036FS11, 
  10723.     vpa=\020\177%p1%c, use=dgkeys+15, use=d216-dg, 
  10724. d216-unix-25|d216+25|Data General DASHER D216+ in DG-UNIX mode with 25 lines, 
  10725.     lines#25, 
  10726.     is3=\036Fz2, use=d216+, 
  10727.  
  10728. d217-unix|Data General DASHER D217 in DG-UNIX mode, 
  10729.     use=d216-unix, 
  10730. d217-unix-25|Data General DASHER D217 in DG-UNIX mode with 25 lines, 
  10731.     use=d216-unix-25, 
  10732.  
  10733. # DASHER D220 color terminal in ANSI mode.
  10734. # Like the D470C but with fewer colors and screen editing features.
  10735. #
  10736. # Initialization string 1 sets:
  10737. #    \E[<0;<1;<4l
  10738. #        <0    - scrolling enabled
  10739. #        <1    - blink enabled
  10740. #        <4    - print characters regardless of attributes
  10741. #    \E[m        - all attributes off
  10742. # Reset string 1 sets:
  10743. #    \Ec        - initial mode defaults (RIS)
  10744. #
  10745. d220|Data General DASHER D220, 
  10746.     mc5i@, 
  10747.     dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, 
  10748.     use=dg+color8, use=d470c, 
  10749.  
  10750. d220-7b|Data General DASHER D220 in 7 bit mode, 
  10751.     mc5i@, 
  10752.     dl@, dl1@, il@, il1@, is1=\E[<0;<1;<4l\E[m, mc4@, mc5@, rs1=\Ec, 
  10753.     use=dg+color8, use=d470c-7b, 
  10754.  
  10755. # Initialization string 3 sets:
  10756. #    - default cursor (solid rectangle)
  10757. # Reset string 2 sets:
  10758. #    ^^N     - secondary character set
  10759. #    ^^FS0>  - 8 bit international character set
  10760. #    ^^O     - primary character set
  10761. #       ^^FS00  - default character set (matching the native keyboard language)
  10762. #
  10763. d220-dg|Data General DASHER D220 color terminal in DG mode, 
  10764.     mc5i@, 
  10765.     dl1@, home@, il1@, is2@, is3=\036FQ2, ll@, mc4@, mc5@, rs1@, 
  10766.     rs2=\036N\036FS0>\036O\036FS00, use=dgmode+color8, 
  10767.     use=d470c-dg, 
  10768.  
  10769. # DASHER D230C color terminal in ANSI mode.
  10770. # Like the D220 but with minor ANSI compatibility improvements.
  10771. #
  10772. d230c|d230|Data General DASHER D230C, 
  10773.     blink=\E[5;50m, bold=\E[4;7;50m, dim=\E[2;50m, nel=^M^J, 
  10774.     rev=\E[7;50m, rmkx=\E[2;1v, rmso=\E[50m, rmul=\E[50m, 
  10775.     sgr=\E[50%?%p1%p3%|%p6%|%t;7%{1}%e%{0}%;%PR%?%p4%t;5%{1}%e%{0}%;%PB%?%p2%p6%|%t;4%{1}%e%{0}%;%PU%?%p1%p5%|%t;2%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
  10776.     sgr0=\E[50m\E)4\017, smkx=\E[2;0v, smso=\E[2;7;50m, 
  10777.     smul=\E[4;50m, use=dgkeys+7b, use=d220, 
  10778.  
  10779. d230c-dg|d230-dg|Data General DASHER D230C in DG mode, 
  10780.     use=d220-dg, 
  10781.  
  10782. # DASHER D400/D450 series terminals.
  10783. # These add intelligent features like insert/delete to the D200 series.
  10784. #
  10785. # Initialization string 2 sets:
  10786. #    ^^FQ2        - default cursor (solid rectangle)
  10787. #    ^^FW        - character protection disabled
  10788. #    ^^FJ        - normal (80 column) mode
  10789. #    ^^F\^        - horizontal scrolling enabled (for alignment)
  10790. #    ^^FX004?    - margins at columns 0 and 79
  10791. #    ^^F]        - horizontal scrolling disabled
  10792. #    ^^O        - primary character set
  10793. #    ^^FS00        - default character set (the keyboard native language)
  10794. #    - (should reset scrolling regions, but that glitches the screen)
  10795. # Reset string 1 sets:
  10796. #    ^^FA        - all terminal defaults except scroll rate
  10797. # Reset string 2 sets:
  10798. #    ^^F]        - horizontal scrolling disabled
  10799. #    ^^FT0        - jump scrolling
  10800. #
  10801. d400|d400-dg|d450|d450-dg|Data General DASHER D400/D450 series, 
  10802.     mc5i, 
  10803.     acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\036FQ0, 
  10804.     cnorm=\036FQ2, dch1=^^K, dl1=^^FI, 
  10805.     enacs=\036N\036FS11\036O, home=^^FG, hpa=\020%p1%c\177, 
  10806.     ich1=^^J, il1=^^FH, 
  10807.     is2=\036FQ2\036FW\036FJ\036F\^\036FX004?\036F]\036O\036FS00, 
  10808.     ll=\036FG\027, mc4=^^Fa, mc5=^^F`, ri=^^I, rmacs=^^O, 
  10809.     rs1=^^FA, rs2=\036F]\036FT0, 
  10810.     sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036%?%p9%tN%eO%;, 
  10811.     sgr0=\017\025\035\036E\036O, smacs=^^N, 
  10812.     vpa=\020\177%p1%c, use=d210-dg, 
  10813.  
  10814. # DASHER D410/D460 series terminals in ANSI mode.
  10815. # These add a large number of intelligent terminal features.
  10816. #
  10817. # Initialization string 1 sets:
  10818. #    \E[<0;<1;<2;<4l
  10819. #        <0    - scrolling enabled
  10820. #        <1    - blink enabled
  10821. #        <2    - horizontal scrolling enabled (for alignment)
  10822. #        <4    - print characters regardless of attributes
  10823. #    \E[5;0v        - normal (80 column) mode
  10824. #    \E[1;1;80w    - margins at columns 1 and 80
  10825. #    \E[1;6;<2h
  10826. #        1    - print all characters even if protected
  10827. #        6    - character protection disabled
  10828. #        <2    - horizontal scrolling disabled
  10829. #    - (should reset scrolling regions, but that glitches the screen)
  10830. #
  10831. # Initialization string 2 sets:
  10832. #    \E[3;2;2;1;1;1v
  10833. #        3;2    - default cursor (solid rectangle)
  10834. #        2;1    - 8 bit operations
  10835. #        1;1    - international keyboard language
  10836. #    \E(B        - default primary character set (U.S. ASCII)
  10837. #    \E)4        - default secondary character set (international)
  10838. #    ^O        - primary character set
  10839. #
  10840. #    Reset string 1 sets:
  10841. #    \Ec        - initial mode defaults (RIS)
  10842. #    \E[<2h        - horizontal scrolling disabled
  10843. #
  10844. # Reset string 2 sets:
  10845. #    \E[4;0;2;1;1;1v
  10846. #        4;0    - jump scrolling
  10847. #        2;1    - 8 bit operations
  10848. #        1;1    - 8 bit (international) keyboard language
  10849. #    \E(B        - default primary character set (U.S. ASCII)
  10850. #    \E)4        - default secondary character set (international)
  10851. #
  10852. d410|d411|d460|d461|Data General DASHER D410/D460 series, 
  10853.     mc5i, 
  10854.     acsc=j$k"l!m#n)q+t'u&v(w%x*, civis=\E[3;0v, 
  10855.     cnorm=\E[3;2v, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  10856.     dl1=\E[M, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, 
  10857.     is1=\E[<0;<1;<2;<4l\E[5;0v\E[1;1;80w\E[1;6;<2h, 
  10858.     is2=\E[3;2;2;1;1;1v\E(B\E)4\017, mc4=\E[4i, mc5=\E[5i, 
  10859.     ri=\EM, rmacs=\E)4\017, rs1=\Ec\E[<2h, 
  10860.     rs2=\E[4;0;2;1;1;1v\E(B\E)4, 
  10861.     sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m\E)%?%p9%t6\016%e4\017%;, 
  10862.     sgr0=\E[m\E)4\017, smacs=\E)6\016, use=d211, 
  10863.  
  10864. # Initialization string 2 sets:
  10865. #    \E[3;2;2;0;1;0v
  10866. #        3;2    - default cursor (solid rectangle)
  10867. #        2;0    - 7 bit operations
  10868. #        1;0    - 7 bit (native) keyboard language
  10869. #    \E(0        - default character set (the keyboard native language)
  10870. #    ^O        - primary character set
  10871. #
  10872. # Reset string 2 sets:
  10873. #    \E[4;0;2;0;1;0v
  10874. #        4;0    - jump scrolling
  10875. #        2;0    - 7 bit operations
  10876. #        1;0    - 7 bit (native) keyboard language
  10877. #    \E(0        - default character set (the keyboard native language)
  10878. #
  10879. d410-7b|d411-7b|d460-7b|d461-7b|Data General DASHER D410/D460 series in 7 bit mode, 
  10880.     km@, 
  10881.     enacs=\E)6, is2=\E[3;2;2;0;1;0v\E(0\017, rmacs=^O, 
  10882.     rs2=\E[4;0;2;0;1;0v\E(0, 
  10883.     sgr=\E[%?%p1%p3%|%p6%|%t7;%;%?%p4%t5;%;%?%p2%p6%|%t4;%;%?%p1%p5%|%t2;%;m%?%p9%t\016%e\017%;, 
  10884.     sgr0=\E[m\017, smacs=^N, use=dgkeys+7b, use=d410, 
  10885.  
  10886. d410-dg|d460-dg|d411-dg|d461-dg|Data General DASHER D410/D460 series in DG mode, 
  10887.     km, 
  10888.     enacs@, rmacs=\036FS00, 
  10889.     sgr=\036%?%p1%p3%|%p6%|%tD%eE%;%?%p2%p6%|%t\024%e\025%;%?%p4%t\016%e\017%;%?%p1%p5%|%t\034%e\035%;\036FS%?%p9%t11%e00%;, 
  10890.     sgr0=\017\025\035\036E\036FS00, smacs=\036FS11, 
  10891.     use=d400-dg, 
  10892.  
  10893. # DASHER D410/D460 series terminals in wide (126 columns) ANSI mode.
  10894. #
  10895. # Initialization string 1 sets:
  10896. #    \E[<0;<1;<2;<4l
  10897. #        <0    - scrolling enabled
  10898. #        <1    - blink enabled
  10899. #        <2    - horizontal scrolling enabled (for alignment)
  10900. #        <4    - print characters regardless of attributes
  10901. #    \E[5;1v        - compressed (135 column) mode
  10902. #    \E[1;1;126    - margins at columns 1 and 126
  10903. #    \E[1;6;<2h
  10904. #        1    - print all characters even if protected
  10905. #        6    - character protection disabled
  10906. #        <2    - horizontal scrolling disabled
  10907. #    - (should reset scrolling regions, but that glitches the screen)
  10908. #
  10909. # Reset string 1 sets:
  10910. #    \Ec        - initial mode defaults (RIS)
  10911. #    \E[5;1v        - compressed (135 column) mode
  10912. #    \E[1;1;126w    - margins at columns 1 and 126
  10913. #    \E[<2h        - horizontal scrolling disabled
  10914. #
  10915. d410-w|d411-w|d460-w|d461-w|Data General DASHER D410/D460 series in wide mode, 
  10916.     cols#126, 
  10917.     is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
  10918.     rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410, 
  10919.  
  10920. d410-7b-w|d411-7b-w|d460-7b-w|d461-7b-w|Data General DASHER D410/D460 series in wide 7 bit mode, 
  10921.     cols#126, 
  10922.     is1=\E[<0;<1;<2;<4l\E[5;1v\E[1;1;126w\E[1;6;<2h, 
  10923.     rs1=\Ec\E[5;1v\E[1;1;126w\E[<2h, use=d410-7b, 
  10924.  
  10925. d412-dg|d462-dg|d462e-dg|d412+dg|d462+dg|d413-dg|d463-dg|Data General DASHER D412/D462 series in DG mode, 
  10926.     use=d410-dg, 
  10927.  
  10928. # These add intelligent features like scrolling regions.
  10929. d412-unix|d462-unix|d412+|d462+|Data General DASHER D412+/D462+ series in Unix mode, 
  10930.     civis=\036FQ0, clear=^^FE, cnorm=\036FQ5, 
  10931.     cup=\036FP%p2%2.2X%p1%2.2X, dch1=^^K, dl1=^^FI, 
  10932.     home=^^FG, hpa=\036FP%p1%2.2XFF, ich1=^^J, il1=^^FH, 
  10933.     is2=\036FQ5\036FW\036FJ\036F\^\036FX004F\036O\036FS00, 
  10934.     ll=\036FG\036PA, mc0=^A, rc=\036F}11, ri=^^I, 
  10935.     rs1=\036FA\036FT0, rs2=\036P@1, sc=\036F}10, 
  10936.     vpa=\036FPFF%p1%2.2X, 
  10937.     wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, 
  10938.     use=d216+, 
  10939. d412-unix-w|d462-unix-w|d412+w|d462+w|Data General DASHER D412+/D462+ series in wide Unix mode, 
  10940.     cols#132, 
  10941.     is2=\036FQ5\036FW\036FK\036F\^\036FX0083\036O\036FS00, 
  10942.     rs2=\036P@1\036FK\036FX0083, 
  10943.     wind=\036FB%?%p1%t%p1%2.2X1%;%p2%p1%-%{1}%+%2.2X1%?%{23}%p2%>%t001%;\036FX%p3%2.2X%p4%2.2X, 
  10944.     use=d412-unix, 
  10945. d412-unix-25|d462-unix-25|d412+25|d462+25|Data General DASHER D412+/D462+ series in Unix mode with 25 lines, 
  10946.     lines#25, 
  10947.     is3=\036Fz2, 
  10948.     wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{24}%p2%>%t000%;\036FX%p3%2.2X%p4%2.2X, 
  10949.     use=d462+, 
  10950. d412-unix-s|d462-unix-s|d412+s|d462+s|Data General DASHER D412+/D462+ in Unix mode with status line, 
  10951.     eslok, hs, 
  10952.     clear=\036FG\036PH, fsl=\036F}01\022, 
  10953.     is3=\036Fz2\036F}00\036FB180000\036F}01, ll@, 
  10954.     tsl=\036F}00\036FP%p1%2.2X18\036PG, 
  10955.     wind=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t%{23}%p2%-%2.2X0%;000\036FX%p3%2.2X%p4%2.2X, 
  10956.     use=d462+, 
  10957.  
  10958. #    Relative cursor motions are confined to the current window,
  10959. #    which is not what the scrolling region specification expects.
  10960. #    Thus, relative vertical cursor positioning must be deleted.
  10961. d412-unix-sr|d462-unix-sr|d412+sr|d462+sr|Data General DASHER D412+/D462+ in Unix mode with scrolling region, 
  10962.     csr=\036FB%?%p1%t%p1%2.2X0%;%p2%p1%-%{1}%+%2.2X0%?%{23}%p2%>%t000%;, 
  10963.     cud1@, cuu1@, ll@, use=d462+, 
  10964.  
  10965. d413-unix|d463-unix|Data General DASHER D413/D463 series in DG-UNIX mode, 
  10966.     use=d412-unix, 
  10967. d413-unix-w|d463-unix-w|Data General DASHER D413/D463 series in wide DG-UNIX mode, 
  10968.     use=d412-unix-w, 
  10969. d413-unix-25|d463-unix-25|Data General DASHER D413/D463 series in DG-UNIX mode with 25 lines, 
  10970.     use=d412-unix-25, 
  10971. d413-unix-s|d463-unix-s|Data General DASHER D413/D463 in DG-UNIX mode with status line, 
  10972.     use=d412-unix-s, 
  10973. d413-unix-sr|d463-unix-sr|Data General DASHER D413/D463 in DG-UNIX mode with scrolling region, 
  10974.     use=d412-unix-sr, 
  10975.  
  10976. d414-unix|d464-unix|Data General D414/D464 in DG-UNIX mode, 
  10977.     use=d413-unix, 
  10978. d414-unix-w|d464-unix-w|Data General D414/D464 in wide DG-UNIX mode, 
  10979.     use=d413-unix-w, 
  10980. d414-unix-25|d464-unix-25|Data General D414/D464 in DG-UNIX mode with 25 lines, 
  10981.     use=d413-unix-25, 
  10982. d414-unix-s|d464-unix-s|Data General D414/D464 in DG-UNIX mode with status line, 
  10983.     use=d413-unix-s, 
  10984. d414-unix-sr|d464-unix-sr|Data General D414/D464 in DG-UNIX mode with scrolling region, 
  10985.     use=d413-unix-sr, 
  10986.  
  10987. d430c-dg|d430-dg|Data General D430C in DG mode, 
  10988.     use=d413-dg, use=dg+fixed, 
  10989. d430c-dg-ccc|d430-dg-ccc|Data General D430C in DG mode with configurable colors, 
  10990.     use=d413-dg, use=dg+ccc, 
  10991.  
  10992. d430c-unix|d430-unix|Data General D430C in DG-UNIX mode, 
  10993.     use=d413-unix, use=dgunix+fixed, 
  10994. d430c-unix-w|d430-unix-w|Data General D430C in wide DG-UNIX mode, 
  10995.     use=d413-unix-w, use=dgunix+fixed, 
  10996. d430c-unix-25|d430-unix-25|Data General D430C in DG-UNIX mode with 25 lines, 
  10997.     use=d413-unix-25, use=dgunix+fixed, 
  10998. d430c-unix-s|d430-unix-s|Data General D430C in DG-UNIX mode with status line, 
  10999.     use=d413-unix-s, use=dgunix+fixed, 
  11000. d430c-unix-sr|d430-unix-sr|Data General D430C in DG-UNIX mode with scrolling region, 
  11001.     use=d413-unix-sr, use=dgunix+fixed, 
  11002. d430c-unix-ccc|d430-unix-ccc|Data General D430C in DG-UNIX mode with configurable colors, 
  11003.     use=d413-unix, use=dgunix+ccc, 
  11004. d430c-unix-w-ccc|d430-unix-w-ccc|Data General D430C in wide DG-UNIX mode with configurable colors, 
  11005.     use=d413-unix-w, use=dgunix+ccc, 
  11006. d430c-unix-25-ccc|d430-unix-25-ccc|Data General D430C in DG-UNIX mode with 25 lines and configurable colors, 
  11007.     use=d413-unix-25, use=dgunix+ccc, 
  11008. d430c-unix-s-ccc|d430-unix-s-ccc|Data General D430C in DG-UNIX mode with status line and configurable colors, 
  11009.     use=d413-unix-s, use=dgunix+ccc, 
  11010. d430c-unix-sr-ccc|d430-unix-sr-ccc|Data General D430C in DG-UNIX mode with scrolling region and configurable colors, 
  11011.     use=d413-unix-sr, use=dgunix+ccc, 
  11012.  
  11013. # DASHER D470C color terminal in ANSI mode.
  11014. # Like the D460 but with 16 colors and without a compressed mode.
  11015. #
  11016. # Initialization string 1 sets:
  11017. #    \E[<0;<1;<2;<4l
  11018. #        <0    - scrolling enabled
  11019. #        <1    - blink enabled
  11020. #        <2    - horizontal scrolling enabled (for alignment)
  11021. #        <4    - print characters regardless of attributes
  11022. #    \E[1;1;80w    - margins at columns 1 and 80
  11023. #    \E[1;6;<2h
  11024. #        1    - print all characters even if protected
  11025. #        6    - character protection disabled
  11026. #        <2    - horizontal scrolling disabled
  11027. #    - (should reset scrolling regions, but that glitches the screen)
  11028. #
  11029. d470c|d470|Data General DASHER D470C, 
  11030.     is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
  11031.     sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm\E)%?%p9%t6\016%e4\017%;, 
  11032.     use=dg+color, use=d460, 
  11033.  
  11034. d470c-7b|d470-7b|Data General DASHER D470C in 7 bit mode, 
  11035.     is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, 
  11036.     sgr=\E[%?%p1%p3%|%p6%|%t7;%{1}%e%{0}%;%PR%?%p4%t5;%{1}%e%{0}%;%PB%?%p2%p6%|%t4;%{1}%e%{0}%;%PU%?%p1%p5%|%t2;%{1}%e%{0}%;%PDm%?%p9%t\016%e\017%;, 
  11037.     use=dg+color, use=d460-7b, 
  11038.  
  11039. # Initialization string 2 sets:
  11040. #    ^^FQ2        - default cursor (solid rectangle)
  11041. #    ^^FW        - character protection disabled
  11042. #    ^^F\^        - horizontal scrolling enabled (for alignment)
  11043. #    ^^FX004?    - margins at columns 0 and 79
  11044. #    ^^F]        - horizontal scrolling disabled
  11045. #    ^^O        - primary character set
  11046. #    ^^FS00        - default character set (the keyboard native language)
  11047. #    - (should reset scrolling regions, but that glitches the screen)
  11048. #
  11049. d470c-dg|d470-dg|Data General DASHER D470C in DG mode, 
  11050.     is2=\036FQ2\036FW\036F\^\036FX004?\036F]\036O\036FS00, 
  11051.     use=dgmode+color, use=d460-dg, 
  11052.  
  11053. # DASHER D555 terminal in ANSI mode.
  11054. # Like a D411, but has an integrated phone.
  11055. d555|Data General DASHER D555, 
  11056.     use=d411, 
  11057. d555-7b|Data General DASHER D555 in 7-bit mode, 
  11058.     use=d411-7b, 
  11059. d555-w|Data General DASHER D555 in wide mode, 
  11060.     use=d411-w, 
  11061. d555-7b-w|Data General DASHER D555 in wide 7-bit mode, 
  11062.     use=d411-7b-w, 
  11063. d555-dg|Data General DASHER D555 series in DG mode, 
  11064.     use=d411-dg, 
  11065.  
  11066. # DASHER D577 terminal in ANSI mode.
  11067. # Like a D411, but acts as a keyboard for serial printers ("KSR" modes).
  11068. d577|Data General DASHER D577, 
  11069.     use=d411, 
  11070. d577-7b|Data General DASHER D577 in 7-bit mode, 
  11071.     use=d411-7b, 
  11072. d577-w|Data General DASHER D577 in wide mode, 
  11073.     use=d411-w, 
  11074. d577-7b-w|Data General DASHER D577 in wide 7-bit mode, 
  11075.     use=d411-7b-w, 
  11076.  
  11077. d577-dg|d578-dg|Data General DASHER D577/D578 series in DG mode, 
  11078.     use=d411-dg, 
  11079.  
  11080. # DASHER D578 terminal.
  11081. # Like a D577, but without compressed mode; like a D470C in this respect.
  11082. #
  11083. # Initialization string 1 sets:
  11084. #    \E[<0;<1;<2;<4l
  11085. #        <0    - scrolling enabled
  11086. #        <1    - blink enabled
  11087. #        <2    - horizontal scrolling enabled (for alignment)
  11088. #        <4    - print characters regardless of attributes
  11089. #    \E[1;1;80w    - margins at columns 1 and 80
  11090. #    \E[1;6;<2h
  11091. #        1    - print all characters even if protected
  11092. #        6    - character protection disabled
  11093. #        <2    - horizontal scrolling disabled
  11094. #    - (should reset scrolling regions, but that glitches the screen)
  11095. #
  11096. d578|Data General DASHER D578, 
  11097.     is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577, 
  11098. d578-7b|Data General DASHER D578 in 7-bit mode, 
  11099.     is1=\E[<0;<1;<2;<4l\E[1;1;80w\E[1;6;<2h, use=d577-7b, 
  11100.  
  11101. #### Datamedia (dm)
  11102. #
  11103. # Datamedia was headquartered in Nashua, New Hampshire until it went 
  11104. # out of business in 1993, but the ID plates on the terminals referred
  11105. # to the factory in Pennsauken, NJ.  The factory was sold to a PCB board
  11106. # manufacturer which threw out all information about the terminals.
  11107. #
  11108.  
  11109. cs10|colorscan|Datamedia Color Scan 10, 
  11110.     msgr, 
  11111.     cols#80, lines#24, 
  11112.     bel=^G, clear=\E[H\E[J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  11113.     cup=\E[%i%p1%02d;%p2%02dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  11114.     ind=^J, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  11115.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rmso=\E[m, rmul=\E[m, 
  11116.     sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  11117. cs10-w|Datamedia Color Scan 10 with 132 columns, 
  11118.     cols#132, 
  11119.     cup=\E[%i%p1%02d;%p2%03dH, use=cs10, 
  11120.  
  11121. # (dm1520: removed obsolete ":ma=^\ ^_^P^YH:" -- esr)
  11122. dm1520|dm1521|datamedia 1520, 
  11123.     OTbs, am, xenl, 
  11124.     cols#80, it#8, lines#24, 
  11125.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
  11126.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  11127.     home=^Y, ht=^I, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
  11128.     khome=^Y, 
  11129. # dm2500: this terminal has both <ich> and <smir>. Applications using 
  11130. # termcap/terminfo directly (rather than through ncurses) might be confused.
  11131. dm2500|datamedia2500|datamedia 2500, 
  11132.     OTbs, OTnc, 
  11133.     cols#80, lines#24, 
  11134.     bel=^G, clear=^^^^\177, cub1=^H, cud1=^J, cuf1=^\, 
  11135.     cup=\014%p2%{96}%^%c%p1%{96}%^%c, cuu1=^Z, 
  11136.     dch1=\020\010\030\035$<10*>, 
  11137.     dl1=\020\032\030\035$<10*>, el=^W, home=^B, 
  11138.     ich1=\020\034\030\035$<10*>, 
  11139.     il1=\020\n\030\035\030\035$<15>, ind=^J, pad=\377, 
  11140.     rmdc=^X^], rmir=\377\377\030\035$<10>, rmso=^X^], 
  11141.     smdc=^P, smir=^P, smso=^N, 
  11142. # dmchat is like DM2500, but DOES need "all that padding" (jcm 1/31/82)
  11143. # also, has a meta-key.
  11144. # From: <goldberger@su-csli.arpa>
  11145. # (dmchat: ":MT:" changed to ":km:" -- esr)
  11146. dmchat|dmchat version of datamedia 2500, 
  11147.     km, 
  11148.     dl1=\020\032\030\035$<2/>, 
  11149.     il1=\020\n\030\035\030\035$<1*/>, use=dm2500, 
  11150. # (dm3025: ":MT:" changed to ":km:" -- esr)
  11151. dm3025|datamedia 3025a, 
  11152.     OTbs, km, 
  11153.     cols#80, it#8, lines#24, 
  11154.     bel=^G, clear=\EM$<2>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  11155.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
  11156.     dch1=\010$<6>, dl1=\EP\EA\EQ$<130>, ed=\EJ$<2>, el=\EK, 
  11157.     home=\EH, ht=^I, il1=\EP\n\EQ$<130>, ind=^J, ip=$<6>, 
  11158.     is2=\EQ\EU\EV, rmdc=\EQ, rmir=\EQ, rmso=\EO0, smdc=\EP, 
  11159.     smir=\EP, smso=\EO1, 
  11160. dm3045|datamedia 3045a, 
  11161.     OTbs, am, eo, km@, ul, xenl, 
  11162.     dch1=\EB$<6>, dl1@, il1@, is2=\EU\EV, kcuf1=\EC, kcuu1=\EA, 
  11163.     kf0=\Ey\r, kf1=\Ep\r, kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, 
  11164.     kf5=\Et\r, kf6=\Eu\r, kf7=\Ev\r, kf8=\Ew\r, kf9=\Ex\r, 
  11165.     khome=\EH, pad=\177, rmdc@, rmir=\EP, rmso@, smdc@, smso@, 
  11166.     use=dm3025, 
  11167. # Datamedia DT80 soft switches:
  11168. # 1    0=Jump  1=Smooth
  11169. #     Autorepeat     0=off  1=on
  11170. #     Screen        0=Dark 1=light
  11171. #     Cursor        0=u/l  1=block
  11172. # 2    Margin Bell    0=off  1=on
  11173. #     Keyclick    0=off  1=on
  11174. #     Ansi/VT52    0=VT52 1=Ansi
  11175. #     Xon/Xoff    0=Off  1=On
  11176. # 3    Shift3        0=Hash 1=UK Pound
  11177. #     Wrap        0=Off  1=On
  11178. #     Newline        0=Off  1=On
  11179. #     Interlace    0=Off  1=On
  11180. #     
  11181. # 4    Parity        0=Odd  1=Even
  11182. #     Parity        0=Off  1=On
  11183. #     Bits/Char    0=7    1=8
  11184. #     Power        0=60Hz 1=50Hz
  11185. # 5    Line Interface  0=EIA  1=Loop
  11186. #     Aux Interface   0=EIA  1=Loop
  11187. #     Local Copy        0=Off  1=On    
  11188. #     Spare
  11189. # 6    Aux Parity    0=Odd  1=Even
  11190. #     Aux Parity    0=Off  1=On
  11191. #     Aux Bits/Char   0=7    1=8
  11192. #     CRT Saver    0=Off  1=On
  11193. # dm80/1 is a vt100 lookalike, but it doesn't seem to need any padding.
  11194. dm80|dmdt80|dt80|datamedia dt80/1, 
  11195.     clear=\E[2J\E[H, cud1=^J, cuf1=\E[C, 
  11196.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  11197.     home=\E[H, mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, ri=\EM, 
  11198.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  11199.     use=vt100, 
  11200. # except in 132 column mode, where it needs a little padding.
  11201. # This is still less padding than the vt100, and you can always turn on
  11202. # the ^S/^Q handshaking, so you can use vt100 flavors for things like
  11203. # reverse video.
  11204. dm80w|dmdt80w|dt80w|datamedia dt80/1 in 132 char mode, 
  11205.     cols#132, 
  11206.     clear=\E[H\E[2J$<50/>, cud1=^J, 
  11207.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<5/>, 
  11208.     ed=\E[0J$<20/>, el=\E[0K$<20/>, use=dm80, 
  11209. # From: Adam Thompson <athompso@pangea.ca> Sept 10 1995
  11210. dt80-sas|Datamedia DT803/DTX for SAS usage, 
  11211.     am, bw, 
  11212.     cols#80, lines#24, 
  11213.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  11214.     bel=^G, clear=^L, cr=^M, 
  11215.     csr=\E=%p1%{32}%+%c%{32}%c\E#1\E=%p2%{32}%+%c%{32}%c\E#2, 
  11216.     cub1=^H, cud1=\EB, cuf1=^\, 
  11217.     cup=\E=%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, dl1=\EM, ed=^K, 
  11218.     el=^], ff=^L, home=^Y, ht=^I, hts=\E'1, il1=\EL, ind=\EB, 
  11219.     is2=\E)0\E<\EP\E'0\E$2, kclr=^L, kcub1=^H, kcud1=^J, 
  11220.     kcuf1=^\, kcuu1=^_, ked=^K, kel=^], khome=^Y, mc4=^O, mc5=^N, 
  11221.     rev=\E$2\004, ri=\EI, rmacs=\EG, rmso=^X, sgr0=^X, smacs=\EF, 
  11222.     smso=\E$2\004, tbc=\E'0, 
  11223.  
  11224. # Datamedia Excel 62, 64 from Gould/SEL UTX/32 via BRL
  11225. # These aren't end-all Excel termcaps; but do insert/delete char/line
  11226. # and name some of the extra function keys.  (Mike Feldman ccvaxa!feldman)
  11227. # The naming convention has been bent somewhat, with the use of E? (where
  11228. # E is for 'Excel') as # a name.  This was done to distinguish the entries
  11229. # from the other Datamedias in use here, and yet to associate a model of
  11230. # the Excel terminals with the regular datamedia terminals that share
  11231. # major characteristics.
  11232. excel62|excel64|datamedia Excel 62, 
  11233.     dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
  11234.     kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
  11235.     use=dt80, 
  11236. excel62-w|excel64-w|datamedia Excel 62 in 132 char mode, 
  11237.     dch1=\E[P, kbs=^H, kcub1=^H, kcud1=^J, kf5=\EOu, kf6=\EOv, 
  11238.     kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, smir=\E[4h, 
  11239.     use=dt80w, 
  11240. excel62-rv|excel64-rv|datamedia Excel 62 in reverse video mode, 
  11241.     dch1=\E[P, flash=\E[?5l\E[?5h, kbs=^H, kcub1=^H, kcud1=^J, 
  11242.     kf5=\EOu, kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, rmir=\E[4l, 
  11243.     smir=\E[4h, use=dt80, 
  11244.  
  11245. #### Falco
  11246. #
  11247. #    Falco Data Products
  11248. #    440 Potrero Avenue
  11249. #    Sunnyvale, CA 940864-196
  11250. #    Vox: (800)-325-2648
  11251. #    Fax: (408)-745-7860
  11252. #    Net: techsup@charm.sys.falco.com
  11253. #
  11254. # Current Falco models as of 1995 are generally ANSI-compatible and support
  11255. # emulations of DEC VT-series, Wyse, and Televideo types.
  11256. #
  11257.  
  11258. # Test version for Falco ts-1. See <arpavax.hickman@ucb> for info
  11259. # This terminal was released around 1983 and was discontinued long ago.
  11260. # The standout and underline highlights are the same.
  11261. falco|ts1|ts-1|falco ts-1, 
  11262.     OTbs, am, 
  11263.     cols#80, it#8, lines#24, 
  11264.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  11265.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  11266.     dl1=\ER, ed=\EY, el=\ET\EG0\010, home=^^, ht=^I, il1=\EE, 
  11267.     ind=^J, is2=\Eu\E3, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  11268.     kf0=^A0\r, rmir=\Er, rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, 
  11269.     smir=\Eq, smso=\Eg1, smul=\Eg1, 
  11270. falco-p|ts1p|ts-1p|falco ts-1 with paging option, 
  11271.     OTbs, am, da, db, mir, msgr, ul, 
  11272.     cols#80, it#8, lines#24, 
  11273.     bel=^G, cbt=\EI, clear=\E*, cr=^M, cub1=^H, cud1=\E[B, 
  11274.     cuf1=\E[C, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E[A, 
  11275.     dch1=\EW, dl1=\ER, ed=\EY, el=\ET\EG0\010\Eg0, ht=^I, 
  11276.     il1=\EE, ind=^J, is2=\EZ\E3\E_c, kcub1=\E[D, kcud1=\E[B, 
  11277.     kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, rmcup=\E_b, rmir=\Er, 
  11278.     rmso=\Eg0, rmul=\Eg0, sgr0=\Eg0, smcup=\E_d, smir=\Eq, 
  11279.     smso=\Eg4, smul=\Eg1, 
  11280. # (ts100: I added <rmam>/<smam> based on the init string -- esr)
  11281. ts100|ts100-sp|falco ts100-sp, 
  11282.     am, mir, msgr, xenl, xon, 
  11283.     cols#80, it#8, lines#24, vt#3, 
  11284.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  11285.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  11286.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  11287.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  11288.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  11289.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  11290.     cuu1=\E[A$<2>, dch1=\E~W, dl1=\E~R, ed=\E[J$<50>, 
  11291.     el=\E[K$<3>, el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, 
  11292.     ht=^I, hts=\EH, ich1=\E~Q, il1=\E~E, ind=^J, is1=\E~)\E~ea, 
  11293.     ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, 
  11294.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
  11295.     kf0=\EOy, kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, 
  11296.     kf5=\EOt, kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
  11297.     rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  11298.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  11299.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  11300.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
  11301.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  11302.     smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  11303. ts100-ctxt|falco ts-100 saving context, 
  11304.     rmcup=\E~_b, smcup=\E~_d\E[2J, use=ts100, 
  11305.  
  11306. #### Florida Computer Graphics
  11307. #
  11308.  
  11309. # Florida Computer Graphics Beacon System, using terminal emulator program
  11310. # "host.com", as provided by FCG.  This description is for an early release
  11311. # of the "host" program.  Known bug: <ed> clears the whole screen, so it's
  11312. # commented out.
  11313.  
  11314. # From: David Bryant <cbosg!djb> 1/7/83
  11315. beacon|FCG Beacon System, 
  11316.     am, da, db, 
  11317.     cols#80, lines#32, 
  11318.     bel=\ESTART\r\E37\r\EEND\r$<1>, 
  11319.     blink=\ESTART\r\E61\,1\r\EEND\r, clear=\EZ$<10>, cr=^M, 
  11320.     cub1=^H, cud1=^J, cuf1=\EV, 
  11321.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=\EU, 
  11322.     dch1=\EW, dl1=\ER, el=\ET, home=\EH$<10>, ich1=\EQ, il1=\EE, 
  11323.     ind=^J, rev=\ESTART\r\E59\,1\r\EEND\r, rmcup=, 
  11324.     rmso=\ESTART\r\E70\,0\r\EEND\r$<20>, 
  11325.     rmul=\ESTART\r\E60\,0\r\EEND\r, 
  11326.     sgr0=\ESTART\r\E78\r\E70\,0\r\EEND\r$<20>, 
  11327.     smcup=\ESTART\r\E2\,0\r\E12\r\EEND\r$<10>, 
  11328.     smso=\ESTART\r\E70\,6\r\EEND\r$<20>, 
  11329.     smul=\ESTART\r\E60\,1\r\EEND\r, 
  11330.  
  11331. #### Fluke
  11332. #
  11333.  
  11334. # The f1720a differences from ANSI: no auto margin, destructive 
  11335. # tabs, # of lines, funny highlighting and underlining
  11336. f1720|f1720a|fluke 1720A, 
  11337.     xt, 
  11338.     cols#80, lines#16, xmc#1, 
  11339.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  11340.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, 
  11341.     el=\E[K, ind=\ED, is2=\E[H\E[2J, kcub1=^_, kcud1=^], 
  11342.     kcuf1=^^, kcuu1=^\, ri=\EM, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  11343.     smso=\E[7m, smul=\E[4m, 
  11344.  
  11345. #### Liberty Electronics (Freedom)
  11346. #
  11347. #    Liberty Electronics
  11348. #    48089 Fremont Blvd
  11349. #    Fremont CA 94538
  11350. #    Vox: (510)-623-6000
  11351. #    Fax: (510)-623-7021
  11352.  
  11353. # From: <faletti@berkeley.edu>
  11354. # (f100: added empty <acsc> to suppress a tic warning;
  11355. # made this relative to adm+sgr -- note that <invis> isn't
  11356. # known to work for f100 but does on the f110. --esr)
  11357. f100|freedom|freedom100|freedom model 100, 
  11358.     OTbs, am, bw, hs, mir, msgr, xon, 
  11359.     cols#80, lines#24, 
  11360.     acsc=, bel=^G, cbt=\EI, clear=^Z, cr=^M, cub1=^H, cud1=^J, 
  11361.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  11362.     dch1=\EW, dl1=\ER$<11.5*>, dsl=\Eg\Ef\r, ed=\EY, el=\ET, 
  11363.     flash=\Eb$<200>\Ed, fsl=^M, home=^^, hpa=\E]%p1%{32}%+%c, 
  11364.     ht=^I, hts=\E1, il1=\EE$<8.5*>, ind=^J, ip=$<6>, 
  11365.     is2=\Eg\Ef\r\Ed, kbs=^H, kcbt=\EI, kcub1=^H, kcud1=^V, 
  11366.     kcuf1=^L, kcuu1=^K, kf1=^A@\r, kf10=^AI\r, kf2=^AA\r, 
  11367.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  11368.     kf8=^AG\r, kf9=^AH\r, khome=^^, ri=\Ej, rmacs=\E$, rmir=\Er, 
  11369.     smacs=\E%%, smir=\Eq, tbc=\E3, tsl=\Eg\Ef, 
  11370.     vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
  11371. f100-rv|freedom-rv|freedom 100 in reverse video, 
  11372.     flash=\Ed$<200>\Eb, is2=\Eg\Ef\r\Eb, use=f100, 
  11373. # The f110 and f200 have problems with vi(1).  They use the ^V
  11374. # code for the down cursor key. When kcud1 is defined in terminfo
  11375. # as ^V, the Control Character Quoting capability (^V in insert mode)
  11376. # is lost! It cannot be remapped in vi because it is necessary to enter
  11377. # a ^V to to quote the ^V that is being remapped!!!
  11378. # f110/f200 users will have to decide whether
  11379. # to lose the down cursor key or the quoting capability. We will opt
  11380. # initially for leaving the quoting capability out, since use of VI
  11381. # is not generally applicable to most interactive applications
  11382. # (f110: added <ht>, <khome> & <kcbt> from f100 -- esr)
  11383. f110|freedom110|Liberty Freedom 110, 
  11384.     bw@, eslok, 
  11385.     it#8, wsl#80, 
  11386.     blink=\EG2, bold=\EG0, civis=\E.1, cnorm=\E.2, cud1=^V, 
  11387.     cvvis=\E.2, dim=\EG@, dl1=\ER, dsl=\Ef\r, 
  11388.     flash=\Eb$<200/>\Ed, il1=\EE, ip@, is2@, kclr=^^, kdch1=\EW, 
  11389.     kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf10@, kich1=\EQ, 
  11390.     kil1=\EE, mc4=\Ea, mc5=\E`, ri=\EJ, rmacs=\E%%, rmir=\Er\EO, 
  11391.     smacs=\E$, smir=\EO\Eq, smso=\EG<, tsl=\Ef, use=f100, 
  11392. f110-14|Liberty Freedom 110 14inch, 
  11393.     dch1@, use=f110, 
  11394. f110-w|Liberty Freedom 110 - 132 cols, 
  11395.     cols#132, use=f110, 
  11396. f110-14w|Liberty Freedom 110 14in/132 cols, 
  11397.     cols#132, 
  11398.     dch1@, use=f110, 
  11399. # (f200: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  11400. f200|freedom200|Liberty Freedom 200, 
  11401.     OTbs, am, eslok, hs, mir, msgr, xon, 
  11402.     cols#80, it#8, lines#24, wsl#80, 
  11403.     acsc=, bel=^G, blink=\EG2, bold=\EG0, cbt=\EI, civis=\E.0, 
  11404.     clear=^Z, cnorm=\E.1, cr=^M, 
  11405.     csr=\Em0%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^V, 
  11406.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  11407.     cvvis=\E.1, dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, 
  11408.     el=\ET, flash=\Eo$<200/>\En, fsl=^M, home=^^, 
  11409.     hpa=\E]%p1%{32}%+%c, hts=\E1, il1=\EE, ind=^J, kbs=^H, 
  11410.     kclr=^^, kcub1=^H, kcud1=^V, kcuf1=^L, kcuu1=^K, kdch1=\EW, 
  11411.     kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  11412.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  11413.     kf8=^AG\r, kf9=^AH\r, kich1=\EQ, kil1=\EE, mc4=\Ea, mc5=\E`, 
  11414.     ri=\EJ, rmacs=\E%%, rmir=\Er, smacs=\E$, smir=\Eq, smso=\EG<, 
  11415.     tbc=\E3, tsl=\Ef, vpa=\E[%p1%{32}%+%c, use=adm+sgr, 
  11416. f200-w|Liberty Freedom 200 - 132 cols, 
  11417.     cols#132, use=f200, 
  11418. # The f200 has the ability to reprogram the down cursor key. The key is
  11419. # reprogrammed to ^J (linefeed). This value is remembered in non-volatile RAM,
  11420. # so powering the terminal off and on will not cause the change to be lost.
  11421. f200vi|Liberty Freedom 200 for vi, 
  11422.     flash=\Eb$<200/>\Ed, kcud1=^J, use=f200, 
  11423. f200vi-w|Liberty Freedom 200 - 132 cols for vi, 
  11424.     cols#132, use=f200vi, 
  11425.  
  11426. #### GraphOn (go)
  11427. #
  11428. #    Graphon Corporation
  11429. #    544 Division Street
  11430. #    Campbell, CA 95008
  11431. #    Vox: (408)-370-4080
  11432. #    Fax: (408)-370-5047
  11433. #    Net: troy@graphon.com (Troy Morrison)
  11434. #
  11435. #
  11436. # The go140 and go225 have been discontinued.  GraphOn now makes X terminals,
  11437. # including one odd hybrid that starts out life on power-up as a character
  11438. # terminal, than can be switched to X graphics mode (driven over the serial
  11439. # line) by an escape sequence.  No info on this beast yet.
  11440. # (go140: I added <rmam>/<smam> based on the init string -- esr)
  11441. go140|graphon go-140, 
  11442.     OTbs, 
  11443.     cols#80, it#8, lines#24, 
  11444.     clear=\E[H\E[2J$<10/>, cub1=^H, cuf1=\E[C, 
  11445.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  11446.     ed=\E[J$<10/>, el=\E[K, ht=^I, 
  11447.     if=/usr/share/tabset/vt100, il1=\E[L, 
  11448.     is2=\E<\E=\E[?3l\E[?7l\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
  11449.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  11450.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
  11451.     rmam=\E[?7l, rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, 
  11452.     rmul=\E[m, sgr0=\E[m, smam=\E[?7h, smir=\E[4h, 
  11453.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  11454. go140w|graphon go-140 in 132 column mode, 
  11455.     am, 
  11456.     cols#132, 
  11457.     is2=\E<\E=\E[?3h\E[?7h\E(B\E[J\E7\E[;r\E8\E[m\E[q, 
  11458.     use=go140, 
  11459. # Hacked up vt200 termcap to handle GO-225/VT220
  11460. # From: <edm@nwnexus.WA.COM>
  11461. # (go225: I added <rmam>/<smam> based on the init string -- esr)
  11462. go225|go-225|Graphon 225, 
  11463.     OTbs, am, mir, xenl, 
  11464.     cols#80, it#8, lines#25, vt#3, 
  11465.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  11466.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  11467.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  11468.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[L, ind=\ED, 
  11469.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, kbs=^H, 
  11470.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  11471.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, rc=\E8, rev=\E[7m, 
  11472.     rf=/usr/share/tabset/vt100, ri=\EM, rmam=\E[?7l, 
  11473.     rmcup=\E[!p\E[?7h\E[2;1;1#w, rmir=\E[4l, rmkx=\E>, 
  11474.     rmso=\E[27m, rmul=\E[24m, rs1=\E[!p\E[?7h\E[2;1;1#w, 
  11475.     sc=\E7, sgr0=\E[m, smam=\E[?7h, smcup=\E[2;0#w\E[1;25r, 
  11476.     smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
  11477.  
  11478. #### Harris (Beehive)
  11479. #
  11480. # Bletch.  These guys shared the Terminal Brain Damage laurels with Hazeltine.
  11481. # Their terminal group is ancient history now (1995) though the parent
  11482. # company is still in business.
  11483. #
  11484.  
  11485. # Beehive documentation is undated and marked Preliminary and has no figures
  11486. # so we must have early Superbee2 (Model 600, according to phone conversation
  11487. # with mfr.). It has proved reliable except for some missing padding
  11488. # (notably after \EK and <nl> at bottom of screen).
  11489. # The key idea is that AEP mode is poison for <cup> & that US's in 
  11490. # the local memory should be avoided like the plague. That means 
  11491. # that the 2048 character local buffer is used as 25 lines of 80 
  11492. # characters, period. No scrolling local memory, folks. It also 
  11493. # appears that we cannot use naked INS LINE feature since it uses
  11494. # US. The sbi fakes <il1> with an 80-space insert that may be too 
  11495. # slow at low speeds; also spaces get converted to \040 which is 
  11496. # too long for some programs (not vi).  DEL LINE is ok but slow.
  11497. # The <nl> string is designed for last line of screen ONLY; cup to 
  11498. # 25th line corrects the motion inherent in scrolling to Page 1.
  11499. # There is one understood bug. It is that the screen appears to
  11500. # pop to a new (blank) page after a <nel>, or leave a half-line 
  11501. # ellipsis to a quad that is the extra 48 memory locations. The 
  11502. # data received is dumped into memory but not displayed.  Not to 
  11503. # worry if <cup> is being used; the lines not displayed will be, 
  11504. # whenever the cursor is moved up there. Since <cup> is addressed 
  11505. # relative to MEMORY of window, nothing is lost; but beware of 
  11506. # relative cursor motion (<cuu1>,<cud1>,<cuf1>,<cub1>). Recommended,
  11507. # therefore, is setenv MORE -c .
  11508. # WARNING: Not all features tested.
  11509. # Timings are assembled from 3 sources. Some timings may reflect 
  11510. # SB2/Model 300 that were used if more conservative.
  11511. # Tested on a Model 600 at 1200 and 9600 bd.
  11512. # The BACKSPACEkb option is cute. The NEWLINE key, so cleverly 
  11513. # placed on the keyboard and useless because of AEP, is made 
  11514. # into a backspace key. In use ESC must be pressed twice (to send)
  11515. # and sending ^C must be prefixed by ESC to avoid that weird 
  11516. # transmit mode associated with ENTER key.
  11517. # IF TERMINAL EVER GOES CATATONIC with the cursor buzzing across 
  11518. # the screen, then it has dropped into ENTER mode; hit 
  11519. # RESET--ONLINE--!tset.
  11520. # As delivered this machine has a FATAL feature that will throw 
  11521. # it into that strange transmit state (SPOW) if the space bar is 
  11522. # hit after a CR is received, but before receiving a LF (or a 
  11523. # few others).
  11524. # The circuits MUST be modified to eliminate the SPOW latch. 
  11525. # This is done by strapping on chip A46 of the I/O board; cut 
  11526. # the p.c. connection to Pin 5 and strap Pin 5 to Pin 8 of that 
  11527. # chip. This mod has been checked out on a Mod 600 of Superbee II.
  11528. # With this modification absurdly high timings on cr are 
  11529. # unnecessary.
  11530. # NOTE WELL that the rear panel switch should be set to CR/LF, 
  11531. # not AEP!
  11532. #
  11533. sb1|beehive superbee, 
  11534.     OTbs, am, bw, da, db, mir, ul, xsb, 
  11535.     cols#80, lines#25, xmc#1, 
  11536.     bel=^G, cbt=\E`$<650>, clear=\EH$<1>\EJ$<3>, cr=$<1>\r, 
  11537.     cub1=^H, cud1=^J, cuf1=\EC$<3>, cup=\EF%p2%03d%p1%03d, 
  11538.     cuu1=\EA$<3>, dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, 
  11539.     el=\EK$<3>, home=\EH$<1>, ht=^I, hts=\E1, 
  11540.     il1=\EN\EL$<3>\EQ                                                                                \EP$<3> \EO\ER\EA$<3>, 
  11541.     ind=^J, is2=\EE$<3>\EX\EZ\EO\Eb\Eg\ER, kbs=^_, kcub1=\ED, 
  11542.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdl1=\EM, ked=\EJ, kel=\EK, 
  11543.     kf0=\E2, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, 
  11544.     kf7=\Ev, kf8=\Ew, kf9=\E1, khome=\EH, kich1=\EQ\EO, 
  11545.     krmir=\ER, lf0=TAB CLEAR, lf9=TAB SET, rmcup=, rmir=\ER, 
  11546.     rmso=\E_3, rmul=\E_3, sgr0=\E_3, smcup=\EO, smir=\EQ\EO, 
  11547.     smso=\E_1, smul=\E_0, tbc=\E3, 
  11548. sbi|superbee|beehive superbee at Indiana U., 
  11549.     xsb, 
  11550.     cr=\r$<1>, il1=1\EN\EL$<9>\EQ \EP$<9> \EO\ER\EA, 
  11551.     use=sb1, 
  11552. # Alternate (older) description of Superbee - f1=escape, f2=^C.
  11553. # Note: there are at least 3 kinds of superbees in the world.  The sb1
  11554. # holds onto escapes and botches ^C's.  The sb2 is the best of the 3.
  11555. # The sb3 puts garbage on the bottom of the screen when you scroll with
  11556. # the switch in the back set to CRLF instead of AEP.  This description
  11557. # is tested on the sb2 but should work on all with either switch setting.
  11558. # The f1/f2 business is for the sb1 and the <xsb> can be taken out for
  11559. # the other two if you want to try to hit that tiny escape key.
  11560. # This description is tricky: being able to use cup depends on there being
  11561. # 2048 bytes of memory and the hairy <nl> string.
  11562. superbee-xsb|beehive super bee, 
  11563.     am, da, db, xsb, 
  11564.     cols#80, it#8, lines#25, 
  11565.     clear=\EH\EJ$<3>, cnorm=^J, cr=\r$<1000>, cub1=^H, cud1=^J, 
  11566.     cuf1=\EC, cup=\EF%p2%3d%p1%3d, cuu1=\EA$<3>, 
  11567.     dch1=\EP$<3>, dl1=\EM$<100>, ed=\EJ$<3>, el=\EK$<3>, 
  11568.     home=\EH, ht=^I, hts=\E1, 
  11569.     ind=\n\0\0\0\n\0\0\0\EA\EK\0\0\0\ET\ET, is2=\EH\EJ, 
  11570.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ep, kf2=\Eq, 
  11571.     kf3=\Er, kf4=\Es, kf5=\Et, kf6=\Eu, kf7=\Ev, kf8=\Ew, 
  11572.     khome=\EH, rmso=\E_3, sgr0=\E_3, smso=\E_1, tbc=\E3, 
  11573. # This loses on lines > 80 chars long, use at your own risk
  11574. superbeeic|super bee with insert char, 
  11575.     ich1=, rmir=\ER, smir=\EQ, use=superbee-xsb, 
  11576. sb2|sb3|fixed superbee, 
  11577.     xsb@, use=superbee, 
  11578.  
  11579. ####  Beehive Medical Electronics
  11580. #
  11581. # Steve Seymour <srseymour@mindspring.com> writes (Wed, 03 Feb 1999):
  11582. # Regarding your question though; Beehive terminals weren't made by Harris.
  11583. # They were made by Beehive Medical Electronics in Utah. They went out of
  11584. # business in the early '80s.
  11585. #
  11586. # (OK, then, I don't know why a couple of these say "harris beehive".)
  11587. #
  11588.  
  11589. # Reports are that most of these Beehive entries (except superbee) have not
  11590. # been tested and do not work right.  <rmso> is a trouble spot.  Be warned.
  11591.  
  11592. # (bee: <ich1> was empty, which is obviously bogus -- esr)
  11593. beehive|bee|harris beehive, 
  11594.     OTbs, am, mir, 
  11595.     cols#80, lines#24, 
  11596.     cbt=\E>, clear=\EE, cub1=^H, cud1=\EB, cuf1=\EC, 
  11597.     cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
  11598.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, kbs=^H, kcbt=\E>, 
  11599.     kclr=\EE, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  11600.     kdch1=\EP, kdl1=\EM, kel=\EK, khome=\EH, kich1=\EQ, kil1=\EL, 
  11601.     krmir=\E@, rmir=\E@, rmso=\Ed@, rmul=\Ed@, sgr0=\Ed@, 
  11602.     smir=\EQ, smso=\EdP, smul=\Ed`, 
  11603. # set tab is ^F, clear (one) tab is ^V, no way to clear all tabs.
  11604. # good grief - does this entry make :sg:/:ug: when it doesn't have to?
  11605. # look at those spaces in <rmso>/<smso>.  Seems strange to me...
  11606. # (beehive: <if=/usr/share/tabset/beehive> removed, no such file.  If you
  11607. # really care, cook up one using ^F -- esr)
  11608. beehive3|bh3m|beehiveIIIm|harris beehive 3m, 
  11609.     OTbs, am, 
  11610.     cols#80, it#8, lines#20, 
  11611.     bel=^G, clear=^E^R, cr=^M, cub1=^H, cud1=^J, cuf1=^L, cuu1=^K, 
  11612.     dl1=\021$<350>, ed=^R, el=^P, home=^E, ht=^I, hts=^F, 
  11613.     il1=\023$<160>, ind=^J, ll=^E^K, rmso=\s^_, smso=^]\s, 
  11614. beehive4|bh4|beehive 4, 
  11615.     am, 
  11616.     cols#80, lines#24, 
  11617.     bel=^G, clear=\EE, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
  11618.     cuu1=\EA, ed=\EJ, el=\EK, home=\EH, ind=^J, 
  11619. # There was an early Australian kit-built computer called a "Microbee".
  11620. # It's not clear whether this is for one of those or for a relative
  11621. # of the Beehive.
  11622. microb|microbee|micro bee series, 
  11623.     OTbs, am, 
  11624.     cols#80, it#8, lines#24, 
  11625.     bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  11626.     cup=\EF%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  11627.     el=\EK, ht=^I, ind=^J, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  11628.     kcuu1=\EA, kf1=\Ep, kf2=\Eq, kf3=\Er, kf4=\Es, kf5=\Et, 
  11629.     kf6=\Eu, kf7=\Ev, kf8=\Ew, kf9=\Ex, khome=\EH, rmso=\Ed@, 
  11630.     rmul=\Ed@, sgr0=\Ed@, smso=\s\EdP, smul=\Ed`, 
  11631.  
  11632. # 8675, 8686, and bee from Cyrus Rahman
  11633. # (8675: changed k10, k11...k16 to k;, F1...F6 -- esr)
  11634. ha8675|harris 8675, 
  11635.     is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU, kf1=^F, 
  11636.     kf10=\Ed, kf11=^W, kf12=\ER, kf13=\EE, kf14=\EI, kf15=\Ei, 
  11637.     kf16=\Eg, kf2=^P, kf3=^N, kf4=^V, kf5=^J, kf6=^T, kf7=^H, 
  11638.     kf8=\177, kf9=\Ee, use=bee, 
  11639. # (8686: changed k10, k11...k16 to k;, F1...F6; fixed broken continuation
  11640. # in :is: -- esr)
  11641. ha8686|harris 8686, 
  11642.     is2=\ES\E#\E*\Eh\Em\E?\E1\E9\E@\EX\EU\E"*Z01\E"8F35021B7C83#\E"8F45021B7D83#\E"8F55021B7E83#\E"8F65021B7F83#\E"8F75021B7383#\E"8F851BD7#\E"8F95021B7083#\E"8FA5021B7183#\E"8FB5021B7283#, 
  11643.     kf1=\002\Ep\003, kf10=\Ej, kf11=\EW, kf12=\002\E{\003, 
  11644.     kf13=\002\E|\003, kf14=\002\E}\003, kf15=\002\E~\003, 
  11645.     kf16=\002\E\177\003, kf2=\002\Eq\003, kf3=\002\Er\003, 
  11646.     kf4=\002\Es\003, kf5=\E3, kf6=\EI, kf7=\ER, kf8=\EJ, kf9=\E(, 
  11647.     use=bee, 
  11648.  
  11649. #### Hazeltine
  11650. #
  11651. # Hazeltine appears to be out of the terminal business as of 1995.  These
  11652. # guys were co-owners of the Terminal Brain Damage Hall Of Fame along with
  11653. # Harris. They have a hazeltine.com domain (but no web page there ) and can
  11654. # be reached at:
  11655. #
  11656. #    Hazeltine
  11657. #    450 East Pulaski Road
  11658. #    Greenlawn, New York 11740
  11659. #
  11660. # As late as 1993, manuals for the terminal product line could still be
  11661. # purchased from:
  11662. #
  11663. #    TRW Customer Service Division
  11664. #    15 Law Drive
  11665. #    P.O. Box 2076
  11666. #    Fairfield, NJ 07007-2078
  11667. #
  11668. # They're now (1998) a subsidiary of General Electric, operating under the
  11669. # marque "GEC-Marconi Hazeltine" and doing military avionics.  Web page
  11670. # at <http://www.gec.com/cpd/1ncpd.htm#1.55>.
  11671. #
  11672.  
  11673. # Since <cuf1> is blank, when you want to erase something you
  11674. # are out of luck.  You will have to do ^L's a lot to
  11675. # redraw the screen.  h1000 is untested.  It doesn't work in
  11676. # vi - this terminal is too dumb for even vi.  (The code is
  11677. # there but it isn't debugged for this case.)
  11678. hz1000|hazeltine 1000, 
  11679.     OTbs, 
  11680.     cols#80, lines#12, 
  11681.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\s, home=^K, 
  11682.     ind=^J, 
  11683. # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
  11684. hz1420|hazeltine 1420, 
  11685.     OTbs, am, 
  11686.     cols#80, lines#24, 
  11687.     bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=^J, cuf1=^P, 
  11688.     cup=\E\021%p2%c%p1%{32}%+%c, cuu1=\E^L, dl1=\E^S, 
  11689.     ed=\E^X, el=\E^O, ht=^N, il1=\E^Z, ind=^J, rmso=\E^Y, 
  11690.     smso=\E^_, 
  11691. # New "safe" cursor movement (11/87) from <cgs@umd5.umd.edu>.  Prevents
  11692. # freakout with out-of-range args and tn3270.  No hz since it needs to
  11693. # receive tildes.
  11694. hz1500|hazeltine 1500, 
  11695.     OTbs, am, hz, 
  11696.     cols#80, lines#24, 
  11697.     bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
  11698.     cup=~\021%p2%p2%?%{30}%>%t%{32}%+%;%{96}%+%c%p1%{96}%+%c, 
  11699.     cuu1=~^L, dl1=~\023$<40>, ed=~\030$<10>, el=~^O, home=~^R, 
  11700.     il1=~\032$<40>, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^P, 
  11701.     kcuu1=~^L, khome=~^R, rmso=~^Y, smso=~^_, 
  11702. # h1510 assumed to be in sane escape mode.  Else use h1500.
  11703. # (h1510: early versions of this entry apparently had "<rmso=\E^_>, 
  11704. # <smso=\E^Y>, but these caps were commented out in 8.3; also,
  11705. # removed incorrect and overridden ":do=^J:" -- esr)
  11706. hz1510|hazeltine 1510, 
  11707.     OTbs, am, 
  11708.     cols#80, lines#24, 
  11709.     bel=^G, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, cuf1=^P, 
  11710.     cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, ed=\E^X, 
  11711.     el=\E^O, il1=\E^Z, ind=^J, 
  11712. # Hazeltine 1520
  11713. # The following switch settings are assumed for normal operation:
  11714. #    FULL        CR        U/L_CASE    ESCAPE
  11715. #    FORMAT_OFF    EOM_A_OFF    EOM_B_OFF    WRAPAROUND_ON
  11716. # Other switches may be set for operator convenience or communication
  11717. # requirements.
  11718. hz1520|Hazeltine 1520, 
  11719.     OTbs, am, bw, msgr, 
  11720.     cols#80, lines#24, 
  11721.     bel=^G, bold=\E^_, clear=\E^\, cr=^M, cub1=^H, cud1=^J, 
  11722.     cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
  11723.     ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, kbs=^H, 
  11724.     kclr=\E^\, kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, 
  11725.     kdl1=\E^S, ked=\E^X, kel=\E^O, khome=\E^R, kil1=\E^Z, 
  11726.     rmso=\E^Y, rs1=\E$\E\005\E?\E\031, sgr0=\E^Y, smso=\E^_, 
  11727. # This version works with the escape switch off
  11728. # (h1520: removed incorrect and overridden ":do=^J:" -- esr)
  11729. hz1520-noesc|hazeltine 1520, 
  11730.     am, hz, 
  11731.     cols#80, lines#24, 
  11732.     bel=^G, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
  11733.     cup=~\021%p2%c%p1%c$<1>, cuu1=~^L, dl1=~^S, ed=~^X, el=~^O, 
  11734.     home=~^R, il1=~^Z, ind=^J, rmso=~^Y, smso=~^_, 
  11735. # Note: the h1552 appears to be the first Hazeltine terminal which
  11736. # is not braindamaged.  It has tildes and backprimes and everything!
  11737. # Be sure the auto lf/cr switch is set to cr.
  11738. hz1552|hazeltine 1552, 
  11739.     OTbs, 
  11740.     cud1=^J, dl1=\EO, il1=\EE, kf1=\EP, kf2=\EQ, kf3=\ER, lf1=blue, 
  11741.     lf2=red, lf3=green, use=vt52, 
  11742. hz1552-rv|hazeltine 1552 reverse video, 
  11743.     cud1=^J, rmso=\ET, smso=\ES, use=hz1552, 
  11744. # Note: h2000 won't work well because of a clash between upper case and ~'s.
  11745. hz2000|hazeltine 2000, 
  11746.     OTbs, OTnc, am, 
  11747.     cols#74, lines#27, 
  11748.     bel=^G, clear=~\034$<6>, cub1=^H, cud1=^J, 
  11749.     cup=~\021%p2%c%p1%c, dl1=~\023$<6>, home=~^R, 
  11750.     il1=~\032$<6>, ind=^J, pad=\177, 
  11751. # Date: Fri Jul 23 10:27:53 1982.  Some unknown person wrote:
  11752. # I tested this termcap entry for the Hazeltine Esprit with vi. It seems
  11753. # to work ok. There is one problem though if one types a lot of garbage
  11754. # characters very fast vi seems not able to keep up and hangs while trying
  11755. # to insert. That's in insert mode while trying to insert in the middle of
  11756. # a line. It might be because the Esprit doesn't have insert char and delete
  11757. # char as a built in function. Vi has to delete to end of line and then 
  11758. # redraw the rest of the line.
  11759. esprit|Hazeltine Esprit I, 
  11760.     OTbs, am, bw, 
  11761.     cols#80, lines#24, 
  11762.     bel=^G, cbt=\E^T, clear=\E^\, cr=^M, cub1=^H, cud1=\E^K, 
  11763.     cuf1=^P, cup=\E\021%p2%c%p1%c, cuu1=\E^L, dl1=\E^S, 
  11764.     ed=\E^W, el=\E^O, home=\E^R, il1=\E^Z, ind=^J, is2=\E?, kbs=^H, 
  11765.     kcub1=^H, kcud1=\E^K, kcuf1=^P, kcuu1=\E^L, kf0=^B0^J, 
  11766.     kf1=^B1^J, kf2=^B2^J, kf3=^B3^J, kf4=^B4^J, kf5=^B5^J, 
  11767.     kf6=^B6^J, kf7=^B7^J, kf8=^B8^J, kf9=^B9^J, khome=\E^R, 
  11768.     lf0=0, lf1=1, lf2=2, lf3=3, lf4=4, lf5=5, lf6=6, lf7=7, lf8=8, lf9=9, 
  11769.     rmkx=\E>, rmso=\E^Y, smkx=\E<, smso=\E^_, 
  11770. esprit-am|hazeltine esprit auto-margin, 
  11771.     am, use=esprit, 
  11772. # Hazeltine Modular-1 from Cliff Shackelton <ittvax!ittral!shackelt> via BRL
  11773. # Vi it seems always wants to send a control J for "do" and it turned out
  11774. # that the terminal would work somewhat if the auto LF/CR was turned off.
  11775. # (hmod1: removed :dn=~^K: -- esr)
  11776. hmod1|Hazeltine Modular 1, 
  11777.     OTbs, am, hz, 
  11778.     cols#80, lines#24, 
  11779.     bel=^G, cbt=~^T, clear=~^\, cr=^M, cub1=^H, cud1=~^K, cuf1=^P, 
  11780.     cup=~\021%p2%c%p1%c, cuu1=~^L, dl1=~^S, home=~^R, il1=~^Z, 
  11781.     ind=^J, kcub1=^H, kcud1=~^K, kcuf1=^P, kcuu1=~^L, khome=~^R, 
  11782.     rc=~^Q, rmso=~^Y, sc=~^E, sgr0=~^Y, smso=~^_, 
  11783. #
  11784. # Hazeltine Executive 80 Model 30 (1554?)
  11785. #    from  Will Martin <control@ALMSA-1.ARPA> via BRL
  11786. # Like VT100, except for different "am" behavior.
  11787. hazel|exec80|h80|he80|Hazeltine Executive 80, 
  11788.     OTbs, OTpt, am, 
  11789.     cols#80, it#8, lines#24, vt#3, 
  11790.     OTnl=^J, bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  11791.     clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  11792.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  11793.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  11794.     ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, ht=^I, 
  11795.     is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, kcud1=\EOB, 
  11796.     kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  11797.     kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
  11798.     rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
  11799.     rmkx=\E[?1l\E>, rmso=\E[m$<2/>, rmul=\E[m$<2/>, 
  11800.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  11801.     sgr0=\E[m$<2/>, smkx=\E[?1h\E=, smso=\E[7m$<2/>, 
  11802.     smul=\E[4m$<2/>, 
  11803.  
  11804. #### IBM
  11805. #
  11806.  
  11807. ibm327x|line mode IBM 3270 style, 
  11808.     gn, 
  11809.     clear=^M^J, el=^M, home=^M, 
  11810.  
  11811. ibm3101|i3101|IBM 3101-10, 
  11812.     OTbs, am, xon, 
  11813.     cols#80, lines#24, 
  11814.     bel=^G, clear=\EK, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  11815.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  11816.     el=\EI, home=\EH, hts=\E0, ind=^J, kcub1=\ED, kcud1=\EB, 
  11817.     kcuf1=\EC, kcuu1=\EA, nel=^M^J, tbc=\EH, 
  11818. ibm3151|IBM 3151 display, 
  11819.     is2=\E S, rmacs=\E>B, rmcup=\E>B, rs2=\E S, s0ds=\E>B, 
  11820.     sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E>B%;, 
  11821.     sgr0=\E4@\E>B, smacs=\E>A, smcup=\E>B, use=ibm3162, 
  11822. # From: Mark Easter <marke@fsi-ssd.csg.ssd.fsi.com> 29 Oct 1992 
  11823. # removed kend, knp, kpp -TD
  11824. ibm3161|ibm3163|wy60-316X|wyse60-316X|IBM 3161/3163 display, 
  11825.     OTbs, am, mir, msgr, 
  11826.     cols#80, it#8, lines#24, 
  11827.     acsc=j\352k\353l\354m\355n\356q\361t\364u\365v\366w\367x\370, 
  11828.     bel=^G, blink=\E4D, bold=\E4H, clear=\EH\EJ, cr=^M, cub1=\ED, 
  11829.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  11830.     cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, ind=^J, 
  11831.     invis=\E4P, kbs=^H, kcbt=\E2, kclr=\EL\r, kctab=\E1, 
  11832.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\EQ, 
  11833.     kdl1=\EO, ked=\EJ, kel=\EI, kf1=\Ea\r, kf10=\Ej\r, 
  11834.     kf11=\Ek\r, kf12=\El\r, kf13=\E!a\r, kf14=\E!b\r, 
  11835.     kf15=\E!c\r, kf16=\E!d\r, kf17=\E!e\r, kf18=\E!f\r, 
  11836.     kf19=\E!g\r, kf2=\Eb\r, kf20=\E!h\r, kf21=\E!i\r, 
  11837.     kf22=\E!j\r, kf23=\E!k\r, kf24=\E!l\r, kf3=\Ec\r, 
  11838.     kf4=\Ed\r, kf5=\Ee\r, kf6=\Ef\r, kf7=\Eg\r, kf8=\Eh\r, 
  11839.     kf9=\Ei\r, khome=\EH, khts=\E0, kich1=\EP \010, kil1=\EN, 
  11840.     ktbc=\E 1, mc4=^P^T, mc5=^P^R, rev=\E4A, rmcup=\E>A, 
  11841.     rmso=\E4@, rmul=\E4@, 
  11842.     sgr=\E4%{64}%?%p1%t%{65}%|%;%?%p2%t%{66}%|%;%?%p3%t%{65}%|%;%?%p4%t%{68}%|%;%?%p5%t%{64}%|%;%?%p6%t%{72}%|%;%?%p7%t%{80}%|%;%c%?%p9%t\E>A%e\E<@%;, 
  11843.     sgr0=\E4@\E<@, smcup=\E>A, smso=\E4A, smul=\E4B, 
  11844.  
  11845. ibm3161-C|IBM 3161-C NLS terminal using cartridge, 
  11846.     rmcup=\E>B, s0ds=\E>B, s1ds=\E>A, smcup=\E>B, use=ibm3161, 
  11847. ibm3162|IBM 3162 display, 
  11848.     blink=\E4$a, bold=\E4(a, il1=\EN, invis=\E40a, rev=\E4!a, 
  11849.     rmso=\E4>b, rmul=\E4=b, sgr0=\E4@, smso=\E4!a, smul=\E4"a, 
  11850.     use=ibm3161-C, 
  11851.  
  11852. # This really should not use setab/setaf, but it is clear that the
  11853. # original terminfo does not toggle red/blue colors as in setb/setf.
  11854. ibm3164|i3164|IBM 3164, 
  11855.     msgr, 
  11856.     colors#8, pairs#64, 
  11857.     op=\E4 "@, rmcup=\E!9(N\E>B, s0ds=\E>B, s1ds=\E>A, 
  11858.     setab=\E4  %p1%{64}%+%c, 
  11859.     setaf=\E4%?%p1%t %p1%{32}%+%c%e!'%;@, 
  11860.     smcup=\E!9/N\E>B, use=ibm3161, 
  11861.  
  11862. ibm5151|wy60-AT|wyse60-AT|IBM 5151 Monochrome display, 
  11863.     am, bw, msgr, xon, 
  11864.     cols#80, it#8, lines#25, 
  11865.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  11866.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  11867.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  11868.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  11869.     cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
  11870.     dl1=\E[M, ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, 
  11871.     hpa=\E[%i%p1%dG, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  11872.     indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, kbs=^H, kcbt=\E[Z, 
  11873.     kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  11874.     kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, kel=\E[142q, 
  11875.     kend=\E[146q, kf1=\E[001q, kf10=\E[010q, kf11=\E[011q, 
  11876.     kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, kf15=\E[015q, 
  11877.     kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, kf19=\E[019q, 
  11878.     kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, kf22=\E[022q, 
  11879.     kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, kf26=\E[026q, 
  11880.     kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, kf3=\E[003q, 
  11881.     kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, kf33=\E[033q, 
  11882.     kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, kf4=\E[004q, 
  11883.     kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
  11884.     kf9=\E[009q, khome=\E[H, kich1=\E[139q, kil1=\E[140q, 
  11885.     kind=\E[151q, knp=\E[154q, kpp=\E[150q, kri=\E[155q, 
  11886.     krmir=\E[4l, rev=\E[7m, ri=\E[T, rin=\E[%p1%dT, rmir=\E[4l, 
  11887.     rmso=\E[m, rmul=\E[m, rs2=\Ec, 
  11888.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m, 
  11889.     sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  11890.  
  11891. ibmaed|IBM Experimental display, 
  11892.     OTbs, am, eo, msgr, 
  11893.     cols#80, it#8, lines#52, 
  11894.     clear=\EH\EK, cub1=^H, cud1=\EB, cuf1=\EC, 
  11895.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  11896.     dl1=\EO, ed=\EJ, el=\EI, flash=\EG, home=\EH, ht=^I, ich1=\EP, 
  11897.     il1=\EN, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  11898.     rmso=\E0, sgr0=\E0, smso=\E0, 
  11899. ibm-apl|apl|IBM apl terminal simulator, 
  11900.     lines#25, use=dm1520, 
  11901. # (ibmmono: this had an unknown `sb' boolean, I changed it to `bs'.  
  11902. # Also it had ":I0=f10:" which pretty obviously should be "l0=f10" -- esr)
  11903. ibmmono|IBM workstation monochrome, 
  11904.     eslok, hs, 
  11905.     bold=\EZ, dl1=\EM, dsl=\Ej\EY8 \EI\Ek, fsl=\Ek, il1=\EL, 
  11906.     invis=\EF\Ef0;\Eb0;, kbs=^H, kf0=\E<, kf1=\ES, kf2=\ET, 
  11907.     kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\EY, 
  11908.     khome=\EH, kich1=\0, kind=\EE, knp=\EE, kpp=\Eg, kri=\EG, 
  11909.     lf0=f10, rev=\Ep, ri=\EA, rmso=\Ez, rmul=\Ew, 
  11910.     sgr0=\Ew\Eq\Ez\EB, smso=\EZ, smul=\EW, tsl=\Ej\EY8%+ \Eo, 
  11911.     use=ibm3101, 
  11912. ibmega|IBM Enhanced Color Display, 
  11913.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  11914.     nel=^M^J, use=ibmmono, 
  11915. # This color scheme is assumed in some recent IBM terminal descriptions
  11916. # (green on black, emulated on a 16-color terminal).
  11917. ibm+color|IBM color definitions, 
  11918.     colors#8, ncv#3, pairs#64, 
  11919.     op=\E[32m\E[40m, 
  11920.     setb=\E[%?%p1%{0}%=%t40m%e%p1%{1}%=%t41m%e%p1%{2}%=%t42m%e%p1%{3}%=%t43m%e%p1%{4}%=%t44m%e%p1%{5}%=%t45m%e%p1%{6}%=%t46m%e%p1%{7}%=%t107m%;, 
  11921.     setf=\E[%?%p1%{0}%=%t30m%e%p1%{1}%=%t31m%e%p1%{2}%=%t32m%e%p1%{3}%=%t33m%e%p1%{4}%=%t34m%e%p1%{5}%=%t35m%e%p1%{6}%=%t36m%e%p1%{7}%=%t97m%;, 
  11922. ibm+16color|IBM aixterm color definitions, 
  11923.     colors#16, pairs#256, 
  11924.     setab=\E[%?%p1%{8}%<%t%p1%{40}%+%e%p1%{92}%+%;%dm, 
  11925.     setaf=\E[%?%p1%{8}%<%t%p1%{30}%+%e%p1%{82}%+%;%dm, 
  11926.     setb=%p1%{8}%/%{6}%*%{4}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
  11927.     setf=%p1%{8}%/%{6}%*%{3}%+\E[%d%p1%{8}%m%Pa%?%ga%{1}%=%t4%e%ga%{3}%=%t6%e%ga%{4}%=%t1%e%ga%{6}%=%t3%e%ga%d%;m, 
  11928. ibm5154|IBM 5154 Color display, 
  11929.     colors#8, ncv@, pairs#64, 
  11930.     bold@, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
  11931.     use=ibm+color, 
  11932. ibmega-c|ibm5154-c|IBM Enhanced Color Display with standout and underline, 
  11933.     rmso=\EB, rmul=\EB, smso=\EF\Ef3;, smul=\EF\Ef2;, 
  11934.     use=ibmmono, 
  11935. ibmvga-c|IBM VGA display color termcap, 
  11936.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  11937.     nel=^M^J, use=ibmega-c, 
  11938. ibmvga|IBM VGA display, 
  11939.     cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, 
  11940.     nel=^M^J, use=ibmega, 
  11941. # ibmapa* and ibmmono entries come from ACIS 4.3 distribution
  11942. rtpc|ibmapa16|IBM 6155 Extended Monochrome Graphics Display, 
  11943.     lines#32, 
  11944.     dsl=\Ej\EY@ \EI\Ek, tsl=\Ej\EY@%+ \Eo, use=ibmmono, 
  11945. ibm6155|IBM 6155 Black & White display, 
  11946.     blink@, bold@, use=ibm5151, 
  11947. # Advanced Monochrome (6153) and Color (6154) Graphics Display:
  11948. ibmapa8c|ibmapa8|IBM 6154 Advanced Graphics Display, 
  11949.     lines#31, 
  11950.     dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, use=ibmmono, 
  11951. ibmapa8c-c|ibm6154-c|IBM 6154 Advanced Color Graphics Display, 
  11952.     lines#31, 
  11953.     dim=\EF\Ef7;, dsl=\Ej\EY? \EI\Ek, tsl=\Ej\EY?%+ \Eo, 
  11954.     use=ibmega-c, 
  11955. ibm6154|IBM 6154 Color displays, 
  11956.     blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
  11957.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
  11958.     sgr0=\E[0;10m, use=ibm5154, 
  11959. ibm6153|IBM 6153 Black & White display, 
  11960.     blink@, bold=\E[12m, s0ds=\E[10m, s1ds=\E[11m, s2ds=\E[12m, 
  11961.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;12%;m, 
  11962.     sgr0=\E[0;10m, use=ibm5151, 
  11963. ibm6153-90|IBM 6153 Black & White display, 
  11964.     cols#90, lines#36, 
  11965.     blink@, bold@, use=ibm5151, 
  11966. ibm6153-40|IBM 6153 Black & White display, 
  11967.     cols#40, lines#12, use=ibm6153-90, 
  11968. ibm8512|ibm8513|IBM color VGA Terminal, 
  11969.     am, mir, msgr, 
  11970.     cols#80, it#8, lines#25, 
  11971.     acsc=jjkkllmmnnqqttuuvvwwxx, blink=\E[5m, bold=\E[1m, 
  11972.     clear=\E[H\E[J, cub1=\E[D, cud1=^J, cuf1=\E[C, 
  11973.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dl=\E[%p1%dM, dl1=\E[M, 
  11974.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, il=\E[%p1%dL, 
  11975.     il1=\E[L, is2=\Eb\E[m\017\E[?7h, kcud1=\E[B, kcuu1=\E[A, 
  11976.     kf0=\E[010q, kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, 
  11977.     kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
  11978.     kf8=\E[008q, kf9=\E[009q, khome=\E[H, rc=\E[u, rev=\E[7m, 
  11979.     rmacs=^O, rmam=\E[?7l, rmcup=\E[20h, rmdc=\E[4l, 
  11980.     rmir=\E[4l, rmso=\E[m, rmul=\E[m, 
  11981.     rs1=\Eb\E[m\017\E[?7h\E[H\E[J, sc=\E[s, sgr0=\E[m, 
  11982.     smacs=^N, smam=\E[?7h, smcup=\E[20;4l\E[?7h\Eb, 
  11983.     smdc=\E[4h, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  11984.     use=ibm8503, 
  11985. hft-c|HFT with Color, 
  11986.     colors#8, pairs#64, 
  11987.     acsc=jjkkllmmnnqqttuuvvwwxx, s0ds=\E(B, s1ds=\E(0, 
  11988.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[0m\E(B, 
  11989.     use=ibm5151, use=ibm+color, 
  11990. hft-c-old|HFT with Color PC850, 
  11991.     colors#8, pairs#64, 
  11992.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, use=ibm5151, 
  11993.     use=ibm+color, 
  11994. hft-old|AIWS High Function Terminal, 
  11995.     am, xon, 
  11996.     cols#80, lines#25, 
  11997.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  11998.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  11999.     cuu1=\E[A, dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  12000.     ht=^I, ich1=\E[@, il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, 
  12001.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  12002.     kf1=\E[001q, kf2=\E[002q, kf3=\E[003q, kf4=\E[004q, 
  12003.     kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, kf8=\E[008q, 
  12004.     kf9=\E[009q, khome=\E[H, knp=\E[153q, kpp=\E[159q, 
  12005.     ktbc=\E[010q, rev=\E[7m, rmir=\E6, rmso=\E[m, rmul=\E[m, 
  12006.     sgr0=\E[m, smir=\E6, smso=\E[7m, smul=\E[4m, use=ibm+color, 
  12007. ibm-system1|system1|ibm system/1 computer, 
  12008.     am, xt, 
  12009.     cols#80, lines#24, 
  12010.     bel=^G, clear=^Z, cub1=^H, cuf1=^\, 
  12011.     cup=\005%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, home=^K, 
  12012.     ind=^J, 
  12013. #       lft-pc850 : IBM Low Function Terminal Device
  12014. #    lft "supports" underline, bold, and blink in the sense that the lft code
  12015. #    sets all the right bits.  HOWEVER, depending upon the adapter, these
  12016. #    attributes may or may not be supported by the device driver.
  12017. lft|lft-pc850|LFT-PC850|IBM LFT PC850 Device, 
  12018.     am, bw, msgr, xon, 
  12019.     cols#80, it#8, lines#25, 
  12020.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  12021.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  12022.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  12023.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  12024.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  12025.     dl=\E[%p1%dM, dl1=\E[M, ech=\E[%p1%dX, ed=\E[2J, el=\E[0K, 
  12026.     home=\E[H, hpa=\E[%i%p1%dG, ich=\E[%p1%d@, il=\E[%p1%dL, 
  12027.     il1=\E[L, ind=\ED, indn=\E[%p1%dS, invis=\E[8m, is2=\Ec, 
  12028.     kbs=^H, kcbt=\E[Z, kclr=\E[144q, kcub1=\E[D, kcud1=\E[B, 
  12029.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, ked=\E[148q, 
  12030.     kel=\E[142q, kend=\E[146q, kf1=\E[001q, kf10=\E[010q, 
  12031.     kf11=\E[011q, kf12=\E[012q, kf13=\E[013q, kf14=\E[014q, 
  12032.     kf15=\E[015q, kf16=\E[016q, kf17=\E[017q, kf18=\E[018q, 
  12033.     kf19=\E[019q, kf2=\E[002q, kf20=\E[020q, kf21=\E[021q, 
  12034.     kf22=\E[022q, kf23=\E[023q, kf24=\E[024q, kf25=\E[025q, 
  12035.     kf26=\E[026q, kf27=\E[027q, kf28=\E[028q, kf29=\E[029q, 
  12036.     kf3=\E[003q, kf30=\E[030q, kf31=\E[031q, kf32=\E[032q, 
  12037.     kf33=\E[033q, kf34=\E[034q, kf35=\E[035q, kf36=\E[036q, 
  12038.     kf4=\E[004q, kf5=\E[005q, kf6=\E[006q, kf7=\E[007q, 
  12039.     kf8=\E[008q, kf9=\E[009q, khome=\E[H, kich1=\E[139q, 
  12040.     kil1=\E[140q, kind=\E[151q, knp=\E[154q, kpp=\E[150q, 
  12041.     kri=\E[155q, krmir=\E[4l, rev=\E[7m, ri=\EL, rin=\E[%p1%dT, 
  12042.     rmacs=\E(B, rmir=\E[4l, rmso=\E[0m, rmul=\E[0m, rs2=\Ec, 
  12043.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 
  12044.     sgr0=\E[0m, smacs=\E(0, smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  12045.     tbc=\E[3g, 
  12046. ibm5081|hft|IBM Megapel Color display, 
  12047.     acsc=jjkkllmmnnqqttuuvvwwxx, blink@, bold@, s0ds=\E(B, 
  12048.     s1ds=\E(0, sgr0=\E[0m\E(B, use=ibm5154, 
  12049. ibm5081-c|ibmmpel-c|IBM 5081 1024x1024 256/4096 Megapel enhanced color display, 
  12050.     eslok, hs, 
  12051.     lines#33, 
  12052.     dsl=\Ej\EYA \EI\Ek, fsl=\Ek, tsl=\Ej\EYA%+ \Eo, 
  12053.     use=ibmega-c, 
  12054. ibm8503|ibm8507|ibm8604|IBM 8503 B & W VGA display, 
  12055.     use=hft-c, 
  12056. ibm8514|IBM 8514/a color VGA display, 
  12057.     eslok, hs, 
  12058.     dsl=\Ej\EYI \EI\Ek, fsl=\Ek, tsl=\Ej\EYI%+ \Eo, use=hft, 
  12059. ibm8514-c|IBM 8514 color display with standout and underline, 
  12060.     eslok, hs, 
  12061.     lines#41, 
  12062.     cr=^M, cud1=^J, dsl=\Ej\EYI \EI\Ek, fsl=\Ek, ht=^I, ind=^J, 
  12063.     kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, tsl=\Ej\EYI%+ \Eo, 
  12064.     use=ibmega-c, 
  12065.  
  12066. #
  12067. # AIX entries.  IBM ships these with AIX 3.2.5. 
  12068. # -- added rc, sc based on manpage -TD
  12069. # Note that we could use ibm+16color, but that is not how IBM defines this one.
  12070. aixterm|IBM Aixterm Terminal Emulator, 
  12071.     eslok, hs, 
  12072.     acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
  12073.     fsl=\E[?F, rc=\E8, ri@, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
  12074.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;%?%p7%t;8%;m%?%p9%t\E(0%e\E(B%;, 
  12075.     sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6154, 
  12076. aixterm-m|IBM AIXterm Monochrome Terminal Emulator, 
  12077.     eslok, hs, 
  12078.     acsc=jjkkllmmnnqqttuuvvwwxx, bold=\E[1m, dsl=\E[?E, 
  12079.     fsl=\E[?F, ri@, s0ds=\E(B, s1ds=\E(0, 
  12080.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  12081.     sgr0=\E[0;10m\E(B, tsl=\E[?%p1%dT, use=ibm6153, 
  12082. aixterm-m-old|old IBM AIXterm Monochrome Terminal Emulator, 
  12083.     eslok, hs, 
  12084.     bold=\E[1m, dsl=\E[?E, fsl=\E[?F, ri@, 
  12085.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  12086.     tsl=\E[?%p1%dT, use=ibm6153, 
  12087. jaixterm|IBM Kanji Aixterm Terminal Eemulator, 
  12088.     acsc@, use=aixterm, 
  12089. jaixterm-m|IBM Kanji AIXterm Monochrome Terminal Emulator, 
  12090.     acsc@, use=aixterm-m, 
  12091.  
  12092. #### Infoton/General Terminal Corp.
  12093. #
  12094.  
  12095. # gt100 sounds like something DEC would come out with.  Let's hope they don't.
  12096. i100|gt100|gt100a|General Terminal 100A (formerly Infoton 100), 
  12097.     OTbs, am, 
  12098.     cols#80, lines#24, 
  12099.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  12100.     cup=\Ef%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dl1=\EM, 
  12101.     ed=\EJ, el=\EK, flash=\Eb$<200/>\Ea, home=\EH, il1=\EL, 
  12102.     ind=^J, rmso=\Ea, smso=\Eb, 
  12103. i400|infoton 400, 
  12104.     OTbs, am, 
  12105.     cols#80, lines#25, 
  12106.     bel=^G, clear=\E[2J, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  12107.     cup=%i\E[%p1%3d;%p2%3dH, cuu1=\E[A, 
  12108.     dch1=\E[4h\E[2Q\E[P\E[4l\E[0Q, dl1=\E[M, el=\E[N, 
  12109.     il1=\E[L, ind=^J, rmir=\E[4l\E[0Q, smir=\E[4h\E[2Q, 
  12110. # (addrinfo: removed obsolete ":bc=^Z:" -- esr)
  12111. addrinfo, 
  12112.     am, 
  12113.     cols#80, lines#24, 
  12114.     bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, 
  12115.     cup=\037%p1%{1}%-%c%p2%{1}%-%c, cuu1=^\, ed=^K, home=^H, 
  12116.     ind=^J, ll=^H^\, 
  12117. # (infoton: used to have the no-ops <lh#0>, <lw#0>, <nlab#0> -- esr)
  12118. infoton, 
  12119.     am, 
  12120.     cols#80, lines#24, 
  12121.     bel=^G, clear=^L, cr=^M, cub1=^Z, cud1=^J, cuf1=^Y, cuu1=^\, 
  12122.     ed=^K, ind=^J, ll=^H^\, 
  12123.  
  12124. # The ICL6402 was actually the Kokusai Display System 6402.
  12125. # The 6404 was the KDS7372 (color version of the 6402).
  12126. # ICL6404 control codes follow:
  12127. #
  12128. #code            function
  12129. #~~~~~~~~~~~     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  12130. #ctrl-A          set SOM position at cursor position
  12131. #ctrl-G          Bell
  12132. #ctrl-H          Backspace
  12133. #ctrl-I          Horiz tab
  12134. #ctrl-J          Linefeed
  12135. #ctrl-K          Cursor up
  12136. #ctrl-L          Cursor right
  12137. #ctrl-M          Carriage return
  12138. #ctrl-N          Disable xon/xoff to host
  12139. #ctrl-O          Enable xon/xoff to host
  12140. #ctrl-R          Enable bidirectional mode
  12141. #ctrl-T          Disable bidirectional mode
  12142. #ctrl-V          Cursor down
  12143. #ctrl-Z          Clear unprotected data to insert char
  12144. #ctrl-^          Cursor home
  12145. #ctrl-_          Newline
  12146. #
  12147. #ESC             lead-in char for multiple character command
  12148. #
  12149. #ESC space R     execute power on sequence
  12150. #ESC ! p1 p2     define scroll region:
  12151. #                p1 = scroll top    line:  20h - 37h
  12152. #                p1 = scroll bottom line:  20h - 37h
  12153. #ESC "           unlock keyboard
  12154. #ESC #           lock keyboard
  12155. #ESC $           Semi-graphics mode on
  12156. #ESC %           Semi-graphics mode off
  12157. #ESC &           protect mode on
  12158. #ESC '           protect mode off
  12159. #ESC (           write protect mode off (full intensity)
  12160. #ESC )           write protect mode on (half intensity)
  12161. #
  12162. #ESC *           clear screen
  12163. #ESC +           clear unprotected data to insert char
  12164. #ESC ,           clear unprotected data to half intensity spaces
  12165. #ESC - p1 p2 p3 p4     address cursor to page, row, column:
  12166. #                      p1 = page number  0 - 3
  12167. #                      p2 = row          20h - 7fh
  12168. #                      p3 = column (lo)  20h - 7fh
  12169. #                      p4 = column (hi)  20h - 21h (only 132 col)
  12170. #ESC . p1        set cursor style:
  12171. #                p1 = 0  invisible cursor
  12172. #                p1 = 1  block blinking cursor
  12173. #                p1 = 2  block steady cursor
  12174. #                p1 = 3  underline blinking cursor
  12175. #                p1 = 4  underline steady cursor
  12176. #ESC /           transmit cursor location (page, row, column)
  12177. #ESC 0 p1 p2 p3 p4     program edit key:
  12178. #                      p1 = edit key code: '@'-'S', '`'-'s'
  12179. #                      p2 p3 p4 = program data (3 bytes)
  12180. #
  12181. #ESC 1           set tab
  12182. #ESC 2           clear tab at cursor
  12183. #ESC 3           clear all tabs
  12184. #ESC 4           send unprotect line to cursor
  12185. #ESC 5           send unprotect page to cursor
  12186. #ESC 6           send line to cursor
  12187. #ESC 7           send page to cursor
  12188. #ESC 8 n         set scroll mode:
  12189. #                n = 0   set jump scroll
  12190. #                n = 1   set smooth scroll
  12191. #ESC 9 n         control display:
  12192. #                n = 0   display off
  12193. #                n = 1   display on
  12194. #ESC :           clear unprotected data to null
  12195. #ESC ;           clear unprotected data to insert char
  12196. #
  12197. #ESC <           keyclick on
  12198. #ESC = p1 p2     address cursor to row, column
  12199. #                p1 = row          20h - 7fh
  12200. #                p2 = column (lo)  20h - 7fh
  12201. #                p3 = column (hi)  20h - 21h (only 132 col)
  12202. #ESC >           keyclick off
  12203. #ESC ?           transmit cursor location (row, column)
  12204. #
  12205. #ESC @           copy print mode on
  12206. #ESC A           copy print mode off
  12207. #ESC B           block mode on
  12208. #ESC C           block mode off (conversation mode)
  12209. #ESC D F         set full duplex
  12210. #ESC D H         set half duplex
  12211. #ESC E           line insert
  12212. #ESC F p1 p2     set page colour (p1 = f/grnd, p2 = b/grnd)
  12213. #                0 = black, 1 = red,     2 = green, 3 = yellow
  12214. #                4 = blue,  5 = magenta, 6 = cyan,  7 = white
  12215. #ESC G n         set serial field attribute (n = 30h - 3Fh)
  12216. #ESC H n         full graphics mode:
  12217. #                n = 0  exit full graphics mode
  12218. #                n = 1  enter full graphics mode
  12219. #ESC I           back tab
  12220. #ESC J           back page
  12221. #ESC K           forward page
  12222. #
  12223. #ESC L           unformatted page print
  12224. #ESC M L         move window left  (132 col mode only)
  12225. #ESC M R         move window right (132 col mode only)
  12226. #ESC N           set page edit (clear line edit)
  12227. #ESC O           set line edit (clear page edit)
  12228. #ESC P           formatted page print
  12229. #ESC Q           character insert
  12230. #ESC R           line delete
  12231. #ESC S           send message unprotected only
  12232. #ESC T           erase line to insert char
  12233. #ESC U           set monitor mode   (see ESC X, ESC u)
  12234. #
  12235. #ESC V n         select video attribute mode:
  12236. #                n = 0   serial field attribute mode
  12237. #                n = 1   parallel character attribute mode
  12238. #ESC V 2 n       define line attribute:
  12239. #                n = 0   single width single height
  12240. #                n = 1   single width double height
  12241. #                n = 2   double width single height
  12242. #                n = 3   double width double height
  12243. #ESC V 3 n       select character font:
  12244. #                n = 0   system font
  12245. #                n = 1   user defined font
  12246. #ESC V 4 n       select screen mode:
  12247. #                n = 0   page screen mode
  12248. #                n = 1   virtual screen mode
  12249. #ESC V 5 n       control mouse mode:
  12250. #                n = 0   disable mouse
  12251. #                n = 1   enable sample mode
  12252. #                n = 2   send mouse information
  12253. #                n = 3   enable request mode
  12254. #ESC W           character delete
  12255. #ESC X           clear monitor mode (see ESC U, ESC u)
  12256. #ESC Y           erase page to insert char
  12257. #
  12258. #ESC Z n         send user/status line:
  12259. #                n = 0   send user line
  12260. #                n = 1   send status line
  12261. #                n = 2   send terminal ID
  12262. #ESC [ p1 p2 p3  set character attribute (parallel char mode):
  12263. #                p1: 0 = normal
  12264. #                    1 = blank
  12265. #                    2 = blink
  12266. #                    3 = blink blank (= blank)
  12267. #                    4 = reverse
  12268. #                    5 = reverse blank
  12269. #                    6 = reverse blink
  12270. #                    7 = reverse blink blank (= reverse blank)
  12271. #                    8 = underline
  12272. #                    9 = underline blank
  12273. #                    : = underline blink
  12274. #                    ; = underline blink blank
  12275. #                    < = reverse underline
  12276. #                    = = reverse underline blank
  12277. #                    > = reverse underline blink
  12278. #                    ? = reverse underline blink blank
  12279. #                p2, p3: f/grnd, b/grnd colour
  12280. #                (see ESC F for colours)
  12281. #                use ZZ for mono, eg.
  12282. #                    ESC [ 0 Z Z for normal
  12283. #                    ESC [ 4 Z Z for inverse etc.
  12284. #
  12285. #ESC \ n         set page size:
  12286. #                n = 1   24 lines/page
  12287. #                n = 2   48 lines/page
  12288. #                n = 3   72 lines/page
  12289. #                n = 4   96 lines/page
  12290. #ESC ] n         set Wordstar mode:
  12291. #                n = 0   normal (KDS7372) mode
  12292. #                n = 1   Wordstar mode
  12293. #
  12294. #ESC b           set foreground colour screen
  12295. #
  12296. #ESC c n         enter self-test mode:
  12297. #                n = 0   exit self test mode
  12298. #                n = 1   ROM test
  12299. #                n = 2   RAM test
  12300. #                n = 3   NVRAM test
  12301. #                n = 4   screen display test
  12302. #                n = 5   main/printer port test
  12303. #                n = 6   mouse port test
  12304. #                n = 7   graphics board test
  12305. #                n = 8   graphics memory test
  12306. #                n = 9   display all 'E'
  12307. #                n = :   display all 'H'
  12308. #ESC d           set background colour screen
  12309. #
  12310. #ESC e n         program insert char (n = insert char)
  12311. #ESC f text CR   load user status line with 'text'
  12312. #
  12313. #ESC g           display user status line on 25th line
  12314. #ESC h           display system status line on 25th line
  12315. #ESC i           tab
  12316. #ESC j           reverse linefeed
  12317. #ESC k n         duplex/local edit mode:
  12318. #                n = 0   duplex edit mode
  12319. #                n = 1   local edit mode
  12320. #ESC l n         select virtual screen:
  12321. #                n = 0   screen 1
  12322. #                n = 1   screen 2
  12323. #ESC m           save current config to NVRAM
  12324. #ESC n p1        select display screen:
  12325. #                p1 = 0  screen 1
  12326. #                p1 = 1  screen 2
  12327. #                p1 = 2  screen 3
  12328. #                p1 = 3  screen 4
  12329. #ESC o p1 p2     set characters/line and attribute:
  12330. #                p1 = 0  80 chars/line
  12331. #
  12332. #ESC o p1 p2     set characters/line and attribute:
  12333. #                p1 = 0  80 chars/line
  12334. #                p1 = 1  132 chars/line
  12335. #                p2 = 0  single width single height
  12336. #                p2 = 1  single width double height
  12337. #                p2 = 2  double width single height
  12338. #                p2 = 3  double width double height
  12339. #
  12340. #ESC q           insert mode on
  12341. #ESC r           edit mode on
  12342. #ESC s           send message all
  12343. #ESC t           erase line to null
  12344. #ESC u           clear monitor mode (see ESC U, ESC X)
  12345. #ESC v           autopage mode on
  12346. #ESC w           autopage mode off
  12347. #ESC x p1 p2 p3  define delimiter code...
  12348. #ESC y           erase page to null
  12349. #
  12350. #ESC z 2 p1 p2 p3 p4   draw quadrangle:
  12351. #                      p1 = starting row
  12352. #                      p2 = starting column
  12353. #                      p3 = end row
  12354. #                      p4 = end column
  12355. #
  12356. #ESC { p1 p2 p3 p4     configure main port
  12357. #                      (baud, stop bits, parity, word length)
  12358. #
  12359. #ESC | p1 p2 text Ctrl-Y    program function key with 'text':
  12360. #                        p1 = function key code:
  12361. #                             '1' - ';'  normal f1- f11
  12362. #                             '<' - 'F'  shifted f1 - f11
  12363. #                        p2 = program mode:
  12364. #                             1 = FDX
  12365. #                             2 = LOC
  12366. #                             3 = HDX
  12367. #                        Ctrl-Y = terminator
  12368. #                        (use Ctrl-P to escape ^P, ^Y )
  12369. #
  12370. #ESC } p1 p2 p3 p4     configure printer port
  12371. #                      (baud, stop bits, parity, word length)
  12372. #ESC ~           send system status
  12373. #
  12374. # Codes and info from Peter Disdale <pete@pdlmail.demon.co.uk> 12 May 1997
  12375. #
  12376. # Entry is by esr going solely on above information and is UNTESTED.
  12377. # This actually looks a lot like a Televideo 9xx.
  12378. # This entry uses page 0 and is monochrome; I'm not brave enough to try
  12379. # to make color work without a test terminal.  The <am> capability is a guess.
  12380. # The initialization string sets conversation mode, blinking underline cursor,
  12381. # full duplex, parallel attribute mode, display user status line, white
  12382. # foreground, black background, normal highlight.
  12383. #
  12384. icl6404|kds7372|icl6402|kds6402|ICL 6404 aka Kokusai Display Systems 7372, 
  12385.     OTbs, am, hs, 
  12386.     cols#80, lines#24, 
  12387.     bel=^G, blink=\E[2ZZ, cbt=\EI, civis=\E.0, clear=\E*, 
  12388.     cnorm=\E.3, cr=^M, 
  12389.     csr=\E!%+%p1%{32}%+%p2%{32} cud1=\026, cuf1=^L, 
  12390.     cup=\E=%p1%{32}%+%c%p2%{80}%m%{32}%+%c%p2%{80}%>%{32}%+%c, 
  12391.     cuu1=^K, cvvis=\E.1, dch1=\EW, dl1=\ER, home=^^, ht=^I, 
  12392.     hts=\E1, il1=\EE, invis=\E[1ZZ, 
  12393.     is1=\EC\E.3\EDF\EV1\Eg\E[0ZZ, nel=^_, rev=\E[4ZZ, 
  12394.     rmir=\Er, rmso=\E[%gh%{4}%^%Ph%gh%dZZ, 
  12395.     rmul=\E[%gh%{8}%^%Ph%gh%dZZ, rs2=\Eo1, 
  12396.     sgr=\E[%{0}%?%p1%t%{4}%|%;%?%p2%t%{8}%|%;%?%p3%t%{4}%|%;%?%p4%t%{2}%|%;%?%p7%t%{1}%|%;ZZ, 
  12397.     sgr0=\E[0ZZ, smir=\Eq, smso=\E[8ZZ, smul=\E[8ZZ, tbc=\E3, 
  12398. icl6404-w|kds7372-w|ICL 6404 aka Kokusai Display Systems 7372 132 cols, 
  12399.     rs2=\Eo1, use=icl6404, 
  12400.  
  12401. #### Interactive Systems Corp
  12402. #
  12403. # ISC used to sell OEMed and customized hardware to support ISC UNIX.
  12404. # ISC UNIX still exists in 1995, but ISC itself is no more; they got
  12405. # bought out by Sun.
  12406. #
  12407.  
  12408. # From: <cithep!eric>  Wed Sep 16 08:06:44 1981
  12409. # (intext: removed obsolete ":ma=^K^P^R^L^L ::bc=^_:", also the
  12410. # ":le=^_:" later overridden -- esr)
  12411. intext|Interactive Systems Corporation modified owl 1200, 
  12412.     OTbs, am, 
  12413.     cols#80, it#8, lines#24, xmc#1, 
  12414.     bel=^G, cbt=^Y, clear=\014$<132>, cr=^M, cub1=^H, cud1=^J, 
  12415.     cuf1=^^, cup=\017%p1%{32}%+%c%p2%{32}%+%c, cuu1=^\, 
  12416.     dch1=\022$<5.5*>, dl1=\021$<5.5*>, ed=\026J$<5.5*>, 
  12417.     el=^Kp^R, ht=^I, il1=\020$<5.5*>, ind=^J, ip=$<5.5*>, kbs=^H, 
  12418.     kcub1=^_, kcud1=^J, kcuf1=^^, kcuu1=^\, kf0=^VJ\r, kf1=^VA\r, 
  12419.     kf2=^VB\r, kf3=^VC\r, kf4=^VD\r, kf5=^VE\r, kf6=^VF\r, 
  12420.     kf7=^VG\r, kf8=^VH\r, kf9=^VI\r, khome=^Z, rmir=^V<, 
  12421.     rmkx=^V9, rmso=^V#\s, smir=^V;, smkx=\036\:\264\026%%, 
  12422.     smso=^V$\,, 
  12423. intext2|intextii|INTERACTIVE modified owl 1251, 
  12424.     am, bw, ul, 
  12425.     cols#80, lines#24, xmc#0, 
  12426.     bel=^G, cbt=\E[Z, clear=\E[H\E[2J, cr=^M, cud1=\E[B, 
  12427.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  12428.     dl1=\E[M, ed=\E[J, el=\E[K, 
  12429.     flash=\E[;;;;;;;;;2;;u$<200/>\E[;;;;;;;;;1;;u, 
  12430.     hpa=\E[%p1%{1}%+%dG, ht=^I, ich1=\E[@, il1=\E[L, ind=\E[S, 
  12431.     kbs=^H, kcub1=\ED\r, kcud1=\EB\r, kcuf1=\EC\r, kcuu1=\EA\r, 
  12432.     kf0=\E@\r, kf1=\EP\r, kf2=\EQ\r, kf3=\ES\r, kf4=\ET\r, 
  12433.     kf5=\EU\r, kf6=\EV\r, kf7=\EW\r, kf8=\EX\r, kf9=\EY\r, 
  12434.     khome=\ER\r, lf0=REFRSH, lf1=DEL CH, lf2=TABSET, lf3=GOTO, 
  12435.     lf4=+PAGE, lf5=+SRCH, lf6=-PAGE, lf7=-SRCH, lf8=LEFT, 
  12436.     lf9=RIGHT, ri=\E[T, rmso=\E[2 D, rmul=\E[2 D, smso=\E[6 D, 
  12437.     smul=\E[18 D, 
  12438.  
  12439. #### Kimtron (abm, kt)
  12440. #
  12441. # Kimtron seems to be history, but as March 1998 these people are still 
  12442. # offering repair services for Kimtron equipment:
  12443. #
  12444. #    Com/Pair Monitor Service
  12445. #    1105 N. Cliff Ave.
  12446. #    Sioux Falls, South Dakota 57103
  12447. #     
  12448. #    WATS voice:  1-800/398-4946
  12449. #    POTS   fax: +1 605/338-8709
  12450. #    POTS voice: +1 605/338-9650
  12451. #         Email: <compair@sd.cybernex.net>
  12452. #  Internet/Web: <http://www.com-pair.com>
  12453. #
  12454. # Kimtron entries include (undocumented) codes for: enter dim mode,
  12455. # enter bold mode, enter reverse mode, turn off all attributes.
  12456. #
  12457.  
  12458. # Kimtron ABM 85 added by Dual Systems
  12459. # (abm85: removed duplicated ":kd=^J:" -- esr)
  12460. abm85|Kimtron ABM 85, 
  12461.     OTbs, am, bw, msgr, 
  12462.     cols#80, it#8, lines#24, xmc#1, 
  12463.     cbt=\EI, clear=\E*, cub1=^H, cud1=^J, cuf1=^L, 
  12464.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  12465.     dl1=\ER, ed=\Ey, el=\Et, ht=^I, 
  12466.     if=/usr/share/tabset/stdcrt, il1=\EE, 
  12467.     is2=\EC\EX\Eg\En\E%\Er\E(\Ek\Em\Eq, kbs=^H, kcub1=^H, 
  12468.     kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, rmir=\Er, rmso=\Ek, 
  12469.     rmul=\Em, smir=\EQ, smso=\Ej, smul=\El, 
  12470. # Kimtron ABM 85H added by Dual Systems.
  12471. # Some notes about the abm85h entries:
  12472. # 1) there are several firmware revs of 85H in the world. Use abm85h-old for
  12473. #    firmware revs prior to SP51
  12474. # 2) Make sure to use abm85h entry if the terminal is in 85h mode and the
  12475. #    abm85e entry if it is in tvi920 emulation mode. They are incompatible
  12476. #    in some places and NOT software settable i.e., <is2> can't fix it)
  12477. # 3) In 85h mode, the arrow keys and special functions transmit when
  12478. #    the terminal is in dup-edit, and work only locally in local-edit.
  12479. #    Vi won't swallow `del char' for instance, but <smcup> turns on
  12480. #    dup-edit anyway so that the arrow keys will work right. If the
  12481. #    arrow keys don't work the way you like, change <smcup>, <rmcup>, and
  12482. #    <is2>.  Note that 920E mode does not have software commands to toggle
  12483. #    between dup and local edit, so you get whatever was set last on the
  12484. #    terminal.
  12485. # 4) <flash> attribute is nice, but seems too slow to work correctly
  12486. #    (\Eb<pad>\Ed)
  12487. # 5) Make sure `hidden' attributes are selected. If `embedded' attributes
  12488. #    are selected, the <xmc@> entry should be removed.
  12489. # 6) auto new-line should be on (selectable from setup mode only)
  12490. #
  12491. # From: Erik Fair <fair@ucbarpa>  Sun Oct 27 07:21:05 1985
  12492. abm85h|Kimtron ABM 85H native mode, 
  12493.     hs, 
  12494.     xmc@, 
  12495.     bel=^G, cnorm=\E.4, cvvis=\E.2, dim=\E), dsl=\Ee, flash@, 
  12496.     fsl=^M, invis@, 
  12497.     is2=\EC\EN\EX\024\016\EA\Ea\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\EG0\Ed\E.4\El, 
  12498.     kcud1=^V, sgr0=\E(\EG0, smir=\EZ, tsl=\Eg\Ef, use=adm+sgr, 
  12499.     use=abm85, 
  12500. abm85e|Kimtron ABM 85H in 920E mode, 
  12501.     xmc@, 
  12502.     bel=^G, dim=\E), flash@, 
  12503.     is2=\EC\EX\EA\E%\E9\Ee\Er\En\E"\E}\E'\E(\Ef\r\Ek\Eq\Em, 
  12504.     rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85, 
  12505. abm85h-old|oabm85h|o85h|Kimtron ABM 85H with old firmware rev., 
  12506.     xmc@, 
  12507.     bel=^G, dim=\E), 
  12508.     is2=\E}\EC\EX\Ee\En\E%\Er\E(\Ek\Em\Eq\Ed\ET\EC\E9\EF, 
  12509.     rev=\Ej, sgr0=\E(\Ek, smir=\EZ, use=abm85, 
  12510. # From: <malman@bbn-vax.arpa>
  12511. # (kt7: removed obsolete :ma=^V^J^L :" -- esr)
  12512. kt7|kimtron model kt-7, 
  12513.     OTbs, am, 
  12514.     cols#80, it#8, lines#24, 
  12515.     cbt=\EI, clear=^Z, cub1=^H, cud1=^V, cuf1=^L, 
  12516.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  12517.     dl1=\ER, ed=\EY, el=\ET, fsl=\Eg, home=^^, ht=^I, ich1=\EQ, 
  12518.     if=/usr/share/tabset/stdcrt, il1=\EE, invis@, is2=\El\E", 
  12519.     kbs=^H, kcbt=\EI, kclr=^Z, kcub1=^H, kcud1=^V, kcuf1=^L, 
  12520.     kcuu1=^K, kdch1=\EW, kdl1=\ER, ked=\EY, kel=\ET, kf0=^AI\r, 
  12521.     kf1=^A@\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  12522.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  12523.     kich1=\EQ, kil1=\EE, tsl=\Ef, use=adm+sgr, 
  12524. # Renamed TB=^I to :ta:, BE=^G to :bl:, BS=^H to :kb:, N to :kS: (based on the
  12525. # other kt7 entry and the adjacent key capabilities).  Removed EE which is
  12526. # identical to :mh:.  Removed :ES=\EGD: which is some kind of highlight
  12527. # but we can't figure out what.
  12528. kt7ix|kimtron model kt-7 or 70 in IX mode, 
  12529.     am, bw, 
  12530.     cols#80, it#8, lines#25, 
  12531.     acsc=jYk?lZm@nEqDt4uCvAwBx3, bel=^G, blink=\EG2, cbt=\EI, 
  12532.     civis=\E.0, clear=\E*, cnorm=\E.3, cr=^M, cub1=^H, cud1=^V, 
  12533.     cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  12534.     dch1=\EW, dim=\EG@, dl1=\ER, dsl=\Ef\r, ed=\EY, el=\ET, fsl=^M, 
  12535.     home=^^, ht=^I, ich1=\EQ, il1=\EE, ind=^J, 
  12536.     is2=\EG0\E s\017\E~, kbs=^H, kcbt=\EI, kclr=\E*, 
  12537.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdl1=\ER, 
  12538.     ked=\EY, kel=\ET, kend=\EY, kf0=^AI\r, kf1=^A@\r, kf2=^AA\r, 
  12539.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  12540.     kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\EQ, kil1=\EE, knp=\EJ, 
  12541.     nel=^M^J, pulse=\EK, rmacs=\E%%, rmir=, rmso=\EG0, rmul=\EG0, 
  12542.     sgr0=\EG0, smacs=\E$, smir=, smso=\EG4, smul=\EG8, tsl=\Ef, 
  12543.  
  12544. #### Microdata/MDIS
  12545. #
  12546. # This was a line of terminals made by McDonnell-Douglas Information Systems.
  12547. # These entries come direct from MDIS documentation.  I have edited them only
  12548. # to move primary names of the form p[0-9] * to aliases, and to comment out
  12549. # <rmacs>/<smacs> in a couple of entries without <acsc> strings.  I have 
  12550. # also removed the change history; the last version indicates this is
  12551. # version 4.3 by A.Barkus, September 1990 (earliest entry is October 1989).
  12552. #
  12553.  
  12554. # McDonnell Information Systems Terminal Family History
  12555. # =========================================
  12556. #
  12557. # Prism-1, Prism-2 and P99:
  12558. #       Ancient Microdata and CMC terminals, vaguely like Adds Regent 25.
  12559. #
  12560. # Prism-4 and Prism-5:
  12561. #       Slightly less ancient range of Microdata terminals. Follow-on from
  12562. #       Prism-2, but with many enhancements. P5 has eight display pages.
  12563. #
  12564. # Prism-6:
  12565. #       A special terminal for use with library systems, primarily in Germany.
  12566. #       Limited numbers. Similar functionality to P5 (except attributes?).
  12567. #
  12568. # Prism-7, Prism-8 and Prism-9:
  12569. #       More recent range of MDIS terminals, in which P7 and P8
  12570. #       replace the P4 & P5, with added functionality, and P9 is the flagship.
  12571. #       The P9 has two emulation modes - P8 and ANSI - and includes a
  12572. #       large number of the DEC VT220 control sequences. Both
  12573. #       P8 and P9 support 80c/24ln/8pg and 132cl/24li/4pg formats.
  12574. #
  12575. # Prism-12 and Prism-14:
  12576. #       Latest range, functionally very similar to the P9.  The P14 has a
  12577. #       black-on-white overscanning screen.
  12578. #
  12579. # The terminfo definitions given here are:
  12580. #
  12581. # p2      - Prism-2 (or Prism-1 or P99).
  12582. #
  12583. # p4      - Prism-4 (and older P7s & P8s).
  12584. # p5      - Prism-5 (or Prism-6).
  12585. #
  12586. # p7      - Prism-7.
  12587. # p8      - Prism-8 (in national or multinational mode).
  12588. # p8-w    - 132 column version of p8.
  12589. # p9      - Prism-9 in ANSI mode.
  12590. # p9-w    - 132 column version of p9.
  12591. # p9-8    - Prism-9 in Prism-8 emulation mode.
  12592. # p9-8-w  - As p9-8, but with 132 columns.
  12593. #
  12594. # p12     - Prism-12 in ANSI mode.
  12595. # p12-w   - 132 column version of p12.
  12596. # p12-m   - Prism-12 in MDC emulation mode.
  12597. # p12-m-w - As p12-m, but with 132 columns.
  12598. # p14     - Prism-14 in ANSI mode.
  12599. # p14-w   - 132 column version of p14.
  12600. # p14-m   - Prism-14 in MDC emulation mode.
  12601. # p14-m-w - As p14-m, but with 132 columns.
  12602. #
  12603. # p2: Prism-2
  12604. # -----------
  12605. #
  12606. # Includes Prism-1 and basic P99 without SP or MP loaded.
  12607. # The simplest form of Prism-type terminal.
  12608. # Basic cursor movement and clearing operations only.
  12609. # No video attributes.
  12610. # Notes:
  12611. #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
  12612. #  value up, followed by backspace.
  12613. #
  12614. prism2|MDC Prism-2, 
  12615.     am, bw, msgr, 
  12616.     cols#80, lines#24, 
  12617.     bel=^G, clear=\014$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  12618.     cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  12619.     cuu1=^Z, ed=\EJ, el=\EK, home=^A, 
  12620.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  12621.     ind=^J, kbs=^H, khome=^A, vpa=\013%p1%{32}%+%c, 
  12622.  
  12623. # p4: Prism-4
  12624. # -----------
  12625. #
  12626. # Includes early versions of P7 & P8.
  12627. # Basic family definition for most Prisms (except P2 and P9 ANSI).
  12628. # Notes:
  12629. #  Horizontal cursor qualifiers of NUL, XON and XOFF are mapped to the next
  12630. #  value up, followed by backspace.
  12631. #  Cursor key definitions removed because they interfere with vi and csh keys.
  12632. #
  12633. prism4|p4|P4|MDC Prism-4, 
  12634.     am, bw, hs, mc5i, msgr, 
  12635.     cols#80, lines#24, wsl#72, xmc#1, 
  12636.     bel=^G, blink=^CB, civis=^]\344, clear=\014$<20>, 
  12637.     cnorm=^]\342, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  12638.     cup=\013%p1%{32}%+%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  12639.     cuu1=^Z, dim=^CA, dsl=\035\343\035\345, ed=\EJ, el=\EK, 
  12640.     fsl=^]\345, home=^A, 
  12641.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%Pc%?%{17}%gc%=%{19}%gc%=%|%gc%!%|%t%{1}%gc%+%c%{8}%e%gc%;%c, 
  12642.     ind=^J, invis=^CH, kbs=^H, khome=^A, mc0=\EU, mc4=\ET, mc5=\ER, 
  12643.     rev=^CD, rmso=^C\s, rmul=^C\s, 
  12644.     sgr=\003%{64}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{16}%+%;%?%p4%t%{2}%+%;%?%p5%t%{1}%+%;%?%p7%t%{8}%+%;%c%?%p9%t\016%e\017%;, 
  12645.     sgr0=^C\s, smso=^CD, smul=^CP, tsl=^]\343, 
  12646.     vpa=\013%p1%{32}%+%c, 
  12647.  
  12648. # p5: Prism-5
  12649. # -----------
  12650. #
  12651. # Same definition as p4. Includes Prism-6 (not tested!).
  12652. # Does not use any multi-page features.
  12653. #
  12654. prism5|p5|P5|MDC Prism-5, 
  12655.     use=p4, 
  12656.  
  12657. # p7: Prism-7
  12658. # -----------
  12659. #
  12660. # Similar definition to p4. Uses ANSI cursor motion to avoid network problems.
  12661. # Notes:
  12662. #  Use p4 for very early models of P7.
  12663. #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
  12664. #
  12665. prism7|p7|P7|MDC Prism-7, 
  12666.     cup=\E[%i%p1%d;%p2%dH, hpa@, vpa@, use=p4, 
  12667.  
  12668. # p8: Prism-8
  12669. # -----------
  12670. #
  12671. # Similar definition to p7. Uses ANSI cursor motion to avoid network problems.
  12672. # Supports national and multinational character sets.
  12673. # Notes:
  12674. #  Alternate char set operations only work in multinational mode.
  12675. #  Use p4 for very early models of P8.
  12676. #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
  12677. # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
  12678. #
  12679. prism8|p8|P8|MDC Prism-8, 
  12680.     cup=\E[%i%p1%d;%p2%dH, hpa=\E[%i%p1%d`, is2=\E[<12h, 
  12681.     vpa=\E[%i%p1%dd, use=p4, 
  12682.  
  12683. # p8-w: Prism-8 in 132 column mode
  12684. # --------------------------------
  12685. #
  12686. # 'Wide' version of p8.
  12687. # Notes:
  12688. #  Rev-index removed; can't send nulls to terminal in 8-bit modes.
  12689. #
  12690. prism8-w|p8-w|P8-W|MDC Prism-8 in 132 column mode, 
  12691.     cols#132, 
  12692.     is2=\E[<12h\E[<14h, use=p8, 
  12693.  
  12694. # p9: Prism-9 in ANSI mode
  12695. # -------------------------
  12696. #
  12697. # The "flagship" model of this generation of terminals.
  12698. # ANSI X3.64 (ISO 6429) standard sequences, plus many DEC VT220 ones.
  12699. # Notes:
  12700. #  Tabs only reset by "reset". Otherwise assumes default (8 cols).
  12701. #  Fixes to deal with terminal firmware bugs:
  12702. #  . 'ri' uses insert-line since rev index doesn't always
  12703. #  . 'sgr0' has extra '0' since esc[m fails
  12704. #  . 'fsl' & 'dsl' use illegal char since cr is actioned wrong on line 25
  12705. #  Not covered in the current definition:
  12706. #  . Labels
  12707. #  . Programming Fn keys
  12708. #  . Graphic characters (defaults correctly to vt100)
  12709. #  . Padding values (sets xon)
  12710. # (esr: commented out <smacs>/<rmacs> because there's no <acsc>)
  12711. #
  12712. prism9|p9|P9|MDC Prism-9 in ANSII mode, 
  12713.     am, bw, hs, mc5i, msgr, xenl, xon, 
  12714.     cols#80, it#8, lines#24, vt#3, wsl#72, 
  12715.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, civis=\E[<4l, 
  12716.     clear=^L, cnorm=\E[<4h, cr=^M, csr=\E[%i%p1%d;%p2%d%%v, 
  12717.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  12718.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  12719.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  12720.     dl=\E[%p1%dM, dl1=\E[M, dsl=\E[%}\024, ech=\E[%p1%dX, 
  12721.     ed=\E[J$<10>, el=\E[K, fsl=^T, home=\E[H, hpa=\E[%i%p1%d`, 
  12722.     ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  12723.     is2=\E[&p\E[<12l\E F, kbs=^H, kclr=^L, kcub1=\E[D, 
  12724.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[11~, 
  12725.     kf10=\E[21~, kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, 
  12726.     kf14=\E[26~, kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, 
  12727.     kf18=\E[32~, kf2=\E[12~, kf3=\E[13~, kf4=\E[14~, 
  12728.     kf5=\E[15~, kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, 
  12729.     khome=\E[H, mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=^M^J, 
  12730.     prot=\E[32%{, rc=\E[%z, rep=\E[%p2%db%p1%c, rev=\E[7m, 
  12731.     ri=\E[L, rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  12732.     rs2=\E[&p\E[<12l\E F\E[3g\E[9;17;25;33;41;49;57;65;73 N, 
  12733.     sc=\E[%y, 
  12734.     sgr=\E[%{0}%?%p1%p3%|%t%{4}%+%;%?%p2%t%{2}%+%;%?%p4%t%{1}%+%;%?%p6%t%{8}%+%;%?%p8%t%{32}%+%;%d%%{%?%p9%t\016%e\017%;, 
  12735.     sgr0=\E[0m, smir=\E[4h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  12736.     tsl=\E[%i%p1%d%%}, vpa=\E[%i%p1%dd, 
  12737.  
  12738. # p9-w: Prism-9 in 132 column mode
  12739. # --------------------------------
  12740. #
  12741. # 'Wide' version of p9.
  12742. #
  12743. prism9-w|p9-w|P9-W|MDC Prism-9 in 132 column mode, 
  12744.     cols#132, 
  12745.     is2=\E[&p\E[<12l\E F\E[<14h, 
  12746.     rs2=\E[&p\E[<12l\E F\E[<14h, use=p9, 
  12747.  
  12748. # p9-8: Prism-9 in P8 mode
  12749. # ------------------------
  12750. #
  12751. # P9 terminal in P8 emulation mode.
  12752. # Similar to p8 definition.
  12753. # Insertion and deletion operations possible.
  12754. #
  12755. prism9-8|p9-8|P9-8|MDC Prism-9 in P8 mode, 
  12756.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  12757.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8, 
  12758.  
  12759. # p9-8-w: Prism-9 in P8 and 132 column modes
  12760. # ------------------------------------------
  12761. #
  12762. # P9 terminal in P8 emulation mode and 132 column mode.
  12763. #
  12764. prism9-8-w|p9-8-w|P9-8-W|MDC Prism-9 in Prism 8 emulation and 132 column mode, 
  12765.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  12766.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, use=p8-w, 
  12767.  
  12768. # p12: Prism-12 in ANSI mode
  12769. # ---------------------------
  12770. #
  12771. # See p9 definition.
  12772. #
  12773. prism12|p12|P12|MDC Prism-12 in ANSI mode, 
  12774.     use=p9, 
  12775.  
  12776. # p12-w: Prism-12 in 132 column mode
  12777. # ----------------------------------
  12778. #
  12779. # 'Wide' version of p12.
  12780. #
  12781. prism12-w|p12-w|P12-W|MDC Prism-12 in 132 column mode, 
  12782.     use=p9-w, 
  12783.  
  12784. # p12-m: Prism-12 in MDC emulation mode
  12785. # -------------------------------------
  12786. #
  12787. # P12 terminal in MDC emulation mode.
  12788. # Similar to p8 definition.
  12789. # Insertion and deletion operations possible.
  12790. #
  12791. prism12-m|p12-m|P12-M|MDC Prism-12 in MDC emulation mode, 
  12792.     use=p9-8, 
  12793.  
  12794. # p12-m-w: Prism-12 in MDC emulation and 132 column modes
  12795. # -------------------------------------------------------
  12796. #
  12797. # P12 terminal in MDC emulation mode and 132 column mode.
  12798. #
  12799. prism12-m-w|p12-m-w|P12-M-W|MDC Prism-12 in MDC emulation and 132 column mode, 
  12800.     use=p9-8-w, 
  12801.  
  12802. # p14: Prism-14 in ANSII mode
  12803. # ---------------------------
  12804. #
  12805. # See p9 definition.
  12806. #
  12807. prism14|p14|P14|MDC Prism-14 in ANSII mode, 
  12808.     use=p9, 
  12809.  
  12810. # p14-w: Prism-14 in 132 column mode
  12811. # ----------------------------------
  12812. #
  12813. # 'Wide' version of p14.
  12814. #
  12815. prism14-w|p14-w|P14-W|MDC Prism-14 in 132 column mode, 
  12816.     use=p9-w, 
  12817.  
  12818. # p14-m: Prism-14 in MDC emulation mode
  12819. # -------------------------------------
  12820. #
  12821. # P14 terminal in MDC emulation mode.
  12822. # Similar to p8 definition.
  12823. # Insertion and deletion operations possible.
  12824. #
  12825. prism14-m|p14-m|P14-M|MDC Prism-14 in MDC emulation mode, 
  12826.     use=p9-8, 
  12827.  
  12828. # p14-m-w: Prism-14 in MDC emulation and 132 column modes
  12829. # -------------------------------------------------------
  12830. #
  12831. # P14 terminal in MDC emulation mode and 132 column mode.
  12832. #
  12833. prism14-m-w|p14-m-w|P14-M-W|MDC Prism-14 in MDC emulation and 132 column mode, 
  12834.     use=p9-8-w, 
  12835.  
  12836. # End of McDonnell Information Systems Prism definitions
  12837.  
  12838. # These things were popular in the Pick database community at one time
  12839. # From: George Land <georgeland@aol.com> 24 Sep 1996
  12840. p8gl|prism8gl|McDonnell-Douglas Prism-8 alternate definition, 
  12841.     am, bw, hs, mir, 
  12842.     cols#80, lines#24, ma#1, wsl#78, xmc#1, 
  12843.     bel=^G, blink=^CB, clear=^L, cr=^M, cub1=^U, cud1=^J, cuf1=^F, 
  12844.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, dch1=\s^H, dim=^CA, dl1=^P, 
  12845.     ed=\EJ, el=\EK, home=^A, ind=^J, invis=^CH, kbs=^H, kcub1=^U, 
  12846.     kcud1=^J, kcuf1=^F, kcuu1=^Z, kdch1=\s^H, kdl1=^P, ked=\EJ, 
  12847.     kel=\EK, kf1=^A@\r, kf10=^AI\r, kf12=^AJ\r, kf13=^AK\r, 
  12848.     kf14=^AL\r, kf15=^AM\r, kf16=^AN\r, kf17=^AO\r, kf2=^AA\r, 
  12849.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  12850.     kf8=^AG\r, kf9=^AH\r, khome=^A, lf1=F1, lf10=F10, lf2=F2, 
  12851.     lf3=F3, lf4=F4, lf5=F5, lf6=F6, lf7=F7, lf8=F8, lf9=F9, nel=^J^M, 
  12852.     pad=\0, rev=^CD, rmso=^C\s, rmul=^C\s, sgr0=^C\s, smso=^CE, 
  12853.     smul=^C0, 
  12854.  
  12855. #### Microterm (act, mime)
  12856. #
  12857. # The mime1 entries refer to the Microterm Mime I or Mime II.
  12858. # The default mime is assumed to be in enhanced act iv mode.
  12859. #
  12860.  
  12861. # New "safe" cursor movement (5/87) from <reuss@umd5.umd.edu>.  Prevents
  12862. # freakout with out-of-range args on Sytek multiplexors.  No <smso=^N> and
  12863. # <rmso=^N> since  it gets confused and it's too dim anyway.  No <ich1>
  12864. # since Sytek insists ^S means xoff.
  12865. # (act4: found ":ic=2^S:ei=:im=:ip=.1*^V:" commented out in 8.3 -- esr)
  12866. act4|microterm|microterm act iv, 
  12867.     OTbs, am, 
  12868.     cols#80, lines#24, 
  12869.     bel=^G, clear=\014$<12/>, cr=^M, cub1=^H, cud1=^K, cuf1=^X, 
  12870.     cup=\024%p1%{24}%+%c%p2%p2%?%{47}%>%t%{48}%+%;%{80}%+%c, 
  12871.     cuu1=^Z, dch1=\004$<.1*/>, dl1=\027$<2.3*/>, 
  12872.     ed=\037$<2.2*/>, el=\036$<.1*/>, home=^], 
  12873.     il1=\001<2.3*/>, ind=^J, kcub1=^H, kcud1=^K, kcuf1=^X, 
  12874.     kcuu1=^Z, 
  12875. # The padding on :sr: and :ta: for act5 and mime is a guess and not final.
  12876. # The act 5 has hardware tabs, but they are in columns 8, 16, 24, 32, 41 (!)...
  12877. # (microterm5: removed obsolete ":ma==^Z^P^Xl^Kj:" -- esr)
  12878. act5|microterm5|microterm act v, 
  12879.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, ri=\EH$<3>, uc=^H\EA, 
  12880.     use=act4, 
  12881. # Mimes using brightness for standout.  Half bright is really dim unless
  12882. # you turn up the brightness so far that lines show up on the screen.
  12883. mime-fb|full bright mime1, 
  12884.     is2=^S\E, rmso=^S, smso=^Y, use=mime, 
  12885. mime-hb|half bright mime1, 
  12886.     is2=^Y\E, rmso=^Y, smso=^S, use=mime, 
  12887. # (mime: removed obsolete ":ma=^X ^K^J^Z^P:"; removed ":do=^K:" that overrode
  12888. # the more plausible ":do=^J:" -- esr)
  12889. # uc was at one time disabled to get around a curses bug, be wary of it
  12890. mime|mime1|mime2|mimei|mimeii|microterm mime1, 
  12891.     OTbs, am, 
  12892.     cols#80, it#8, lines#24, vt#9, 
  12893.     bel=^G, clear=^]^C, cr=^M, cub1=^H, cud1=^J, cuf1=^X, 
  12894.     cup=\024%p1%{24}%+%c%p2%p2%?%{32}%>%t%{48}%+%;%{80}%+%c, 
  12895.     cuu1=^Z, dl1=\027$<80>, ed=^_, el=^^, home=^], ht=\011$<2>, 
  12896.     il1=\001$<80>, ind=^J, is2=^S\E^Q, kcub1=^H, kcud1=^K, 
  12897.     kcuf1=^X, kcuu1=^Z, ri=\022$<3>, uc=^U, 
  12898. # These termcaps (for mime2a) put the terminal in low intensity mode
  12899. # since high intensity mode is so obnoxious.
  12900. mime2a-s|microterm mime2a (emulating an enhanced soroc iq120), 
  12901.     OTbs, am, 
  12902.     cols#80, lines#24, 
  12903.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  12904.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EI, dch1=\ED, 
  12905.     dl1=\027$<20*>, ed=\EJ$<20*>, el=\EK, home=^^, 
  12906.     il1=\001$<20*>, ind=^J, ip=$<2>, is2=\E), kcub1=^H, kcud1=^J, 
  12907.     kcuf1=^L, kcuu1=^K, ri=\EI, rmir=^Z, rmso=\E;, rmul=\E7, 
  12908.     smir=\EE, smso=\E\:, smul=\E6, 
  12909. # This is the preferred mode (but ^X can't be used as a kill character)
  12910. mime2a|mime2a-v|microterm mime2a (emulating an enhanced vt52), 
  12911.     OTbs, 
  12912.     cols#80, it#8, lines#24, 
  12913.     bel=^G, clear=\EL, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  12914.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=^N, 
  12915.     dl1=\027$<20*>, ed=\EQ$<20*>, el=\EP, home=\EH, ht=^I, 
  12916.     il1=\001$<20*>, ind=^J, ip=$<2>, is2=^Y, kcub1=\ED, 
  12917.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, ri=\EA, rmir=^Z, rmso=\E9, 
  12918.     rmul=\E5, smir=^O, smso=\E8, smul=\E4, 
  12919. # (mime3a: removed obsolete ":ma=^X ^K^J^Z^P:" -- esr)
  12920. mime3a|mime1 emulating 3a, 
  12921.     am@, 
  12922.     kcub1=^H, kcud1=^K, kcuf1=^X, kcuu1=^Z, use=adm3a, 
  12923. mime3ax|mime-3ax|mime1 emulating enhanced 3a, 
  12924.     it#8, 
  12925.     dl1=\027$<80>, ed=^_, el=^X, ht=\011$<3>, il1=\001$<80>, 
  12926.     use=mime3a, 
  12927. # Wed Mar  9 18:53:21 1983
  12928. # We run our terminals at 2400 baud, so there might be some timing problems at
  12929. # higher speeds. The major improvements in this model are the terminal now 
  12930. # scrolls down and insert mode works without redrawing the rest of the line
  12931. # to the right of the cursor. This is done with a bit of a kludge using the
  12932. # exit graphics mode to get out of insert, but it does not appear to hurt
  12933. # anything when using vi at least. If you have some users using act4s with
  12934. # programs that use curses and graphics mode this could be a problem.
  12935. mime314|mm314|mime 314, 
  12936.     am, 
  12937.     cols#80, lines#24, 
  12938.     clear=^L, cub1=^H, cuf1=^X, cup=\024%p1%c%p2%c, cuu1=^Z, 
  12939.     dch1=^D, dl1=^W, ed=^_, el=^^, home=^], ht=^I, il1=^A, kcub1=^H, 
  12940.     kcud1=^K, kcuf1=^X, kcuu1=^Z, rmir=^V, smir=^S, 
  12941. # Microterm mime 340 from University of Wisconsin
  12942. mm340|mime340|mime 340, 
  12943.     cols#80, lines#24, 
  12944.     clear=\032$<12/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  12945.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  12946.     dch1=\E#$<2.1*/>, dl1=\EV$<49.6/>, ed=\037$<2*/>, 
  12947.     el=\EL$<2.1/>, ht=^I, il1=\EU$<46/>, ind=^J, is2=\E\,, 
  12948.     kbs=^H, kcub1=^H, kcud1=^J, kcuu1=^K, nel=^M^J, 
  12949. # This came from University of Wisconsin marked "astro termcap for jooss".
  12950. # (mt4520-rv: removed obsolete ":kn#4:" and incorrect ":ri=\E[C:";
  12951. # also added <rmam>/<smam> based  on the init string -- esr)
  12952. mt4520-rv|micro-term 4520 reverse video, 
  12953.     am, hs, msgr, xenl, xon, 
  12954.     cols#80, it#8, lines#24, wsl#80, 
  12955.     bel=^G, clear=\E[H\E[J, cnorm=\E[0V\E8, cr=^M, 
  12956.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  12957.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  12958.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  12959.     cvvis=\E7\E[0U, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  12960.     dl1=\E[M, ed=\E[J, el=\E[K, flash=\E[?5l$<200/>\E[?5h, 
  12961.     fsl=\E[?5l\E[?5h, home=\E[H, ht=^I, hts=\EH, ich=\E[%p1%d@, 
  12962.     ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  12963.     is2=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[1;24r\E[24;1H\E[H\E[J, 
  12964.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  12965.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, 
  12966.     ll=\E[24;1H, nel=\EE, rc=\E8, rf=/usr/share/tabset/vt100, 
  12967.     ri=\EM, rmam=\E[?7l, rmso=\E[0m, rmul=\E[24m, 
  12968.     rs1=\E(B\E[2l\E>\E[20l\E[?3l\E[?5h\E[?7h\E[H\E[J, 
  12969.     sc=\E7, sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, 
  12970.     tbc=\E[g, tsl=\E[25;1H, 
  12971.  
  12972. # Fri Aug  5 08:11:57 1983
  12973. # This entry works for the ergo 4000 with the following setups:
  12974. # ansi,wraparound,newline disabled, xon/xoff disabled in both
  12975. # setup a & c.
  12976. #    
  12977. # WARNING!!! There are multiple versions of ERGO 4000 microcode
  12978. # Be advised that very early versions DO NOT WORK RIGHT !!  
  12979. # Microterm does have a ROM exchange program- use it or lose big
  12980. # (ergo400: added <rmam>/<smam> based on the init string -- esr)
  12981. ergo4000|microterm ergo 4000, 
  12982.     da, db, msgr, 
  12983.     cols#80, lines#66, 
  12984.     bel=^G, clear=\E[H\E[2J$<80>, cr=^M, cub1=^H, cud1=\E[B, 
  12985.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  12986.     dch1=\E[1P$<80>, dl1=\E[1M$<5*>, ed=\E[0J$<15>, 
  12987.     el=\E[0K$<13>, ht=^I, il1=\E[1L$<5*>, ind=\ED$<20*>, 
  12988.     is2=\E<\E=\E[?1l\E[?4l\E[?5l\E[?7h\E[?8h$<300>, 
  12989.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  12990.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=pf1, lf2=pf2, lf3=pf3, 
  12991.     lf4=pf4, ri=\EM$<20*>, rmam=\E[?7l, rmir=\E[4l, 
  12992.     rmkx=\E=$<4>, rmso=\E[m$<20>, sgr0=\E[m$<20>, 
  12993.     smam=\E[?7m, smir=\E[4h$<6>, smkx=\E=$<4>, 
  12994.     smso=\E[7m$<20>, 
  12995.  
  12996. #### NCR 
  12997. #
  12998. # NCR's terminal group was merged with AT&T's when AT&T bought the company.
  12999. # For what happened to that group, see the ADDS section.
  13000. #
  13001. # There is an NCR4103 terminal that's just a re-badged Wyse-50.
  13002. #
  13003.  
  13004. # The following vendor-supplied termcaps were captured from the Boundless
  13005. # Technologies site, 8 March 1998.  I removed all-upper-case names that were
  13006. # identical, except for case, to lower-case ones.  I also uncommented the acsc
  13007. # capabilities.X
  13008. #
  13009. # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
  13010. # DEC vt200/300 with color capabilities added.
  13011. ncr260intan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
  13012.     colors#8, pairs#64, 
  13013.     op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  13014.     use=ncr260vt300an, 
  13015. # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
  13016. # DEC vt200/300 with color capabilities added.
  13017. ncr260intwan|NCR Intecolor emulation of the 2900_260C with an ANSI keyboard, 
  13018.     colors#8, pairs#64, 
  13019.     op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  13020.     use=ncr260vt300wan, 
  13021. # The Intecolor emulation of the NCR 2900/260C color terminal is basically a
  13022. # DEC vt200/300 with color capabilities added.
  13023. ncr260intpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard, 
  13024.     colors#8, pairs#64, 
  13025.     op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  13026.     use=ncr260vt300pp, 
  13027. # The Intecolor emulation of the NCR 2900/260C color terminal is basicly a
  13028. # DEC vt200/300 with color capabilities added.
  13029. ncr260intwpp|NCR Intecolor emulation of the 2900_260C with a PC+ keyboard in 132 column mode, 
  13030.     colors#8, pairs#64, 
  13031.     op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  13032.     use=ncr260vt300wpp, 
  13033. # This definition for ViewPoint supports several attributes.  This means
  13034. # that it has magic cookies (extra spaces where the attributes begin).
  13035. # Some applications do not function well with magic cookies.  The System
  13036. # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
  13037. # If supporting various attributes is not vital, 'xmc#1' and the extra
  13038. # attributes can be removed. 
  13039. # Mapping to ASCII character set ('acsc' capability) can also be 
  13040. # restored if needed.
  13041. ncr260vppp|NCR 2900_260 viewpoint, 
  13042.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  13043.     cols#80, lines#24, nlab#32, xmc#1, 
  13044.     acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
  13045.     cbt=\EI, civis=\E`0, clear=\014$<40>, cnorm=\E`5, 
  13046.     cr=\r$<2>, cub1=\010$<2>, cud1=\n$<2>, cuf1=\006$<2>, 
  13047.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5>, cuu1=\032$<2>, 
  13048.     cvvis=\E`5, dch1=\EW$<2>, dim=\EGp, dl1=\El$<2>, dsl=\E`c, 
  13049.     ed=\Ek$<2>, el=\EK$<2>, fsl=^M, home=\036$<2>, ht=^I, 
  13050.     hts=\E1, il1=\EM$<2>, ind=\n$<2>, invis=\EG1, 
  13051.     is2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
  13052.     kDC=\El, kEND=\Ek, kHOM=^A, kPRT=\E7, kRIT=^F, ka1=^A, ka3=\EJ, 
  13053.     kbs=^H, kc1=\ET, kc3=\EJ, kcub1=^U, kcud1=^J, kcuf1=^F, 
  13054.     kcuu1=^Z, kdch1=\EW, kend=\EK, kf1=^B1\r, kf10=^B\:\r, 
  13055.     kf11=^B;\r, kf12=^B<\r, kf13=^B=\r, kf14=^B>\r, kf15=^B?\r, 
  13056.     kf16=^B@\r, kf17=^B!\r, kf18=^B"\r, kf19=^B#\r, kf2=^B2\r, 
  13057.     kf20=^B$\r, kf21=\002%^M, kf22=^B&\r, kf23=^B'\r, 
  13058.     kf24=^B(\r, kf25=^B)\r, kf26=^B*\r, kf27=^B+\r, 
  13059.     kf28=^B\,\r, kf29=^B-\r, kf3=^B3\r, kf30=^B.\r, kf31=^B/\r, 
  13060.     kf32=^B0\r, kf4=^B4\r, kf5=^B5\r, kf6=^B6\r, kf7=^B7\r, 
  13061.     kf8=^B8\r, kf9=^B9\r, khome=^A, kich1=\Eq, knp=\EJ, kpp=\EJ, 
  13062.     kprt=\EP, ll=\001$<5>, mc0=\EP$<100>, mc4=^T, mc5=^R, 
  13063.     mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<5>, 
  13064.     nel=\037$<2>, rev=\EG4, ri=\Ej$<2>, rmacs=\EcB0\EH\003, 
  13065.     rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
  13066.     rs2=\Ee6\E~%$<100>\E+\E`\:\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
  13067.     sgr0=\EG0\EH\003, smacs=\EcB1\EH\002, smir=\Eq, 
  13068.     smso=\EG4, smul=\EG8, smxon=\Ec21, tsl=\EF, 
  13069. ncr260vpwpp|NCR 2900_260 viewpoint wide mode, 
  13070.     cols#132, 
  13071.     cup=\Ea%i%p1%dR%p2%dC$<30>, 
  13072.     is2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
  13073.     rs2=\Ee6\E~%$<100>\E+\E`;\Ed/\E`1\EO\Ee4\Ec@0@\Ec@1A\EcB0\EcC1\Ee7$<100>, 
  13074.     use=ncr260vppp, 
  13075. ncr260vt100an|NCR 2900_260 vt100 with ansi kybd, 
  13076.     am, hs, mir, msgr, xenl, xon, 
  13077.     cols#80, lines#24, nlab#32, 
  13078.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  13079.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  13080.     clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
  13081.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD$<5>, 
  13082.     cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
  13083.     cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
  13084.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
  13085.     cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
  13086.     dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
  13087.     ech=\E[%p1%dX, ed=\E[0J$<5>, el=\E[0K$<3>, el1=\E[1K$<3>, 
  13088.     fsl=\E[0$}, home=\E[H$<1>, hpa=\E[%p1%dG$<40>, ht=^I, 
  13089.     hts=\EH, ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, 
  13090.     il1=\E[L$<5>, ind=\ED$<5>, indn=\E[%p1%dE$<5>, 
  13091.     invis=\E[8m, 
  13092.     is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13093.     ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
  13094.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  13095.     kdch1=\E[3~, kent=\EOM, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  13096.     kf4=\EOS, kfnd=\E[1~, khlp=\E[28~, kich1=\E[2~, knp=\E[6~, 
  13097.     kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, nel=\EE$<5>, rc=\E8, 
  13098.     rev=\E[7m, ri=\EM$<5>, rmacs=^O, rmir=\E[4l, 
  13099.     rmkx=\E[?1l\E>, rmso=\E[0m, rmul=\E[0m, 
  13100.     rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13101.     sc=\E7, 
  13102.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
  13103.     sgr0=\E[0m\017$<20>, smacs=^N, smir=\E[4h, 
  13104.     smkx=\E[?1h\E=, smso=\E[1;7m, smul=\E[4m, tbc=\E[3g, 
  13105.     tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
  13106. ncr260vt100wan|NCR 2900_260 vt100 wide mode ansi kybd, 
  13107.     cols#132, 
  13108.     cup=\E[%i%p1%d;%p2%dH$<30>, 
  13109.     is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13110.     rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13111.     use=ncr260vt100an, 
  13112. ncr260vt100pp|NCR 2900_260 vt100 with PC+ kybd, 
  13113.     is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13114.     ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
  13115.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
  13116.     kend=\E[5~, khome=\E[2~, kich1=\E[1~, knp=\E[6~, kpp=\E[3~, 
  13117.     lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, 
  13118.     rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13119.     smkx=\E=, use=ncr260vt100an, 
  13120. ncr260vt100wpp|NCR 2900_260 vt100 wide mode pc+  kybd, 
  13121.     cols#132, 
  13122.     cup=\E[%i%p1%d;%p2%dH$<30>, 
  13123.     is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13124.     rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13125.     use=ncr260vt100pp, 
  13126. ncr260vt200an|NCR 2900_260 vt200 with ansi kybd, 
  13127.     am, hs, mir, msgr, xenl, xon, 
  13128.     cols#80, lines#24, nlab#32, 
  13129.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  13130.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  13131.     clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
  13132.     csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
  13133.     cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
  13134.     cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
  13135.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
  13136.     cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
  13137.     dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
  13138.     ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
  13139.     fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
  13140.     ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
  13141.     ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
  13142.     is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13143.     ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
  13144.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  13145.     kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
  13146.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  13147.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  13148.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
  13149.     kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
  13150.     kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
  13151.     kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
  13152.     kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
  13153.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  13154.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
  13155.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
  13156.     ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
  13157.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  13158.     rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13159.     sc=\E7, 
  13160.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
  13161.     sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
  13162.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  13163.     tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
  13164. ncr260vt200wan|NCR 2900_260 vt200 wide mode ansi kybd, 
  13165.     cols#132, 
  13166.     cup=\E[%i%p1%d;%p2%dH$<30>, 
  13167.     is2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
  13168.     rs2=\E[!p\E[?3;7;19;67h\E[?4l\E(B\E)0\017\E[2J\E[1;1H$<200>, 
  13169.     use=ncr260vt200an, 
  13170. ncr260vt200pp|NCR 2900_260 vt200 with pc+ kybd, 
  13171.     ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
  13172.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
  13173.     kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  13174.     lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
  13175.     use=ncr260vt200an, 
  13176. ncr260vt200wpp|NCR 2900_260 vt200 wide mode pc+  kybd, 
  13177.     cols#132, 
  13178.     cup=\E[%i%p1%d;%p2%dH$<30>, 
  13179.     is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13180.     rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13181.     use=ncr260vt200pp, 
  13182. ncr260vt300an|NCR 2900_260 vt300 with ansi kybd, 
  13183.     am, hs, mir, msgr, xenl, xon, 
  13184.     cols#80, lines#24, nlab#32, 
  13185.     acsc=``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  13186.     blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  13187.     clear=\E[2J\E[1;1H$<20>, cnorm=\E[?25h, cr=\r$<1>, 
  13188.     csr=\E[%i%p1%d;%p2%dr$<5>, cub=\E[%p1%dD$<5>, 
  13189.     cub1=\E[D$<5>, cud=\E[%p1%dB$<5>, cud1=\E[B$<5>, 
  13190.     cuf=\E[%p1%dC$<5>, cuf1=\E[C$<5>, 
  13191.     cup=\E[%i%p1%d;%p2%dH$<10>, cuu=\E[%p1%dA$<5>, 
  13192.     cuu1=\E[A$<5>, dch=\E[%p1%dP$<5>, dch1=\E[1P$<5>, 
  13193.     dl=\E[%p1%dM$<5>, dl1=\E[M$<5>, dsl=\E[0$~\E[1$~, 
  13194.     ech=\E[%p1%dX$<5>, ed=\E[0J, el=\E[0K$<5>, el1=\E[1K$<5>, 
  13195.     fsl=\E[0$}, home=\E[H, hpa=\E[%p1%dG$<40>, ht=^I, hts=\EH, 
  13196.     ich=\E[%p1%d@$<5>, il=\E[%p1%dL$<5>, il1=\E[L$<5>, 
  13197.     ind=\ED$<5>, indn=\E[%p1%dE$<5>, invis=\E[8m, 
  13198.     is2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13199.     ka1=\EOw, ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, 
  13200.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  13201.     kdch1=\E[3~, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\E[21~, 
  13202.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  13203.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  13204.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf21=\E[31~, 
  13205.     kf22=\E[32~, kf23=\E[33~, kf24=\E[34~, kf25=\E[35~, 
  13206.     kf26=\E[1~, kf27=\E[2~, kf28=\E[3~, kf29=\E[4~, kf3=\EOR, 
  13207.     kf30=\E[5~, kf31=\E[6~, kf32=\E[7~, kf33=\E[8~, kf34=\E[9~, 
  13208.     kf35=\E[10~, kf4=\EOS, kf5=\E[M, kf6=\E[17~, kf7=\E[18~, 
  13209.     kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, khlp=\E[28~, 
  13210.     kich1=\E[2~, knp=\E[6~, kpp=\E[5~, krdo=\E[29~, kslt=\E[4~, 
  13211.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
  13212.     ri=\EM$<5>, rmacs=\017$<20>, rmam=\E[?7l, rmir=\E[4l, 
  13213.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, 
  13214.     rs2=\E[!p\E[?7;19;67h\E[?1;3;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13215.     sc=\E7, 
  13216.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<20>, 
  13217.     sgr0=\E[0m\017$<20>, smacs=\016$<20>, smam=\E[?7h, 
  13218.     smir=\E[4h, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  13219.     tbc=\E[3g, tsl=\E[2$~\E[1$}, vpa=\E[%p1%dd$<40>, 
  13220. ncr260vt300wan|NCR 2900_260 vt300 wide mode ansi kybd, 
  13221.     cols#132, 
  13222.     cup=\E[%i%p1%d;%p2%dH$<30>, 
  13223.     is2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
  13224.     rs2=\E[!p\E[?3;7;19;67h\E[?4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H$<200>, 
  13225.     use=ncr260vt300an, 
  13226. ncr260vt300pp|NCR 2900_260 vt300 with pc+ kybd, 
  13227.     ka1=\E[H, ka3=\EOu, kb2=\E[V, kc3=\E[U, kcub1=\E[D, 
  13228.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[4~, 
  13229.     kend=\E[1~, khome=\E[H, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  13230.     lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, rmkx=\E>, smkx=\E=, 
  13231.     use=ncr260vt300an, 
  13232. NCR260VT300WPP|ncr260vt300wpp|NCR 2900_260 vt300 wide mode pc+  kybd, 
  13233.     cols#132, 
  13234.     cup=\E[%i%p1%d;%p2%dH$<30>, 
  13235.     is2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13236.     rs2=\E[!p\E[?3;7;19;67h\E[?1;4l\E[1;0%w\E(B\E)0\017\E[2J\E[1;1H\E>$<200>, 
  13237.     use=ncr260vt300pp, 
  13238. # This terminfo file contains color capabilities for the Wyse325 emulation of 
  13239. # the NCR 2900/260C color terminal.  Because of the structure of the command
  13240. # (escape sequence) used to set color attributes, one of the fore/background
  13241. # colors must be preset to a given value. I have set the background color to
  13242. # black.  The user can change this setup by altering the last section of the
  13243. # 'setf' definition.  The escape sequence to set color attributes is 
  13244. #        ESC d y <foreground_color> <background_color> 1  
  13245. # In addition, the background color can be changed through the desk accessories.
  13246. # The capablitiy 'op' sets colors to green on black (default combination).  
  13247. #
  13248. # NOTE:  The NCR Unix System Administrator's Shell will not function properly
  13249. #         if the 'pairs' capability is defined. Un-Comment the 'pairs'
  13250. #        capability and recompile if you wish to have it included. 
  13251. #
  13252. ncr260wy325pp|NCR 2900_260 wyse 325, 
  13253.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  13254.     colors#16, cols#80, lines#24, ncv#33, nlab#32, 
  13255.     acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
  13256.     cbt=\EI, civis=\E`0, clear=\E*$<10>, cnorm=\E`1, cr=^M, 
  13257.     cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
  13258.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
  13259.     cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
  13260.     ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<5>, ht=^I, 
  13261.     hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
  13262.     is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13263.     kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
  13264.     kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, kcbt=\EI, 
  13265.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, kdch1=\EW, kend=\ET, 
  13266.     kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, 
  13267.     kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, 
  13268.     kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, 
  13269.     kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, 
  13270.     kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, kf30=^Am\r, kf31=^An\r, 
  13271.     kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  13272.     kf8=^AG\r, kf9=^AH\r, khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, 
  13273.     kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
  13274.     mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
  13275.     nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
  13276.     rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
  13277.     rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13278.     setb=\s, 
  13279.     setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{64}%e%p1%{8}%=%t%{57}%e%p1%{9}%=%t%{58}%e%p1%{10}%=%t%{59}%e%p1%{11}%=%t%{60}%e%p1%{12}%=%t%{61}%e%p1%{13}%=%t%{62}%e%p1%{14}%=%t%{63}%e%p1%{15}%=%t%{56}%;\Edy%c11$<100>, 
  13280.     sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH\002\EcB1, smam=\Ed/, 
  13281.     smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
  13282.     tsl=\EF, 
  13283. ncr260wy325wpp|NCR 2900_260 wyse 325 wide mode, 
  13284.     cols#132, 
  13285.     cup=\Ea%i%p1%dR%p2%dC$<30>, 
  13286.     is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13287.     rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13288.     use=ncr260wy325pp, 
  13289. # This definition for Wyse 350 supports several attributes.  This means
  13290. # that it has magic cookies (extra spaces where the attributes begin).
  13291. # Some applications do not function well with magic cookies.  The System
  13292. # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
  13293. # If supporting various attributes is not vital, 'xmc#1' and the extra
  13294. # attributes can be removed. 
  13295. # Mapping to ASCII character set ('acsc' capability) can also be 
  13296. # restored if needed.
  13297. # In addition, color capabilities have been added to this file.  The drawback,
  13298. # however, is that the background color has to be black.  The foreground colors
  13299. # are numbered 0 through 15.  
  13300. #
  13301. # NOTE:  The NCR Unix System Administrator's Shell does not function properly
  13302. #         with the 'pairs' capability defined as below.  If you wish to
  13303. #        have it included, Un-comment it and recompile (using 'tic'). 
  13304. #
  13305. ncr260wy350pp|NCR 2900_260 wyse 350, 
  13306.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  13307.     colors#16, cols#80, lines#24, ncv#33, nlab#32, xmc#1, 
  13308.     acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
  13309.     cbt=\EI, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
  13310.     cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
  13311.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<40>, cuu1=\013$<5>, 
  13312.     cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
  13313.     ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<10>, ht=^I, 
  13314.     hts=\E1, il1=\EE$<5>, ind=\n$<5>, invis=\EG1, 
  13315.     is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13316.     kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
  13317.     kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
  13318.     kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
  13319.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  13320.     kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
  13321.     kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
  13322.     kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
  13323.     kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
  13324.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  13325.     khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
  13326.     mc0=\EP$<10>, mc4=^T, mc5=^R, 
  13327.     mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<20>, 
  13328.     nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH\003\EcB0, 
  13329.     rmam=\Ed., rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
  13330.     rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13331.     setb=\s, 
  13332.     setf=%?%p1%{0}%=%t%{49}%e%p1%{1}%=%t%{50}%e%p1%{2}%=%t%{51}%e%p1%{3}%=%t%{52}%e%p1%{4}%=%t%{53}%e%p1%{5}%=%t%{54}%e%p1%{6}%=%t%{55}%e%p1%{7}%=%t%{102}%e%p1%{8}%=%t%{97}%e%p1%{9}%=%t%{98}%e%p1%{10}%=%t%{99}%e%p1%{11}%=%t%{101}%e%p1%{12}%=%t%{106}%e%p1%{13}%=%t%{110}%e%p1%{14}%=%t%{111}%e%p1%{15}%=%t%{56}%;\Em0%c$<100>, 
  13333.     sgr0=\EG0\EH\003\EcD, smacs=\EH\002\EcB1, smam=\Ed/, 
  13334.     smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0, 
  13335.     tsl=\EF, 
  13336. ncr260wy350wpp|NCR 2900_260 wyse 350 wide mode, 
  13337.     cols#132, 
  13338.     cup=\Ea%i%p1%dR%p2%dC$<30>, 
  13339.     is2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
  13340.     rs2=\Ee6\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
  13341.     use=ncr260wy350pp, 
  13342. # This definition for Wyse 50+ supports several attributes.  This means
  13343. # that it has magic cookies (extra spaces where the attributes begin).
  13344. # Some applications do not function well with magic cookies.  The System
  13345. # Administrator's Shell in NCR Unix SVR4 1.03 is one such application. 
  13346. # If supporting various attributes is not vital, 'xmc#1' and the extra
  13347. # attributes can be removed. 
  13348. # Mapping to ASCII character set ('acsc' capability) can also be 
  13349. # restored if needed.
  13350. # (ncr260wy50+pp: originally contained commented-out 
  13351. # <acsc=j5k3l2m1n8q:t4u9v=w0x6>, as well as the commented-out one there -- esr)
  13352. ncr260wy50+pp|NCR 2900_260 wyse 50+, 
  13353.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  13354.     cols#80, lines#24, nlab#32, xmc#1, 
  13355.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
  13356.     cbt=\EI$<5>, civis=\E`0, clear=\E+$<20>, cnorm=\E`1, cr=^M, 
  13357.     cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
  13358.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<30>, cuu1=\013$<5>, 
  13359.     cvvis=\E`5, dch1=\EW$<50>, dim=\EGp, dl1=\ER$<5>, dsl=\E`c, 
  13360.     ed=\EY$<5>, el=\ET$<5>, fsl=^M, home=\036$<10>, 
  13361.     ht=\011$<5>, hts=\E1$<5>, il1=\EE$<5>, ind=\n$<5>, 
  13362.     invis=\EG1, 
  13363.     is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13364.     kDC=\ER, kEND=\EY, kHOM=\E{, kPRT=\E7, kRIT=^L, ka1=^^, kbs=^H, 
  13365.     kc1=\ET, kc3=\EK, kcbt=\EI, kcub1=^H, kcud1=^J, kcuf1=^L, 
  13366.     kcuu1=^K, kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, 
  13367.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  13368.     kf16=^AO\r, kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, 
  13369.     kf20=^Ac\r, kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, 
  13370.     kf25=^Ah\r, kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, 
  13371.     kf3=^AB\r, kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, 
  13372.     kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, 
  13373.     khome=^^, kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, 
  13374.     mc0=\EP$<10>, mc4=^T, mc5=^R, 
  13375.     mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<10>, 
  13376.     nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
  13377.     rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
  13378.     rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13379.     sgr0=\EG0\EH\003$<15>, smacs=\EH^B, smam=\Ed/, smir=\Eq, 
  13380.     smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<5>, tsl=\EF, 
  13381. ncr260wy50+wpp|NCR 2900_260 wyse 50+ wide mode, 
  13382.     cols#132, 
  13383.     cup=\Ea%i%p1%dR%p2%dC$<30>, 
  13384.     is2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
  13385.     rs2=\Ee6\E~"$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<200>, 
  13386.     use=ncr260wy50+pp, 
  13387. ncr260wy60pp|NCR 2900_260 wyse 60, 
  13388.     am, bw, hs, km, mc5i, mir, msgr, xon, 
  13389.     cols#80, lines#24, nlab#32, 
  13390.     acsc=07a?h;j5k3l2m1n8q\:t4u9v=w0x6, bel=^G, blink=\EG2, 
  13391.     cbt=\EI$<15>, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, 
  13392.     cr=^M, cub1=\010$<5>, cud1=\n$<5>, cuf1=\014$<5>, 
  13393.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<10>, cuu1=\013$<5>, 
  13394.     cvvis=\E`5, dch1=\EW$<50>, dl1=\ER$<5>, dsl=\E`c, 
  13395.     ed=\Ey$<5>, el=\Et$<5>, fsl=^M, home=\036$<25>, 
  13396.     ht=\011$<15>, hts=\E1$<15>, il1=\EE$<5>, ind=\n$<5>, 
  13397.     invis=\EG1, 
  13398.     is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13399.     kDC=\ER, kEND=\EY, kHOM=\E{, kNXT=\EK, kPRT=\E7, kPRV=\EJ, 
  13400.     kRIT=^L, ka1=^^, kb2=\EJ, kbs=^H, kc1=\ET, kc3=\EK, 
  13401.     kcbt=\EI$<15>, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  13402.     kdch1=\EW, kend=\ET, kf1=^A@\r, kf10=^AI\r, kf11=^AJ\r, 
  13403.     kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, kf16=^AO\r, 
  13404.     kf17=^A`\r, kf18=^Aa\r, kf19=^Ab\r, kf2=^AA\r, kf20=^Ac\r, 
  13405.     kf21=^Ad\r, kf22=^Ae\r, kf23=^Af\r, kf24=^Ag\r, kf25=^Ah\r, 
  13406.     kf26=^Ai\r, kf27=^Aj\r, kf28=^Ak\r, kf29=^Al\r, kf3=^AB\r, 
  13407.     kf30=^Am\r, kf31=^An\r, kf32=^Ao\r, kf4=^AC\r, kf5=^AD\r, 
  13408.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  13409.     kich1=\Eq, knp=\EK, kpp=\EJ, kprt=\EP, mc0=\EP, mc4=^T, mc5=^R, 
  13410.     mrcup=\Ew@%p1%{48}%+%c%p2%{32}%+%c%p3%{32}%+%c$<30>, 
  13411.     nel=\037$<5>, rev=\EG4, ri=\Ej$<5>, rmacs=\EH^C, rmam=\Ed., 
  13412.     rmir=\Er, rmso=\EG0, rmul=\EG0, rmxon=\Ec20, 
  13413.     rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`\:\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13414.     sgr0=\EG0\EcB0\EcD$<15>, smacs=\EH^B, smam=\Ed/, 
  13415.     smir=\Eq, smso=\EGt, smul=\EG8, smxon=\Ec21, tbc=\E0$<15>, 
  13416.     tsl=\EF, 
  13417. ncr260wy60wpp|NCR 2900_260 wyse 60 wide mode, 
  13418.     cols#132, 
  13419.     cup=\Ea%i%p1%dR%p2%dC$<30>, 
  13420.     is2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13421.     rs2=\Ee6\E~4$<100>\E+\Ed/\Ee1\Ed*\Er\EO\E`1\E`;\E`@\E~!\E"\Ee4\Ex@\E`9\Ee7$<100>, 
  13422.     use=ncr260wy60pp, 
  13423. ncr160vppp|NCR 2900_160 viewpoint, 
  13424.     use=ncr260vppp, 
  13425. ncr160vpwpp|NCR 2900_160 viewpoint wide mode, 
  13426.     use=ncr260vpwpp, 
  13427. ncr160vt100an|NCR 2900_160 vt100 with ansi kybd, 
  13428.     use=ncr260vt100an, 
  13429. ncr160vt100pp|NCR 2900_160 vt100 with PC+ kybd, 
  13430.     use=ncr260vt100pp, 
  13431. ncr160vt100wan|NCR 2900_160 vt100 wide mode ansi kybd, 
  13432.     use=ncr260vt100wan, 
  13433. ncr160vt100wpp|NCR 2900_160 vt100 wide mode pc+  kybd, 
  13434.     use=ncr260vt100wpp, 
  13435. ncr160vt200an|NCR 2900_160 vt200 with ansi kybd, 
  13436.     use=ncr260vt200an, 
  13437. ncr160vt200pp|NCR 2900_160 vt200 with pc+ kybd, 
  13438.     use=ncr260vt200pp, 
  13439. ncr160vt200wan|NCR 2900_160 vt200 wide mode ansi kybd, 
  13440.     use=ncr260vt200wan, 
  13441. ncr160vt200wpp|NCR 2900_160 vt200 wide mode pc+  kybd, 
  13442.     use=ncr260vt200wpp, 
  13443. ncr160vt300an|NCR 2900_160 vt300 with ansi kybd, 
  13444.     use=ncr260vt300an, 
  13445. ncr160vt300pp|NCR 2900_160 vt300 with pc+ kybd, 
  13446.     use=ncr260vt300pp, 
  13447. ncr160vt300wan|NCR 2900_160 vt300 wide mode ansi kybd, 
  13448.     use=ncr260vt300wan, 
  13449. ncr160vt300wpp|NCR 2900_160 vt300 wide mode pc+  kybd, 
  13450.     use=ncr260vt300wpp, 
  13451. ncr160wy50+pp|NCR 2900_160 wyse 50+, 
  13452.     use=ncr260wy50+pp, 
  13453. ncr160wy50+wpp|NCR 2900_160 wyse 50+ wide mode, 
  13454.     use=ncr260wy50+wpp, 
  13455. ncr160wy60pp|NCR 2900_160 wyse 60, 
  13456.     use=ncr260wy60pp, 
  13457. ncr160wy60wpp|NCR 2900_160 wyse 60 wide mode, 
  13458.     use=ncr260wy60wpp, 
  13459. ncrvt100an|ncrvt100pp|NCR vt100 for the 2900 terminal, 
  13460.     am, hs, mc5i, mir, msgr, xon, 
  13461.     cols#80, it#8, lines#24, nlab#32, 
  13462.     acsc=``aaffgghhiijjkkllmmnnqqttuuvvwwxxyyzz~~, 
  13463.     bel=^G, blink=\E[5m$<30>, bold=\E[1m$<30>, 
  13464.     clear=\E[2J\E[1;1H$<300>, cr=^M, 
  13465.     csr=\E[%i%p1%d;%p2%dr$<100>, cub=\E[%p1%dD$<30>, 
  13466.     cub1=\E[D$<2>, cud=\E[%p1%dB$<30>, cud1=\E[B$<2>, 
  13467.     cuf=\E[%p1%dC$<30>, cuf1=\E[C$<2>, 
  13468.     cup=\E[%i%p1%d;%p2%dH$<100>, cuu=\E[%p1%dA$<30>, 
  13469.     cuu1=\E[A$<2>, dch=\E[%p1%dP$<40>, dch1=\E[1P$<10>, 
  13470.     dl=\E[%p1%dM$<70>, dl1=\E[M$<40>, dsl=\E[31l$<25>, 
  13471.     ed=\E[0J$<300>, el=\E[0K$<30>, el1=\E[1K$<30>, 
  13472.     enacs=\E(B\E)0$<40>, fsl=1$<10>, home=\E[H$<2>$<80>, 
  13473.     ht=^I, hts=\EH, il=\E[%p1%dL$<80>, il1=\E[B\E[L$<80>, 
  13474.     ind=\ED, 
  13475.     is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3l\E(B\E)0$<200>, 
  13476.     kLFT=\E[D, kRIT=\E[C, ka1=\E[H, kbs=^H, kcub1=\E[D, 
  13477.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kent=^M, kf1=\EOP, 
  13478.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, mc0=\E[i$<100>, nel=\EE, 
  13479.     rc=\E8, rev=\E[7m$<30>, ri=\EM$<50>, rmacs=\017$<90>, 
  13480.     rmir=\E[4l$<80>, rmso=\E[0m$<30>, rmul=\E[0m$<30>, 
  13481.     rs2=\Ec\E[12;31h\E[?3;4;5;10l\E[?6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
  13482.     sc=\E7, 
  13483.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<100>, 
  13484.     sgr0=\017\E[0m$<120>, smacs=\016$<90>, smir=\E[4h$<80>, 
  13485.     smso=\E[7m$<30>, smul=\E[4m$<30>, tbc=\E[3g$<40>, 
  13486.     tsl=\E[>+1$<70>, 
  13487. ncrvt100wan|NCRVT100WPP|ncrvt100wpp|NCR VT100 emulation of the 2900 terminal, 
  13488.     cols#132, 
  13489.     is2=\E[12h\E[?10l\E%/0n\E[P\031\E[?3h\E(B\E)0$<200>, 
  13490.     rs2=\Ec\E[12;31h\E[?4;5;10l\E?3;6;7;19;25h\E[33;34l\E[0m\E(B\E)0\E%/0n\E[P\031$<200>, 
  13491.     use=ncrvt100an, 
  13492. #
  13493. # Vendor-supplied NCR termcaps end here
  13494.  
  13495. # NCR7900 DIP switches:
  13496. #
  13497. # Switch A:
  13498. # 1-4 - Baud Rate
  13499. # 5   - Parity (Odd/Even)
  13500. # 6   - Don't Send or Do Send Spaces
  13501. # 7   - Parity Enable
  13502. # 8   - Stop Bits (One/Two)
  13503. # Switch B:
  13504. # 1   - Upper/Lower Shift
  13505. # 2   - Typewriter Shift
  13506. # 3   - Half Duplex / Full Duplex
  13507. # 4   - Light/Dark Background
  13508. # 5-6 - Carriage Return Without / With Line Feed
  13509. # 7   - Extended Mode
  13510. # 8   - Suppress Keyboard Display
  13511. # Switch C:
  13512. # 1   - End of line entry disabled/enabled
  13513. # 2   - Conversational mode / (Local?) Mode
  13514. # 3   - Control characters displayed / not displayed
  13515. # 4   - (2-wire?) / 4-wire communications
  13516. # 5   - RTS on and off for each character
  13517. # 6   - (50Hz?) / 60 Hz
  13518. # 7   - Exit after level zero diagnostics
  13519. # 8   - RS-232 interface
  13520. # Switch D:
  13521. # 1   - Reverse Channel (yes / no)
  13522. # 2   - Manual answer (no / yes)
  13523. # 3-4 - Cursor appearance
  13524. # 5   - Communication Rate
  13525. # 6   - Enable / Disable EXT turnoff
  13526. # 7   - Enable / Disable CR turnoff
  13527. # 8   - Enable / Disable backspace
  13528. #
  13529. # Since each attribute parameter is 0 or 1, we shift each attribute (standout,
  13530. # reverse, blink, dim, and underline) the appropriate number of bits (by
  13531. # multiplying the 0 or 1 by a correct factor to shift) so the bias character,
  13532. # '@' is (effectively) "or"ed with each attribute to generate the proper third
  13533. # character in the <ESC>0 sequence.  The <sgr> string implements the following
  13534. # equation:
  13535. #
  13536. # ((((('@' + P5) | (P4 << 1)) | (P3 << 3)) | (P2 << 4)) | (p1 * 17))    =>
  13537. # ((((('@' + P5) + (P4 << 1)) + (P3 << 3)) + (P2 << 4)) + (p1 * 17))
  13538. #
  13539. #    Where:  P1 <==> Standout attribute parameter
  13540. #        P2 <==> Underline attribute parameter
  13541. #        P3 <==> Reverse attribute parameter
  13542. #        P4 <==> Blink attribute parameter
  13543. #        P5 <==> Dim attribute parameter
  13544. # From <root@goliath.un.atlantaga.NCR.COM>, init string hacked by SCO.
  13545. ncr7900i|ncr7900|ncr 7900 model 1, 
  13546.     am, bw, ul, 
  13547.     cols#80, lines#24, xmc#1, 
  13548.     bel=^G, blink=\E0B, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  13549.     cup=\E1%p2%c%p1%c, cuu1=^Z, dim=\E0A, ed=\Ek, el=\EK, ind=^J, 
  13550.     is2=\E0@\010\E3\E4\E7, kcub1=^U, kcud1=^J, kcuf1=^F, 
  13551.     kcuu1=^Z, khome=^A, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=\E0@, 
  13552.     rmul=\E0@, 
  13553.     sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c, 
  13554.     sgr0=\E0@, smso=\E0Q, smul=\E0`, 
  13555. ncr7900iv|ncr 7900 model 4, 
  13556.     am, bw, eslok, hs, 
  13557.     cols#80, lines#24, 
  13558.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, 
  13559.     cup=\013%p1%{64}%+%c\E\005%p2%02d, dl1=\E^O, dsl=\Ey1, 
  13560.     fsl=\Ek\Ey5, home=\013@\E^E00, il1=\E^N, ind=^J, kbs=^H, 
  13561.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, 
  13562.     kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
  13563.     khome=\EH, lf6=blue, lf7=red, lf8=white, nel=^M^J, 
  13564.     tsl=\Ej\Ex5\Ex1\EY8%p1%{32}%+%c\Eo, 
  13565. # Warning: This terminal will lock out the keyboard when it receives a CTRL-D.
  13566. #       The user can enter a CTRL-B to get out of this locked state.
  13567. # In <hpa>, we want to output the character given by the formula:
  13568. #        ((col / 10) * 16) + (col % 10)        where "col" is "p1"
  13569. ncr7901|ncr 7901 model, 
  13570.     am, bw, ul, 
  13571.     cols#80, lines#24, 
  13572.     bel=^G, blink=\E0B, civis=^W, clear=^L, cnorm=^X, cr=^M, 
  13573.     cub1=^H, cud1=^J, cuf1=^F, 
  13574.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, dim=\E0A, 
  13575.     ed=\Ek, el=\EK, 
  13576.     hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, ind=^J, 
  13577.     is2=\E4^O, kclr=^L, kcub1=^U, kcud1=^J, kcuf1=^F, kcuu1=^Z, 
  13578.     khome=^H, ll=^A, mc4=^T, mc5=^R, rev=\E0P, rmso=^O, rmul=^O, 
  13579.     sgr=\E0%p5%{64}%+%p4%{2}%*%+%p3%{16}%*%+%p2%{32}%*%+%p1%{17}%*%+%c\016, 
  13580.     sgr0=^O, smso=\E0Q\016, smul=\E0`\016, 
  13581.     vpa=\013%p1%{64}%+%c, 
  13582.  
  13583. #### Perkin-Elmer (Owl)
  13584. #
  13585. # These are official terminfo entries from within Perkin-Elmer.
  13586. #
  13587.  
  13588. bantam|pe550|pe6100|perkin elmer 550, 
  13589.     OTbs, 
  13590.     cols#80, lines#24, 
  13591.     bel=^G, clear=\EK$<20>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  13592.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  13593.     el=\EI$<20>, home=\EH, ind=^J, ll=\EH\EA, 
  13594. fox|pe1100|perkin elmer 1100, 
  13595.     OTbs, am, 
  13596.     cols#80, lines#24, 
  13597.     bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
  13598.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  13599.     ed=\EJ$<5.5*>, el=\EI, flash=\020\002$<200/>\020\003, 
  13600.     home=\EH, hts=\E1, ind=^J, ll=\EH\EA, tbc=\E3, 
  13601. owl|pe1200|perkin elmer 1200, 
  13602.     OTbs, am, in, 
  13603.     cols#80, lines#24, 
  13604.     bel=^G, clear=\EH\EJ$<132>, cr=^M, cub1=^H, cud1=^J, 
  13605.     cuf1=\EC, cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  13606.     dch1=\EO$<5.5*>, dl1=\EM$<5.5*>, ed=\EJ$<5.5*>, 
  13607.     el=\EI$<5.5>, flash=\020\002$<200/>\020\003, home=\EH, 
  13608.     hts=\E1, ich1=\EN, il1=\EL$<5.5*>, ind=^J, ip=$<5.5*>, 
  13609.     kbs=^H, kf0=\ERJ, kf1=\ERA, kf2=\ERB, kf3=\ERC, kf4=\ERD, 
  13610.     kf5=\ERE, kf6=\ERF, kf7=\ERG, kf8=\ERH, kf9=\ERI, ll=\EH\EA, 
  13611.     rmso=\E!\0, sgr0=\E!\0, smso=\E!^H, tbc=\E3, 
  13612. pe1251|pe6300|pe6312|perkin elmer 1251, 
  13613.     am, 
  13614.     cols#80, it#8, lines#24, pb#300, vt#8, xmc#1, 
  13615.     bel=^G, clear=\EK$<332>, cr=^M, cub1=\ED, cud1=\EB, cuf1=\EC, 
  13616.     cup=\EX%p1%{32}%+%c\EY%p2%{32}%+%c, cuu1=\EA, 
  13617.     ed=\EJ$<20*>, el=\EI$<10*>, home=\EH, hts=\E1, ind=^J, 
  13618.     kf0=\ERA, kf1=\ERB, kf10=\ERK, kf2=\ERC, kf3=\ERD, kf4=\ERE, 
  13619.     kf5=\ERF, kf6=\ERG, kf7=\ERH, kf8=\ERI, kf9=\ERJ, tbc=\E3, 
  13620. # (pe7000m: this had
  13621. #     rmul=\E!\0, smul=\E!\040, 
  13622. # which is probably wrong, it collides with kf0
  13623. pe7000m|perkin elmer 7000 series monochrome monitor, 
  13624.     am, 
  13625.     cols#80, lines#24, 
  13626.     bel=^G, cbt=\E!Y, clear=\EK, cr=^M, cub1=\ED, cud1=\EB, 
  13627.     cuf1=\EC, cup=\ES%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  13628.     ed=\EJ, el=\EI, home=\EH, ind=^J, 
  13629.     is1=\E!\0\EW  7o\Egf\ES7\s, kbs=^H, kcub1=\E!V, 
  13630.     kcud1=\E!U, kcuf1=\E!W, kcuu1=\E!T, kf0=\E!\0, kf1=\E!^A, 
  13631.     kf10=\E!^J, kf2=\E!^B, kf3=\E!^C, kf4=\E!^D, kf5=\E!^E, 
  13632.     kf6=\E!^F, kf7=\E!^G, kf8=\E!^H, kf9=\E!^I, khome=\E!S, 
  13633.     ll=\ES7\s, ri=\ER, 
  13634. pe7000c|perkin elmer 7000 series colour monitor, 
  13635.     is1=\E!\0\EW  7o\Egf\Eb0\Ec7\ES7\s, rmso=\Eb0, 
  13636.     rmul=\E!\0, smso=\Eb2, smul=\E!\s, use=pe7000m, 
  13637.  
  13638. #### Sperry Univac
  13639. #
  13640. # Sperry Univac has merged with Burroughs to form Unisys.
  13641. #
  13642.  
  13643. # This entry is for the Sperry UTS30 terminal running the TTY 
  13644. # utility under control of CP/M Plus 1R1. The functionality 
  13645. # provided is comparable to the DEC vt100.
  13646. # (uts30: I added <rmam>/<smam> based on the init string -- esr)
  13647. uts30|sperry uts30 with cp/m@1R1, 
  13648.     am, bw, hs, 
  13649.     cols#80, lines#24, wsl#40, 
  13650.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  13651.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\ER, clear=^L, 
  13652.     cnorm=\ES, cr=^M, csr=\EU%p1%{32}%+%c%p2%{32}%+%c, 
  13653.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\EB, 
  13654.     cuf=\E[%p1%dC, cuf1=\EC, cup=\E[%i%p1%d;%p2%dH, 
  13655.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\EM, 
  13656.     dl=\E[%p1%dM, dl1=\EL, ed=\E[J, el=\E[K, fsl=^M, home=\E[H, 
  13657.     ht=^I, ich=\E[%p1%d@, ich1=\EO, il=\E[%p1%dL, il1=\EN, 
  13658.     ind=^J, indn=\E[%p1%dB, is2=\E[U 7\E[24;1H, kbs=^H, 
  13659.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, khome=\E[H, 
  13660.     rc=\EX, rev=\E[7m, rf=/usr/share/tabset/vt100, ri=\EI, 
  13661.     rin=\E[%p1%dA, rmacs=\Ed, rmam=\E[?7l, rmso=\E[m, 
  13662.     rmul=\E[m, rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  13663.     sc=\EW, sgr0=\E[m, smacs=\EF, smam=\E[?7m, smso=\E[7m, 
  13664.     smul=\E[4m, tsl=\E], uc=\EPB, 
  13665.  
  13666. #### Tandem
  13667. #
  13668. # Tandem builds these things for use with its line of fault-tolerant
  13669. # transaction-processing computers.  They aren't generally available
  13670. # on the merchant market, and so are fairly uncommon.
  13671. #
  13672.  
  13673. tandem6510|adm3a repackaged by Tandem, 
  13674.     use=adm3a, 
  13675.  
  13676. # A funny series of terminal that TANDEM uses.  The actual model numbers
  13677. # have a fourth digit after 653 that designates minor variants.  These are
  13678. # natively block-mode and rather ugly, but they have a character mode which
  13679. # this doubtless(?) exploits.  There is a 6520 that is slightly dumber.
  13680. # (tandem653: had ":sb=\ES:", probably someone's mistake for sf; also,
  13681. # removed <if=/usr/share/tabset/tandem653>, no such file -- esr)
  13682. tandem653|t653x|Tandem 653x multipage terminal, 
  13683.     OTbs, am, da, db, hs, 
  13684.     cols#80, lines#24, wsl#64, xmc#1, 
  13685.     clear=\EI, cub1=^H, cud1=^J, cuf1=\EC, 
  13686.     cup=\023%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dsl=\Eo\r, 
  13687.     ed=\EJ, el=\EK, fsl=^M, home=\EH, ind=\ES, ri=\ET, rmso=\E6\s, 
  13688.     rmul=\E6\s, sgr0=\E6\s, smso=\E6$, smul=\E60, tsl=\Eo, 
  13689.  
  13690. #### Tandy/Radio Shack
  13691. #
  13692. # Tandy has a line of VDTs distinct from its microcomputers.
  13693. #
  13694.  
  13695. dmterm|deskmate terminal, 
  13696.     am, bw, 
  13697.     cols#80, lines#24, 
  13698.     bel=^G, civis=\EG5, clear=\Ej, cnorm=\EG6, cr=^M, cub1=^H, 
  13699.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  13700.     cuu1=\EA, dch1=\ES, dl1=\ER, ed=\EJ, el=\EK, home=\EH, ht=^I, 
  13701.     ich1=\EQ, il1=\EP, ind=\EX, invis@, kcub1=\ED, kcud1=\EB, 
  13702.     kcuf1=\EC, kcuu1=\EA, kf0=\E1, kf1=\E2, kf2=\E3, kf3=\E4, 
  13703.     kf4=\E5, kf5=\E6, kf6=\E7, kf7=\E8, kf8=\E9, kf9=\E0, 
  13704.     khome=\EH, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, 
  13705.     lf6=f7, lf7=f8, lf8=f9, lf9=f10, ll=\EE, rmul@, smul@, 
  13706.     use=adm+sgr, 
  13707. dt100|dt-100|Tandy DT-100 terminal, 
  13708.     xon, 
  13709.     cols#80, lines#24, xmc#1, 
  13710.     acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
  13711.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  13712.     csr=\E[%p1%2d;%p2%2dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  13713.     cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  13714.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  13715.     il1=\E[L, ind=^J, is2=\E[?3l\E)0\E(B, kcub1=\E[D, 
  13716.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\E[?3i, 
  13717.     kf10=\E[?5i, kf2=\E[2i, kf3=\E[@, kf4=\E[M, kf5=\E[17~, 
  13718.     kf6=\E[18~, kf7=\E[19~, kf8=\E[20~, kf9=\E[21~, khome=\E[H, 
  13719.     knp=\E[29~, kpp=\E[28~, lf1=f1, lf2=f2, lf3=f3, lf4=f4, lf5=f5, 
  13720.     lf6=f6, lf7=f7, lf8=f8, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, 
  13721.     sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
  13722. dt100w|dt-100w|Tandy DT-100 terminal (wide mode), 
  13723.     cols#132, use=dt100, 
  13724. dt110|Tandy DT-110 emulating ansi, 
  13725.     xon, 
  13726.     cols#80, lines#24, 
  13727.     acsc=jjkkllmmnnqqttuuvvwwxx, bel=^G, civis=\E[?25l, 
  13728.     clear=\E[H\E[2J, cnorm=\E[?25h, cr=^M, 
  13729.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[0B, cuf1=\E[C, 
  13730.     cup=\010\E[%i%p1%d;%p2%dH, cuu1=\E[0A, dch1=\E[0P, 
  13731.     dl1=\E[0M, ed=\E[0J, el=\E[0K, enacs=\E(B\E)0, home=\E[H, 
  13732.     ht=^I, ich1=\E[0@, il1=\E[0L, ind=^J, is2=\E[?3l\E)0\E(B, 
  13733.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kend=\E[K, 
  13734.     kf1=\E[1~, kf10=\E[10~, kf2=\E[2~, kf3=\E[3~, kf4=\E[4~, 
  13735.     kf5=\E[5~, kf6=\E[6~, kf7=\E[7~, kf8=\E[8~, kf9=\E[9~, 
  13736.     khome=\E[G, kich1=\E[@, knp=\E[26~, kpp=\E[25~, lf0=f1, 
  13737.     lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, lf7=f8, lf8=f9, 
  13738.     lf9=f10, ri=\EM, rmacs=^O, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  13739.     smacs=^N, smso=\E[7m, smul=\E[4m, 
  13740. pt210|TRS-80 PT-210 printing terminal, 
  13741.     hc, os, 
  13742.     cols#80, 
  13743.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  13744.  
  13745. #### Tektronix (tek)
  13746. #
  13747. # Tektronix tubes are graphics terminals.  Most of them use modified 
  13748. # oscilloscope technology incorporating a long-persistence green phosphor,
  13749. # and support vector graphics on a main screen with an attached "dialogue
  13750. # area" for interactive text.
  13751. #
  13752.  
  13753. tek|tek4012|tektronix 4012, 
  13754.     OTbs, os, 
  13755.     cols#75, lines#35, 
  13756.     bel=^G, clear=\E\014$<1000>, cr=^M, cub1=^H, cud1=^J, 
  13757.     ff=\014$<1000>, is2=\E^O, 
  13758. # (tek4013: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  13759. tek4013|tektronix 4013, 
  13760.     acsc=, rmacs=\E^O, smacs=\E^N, use=tek4012, 
  13761. tek4014|tektronix 4014, 
  13762.     cols#81, lines#38, 
  13763.     is2=\E\017\E9, use=tek4012, 
  13764. # (tek4015: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  13765. tek4015|tektronix 4015, 
  13766.     acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014, 
  13767. tek4014-sm|tektronix 4014 in small font, 
  13768.     cols#121, lines#58, 
  13769.     is2=\E\017\E\:, use=tek4014, 
  13770. # (tek4015-sm: added <acsc> to suppress tic warnings re <smacs>/<rmacs> --esr)
  13771. tek4015-sm|tektronix 4015 in small font, 
  13772.     acsc=, rmacs=\E^O, smacs=\E^N, use=tek4014-sm, 
  13773. # Tektronix 4023 from Andrew Klossner <orca!andrew.tektronix@csnet-relay>
  13774. #
  13775. # You need to have "stty nl2" in effect.  Some versions of tset(1) know
  13776. # how to set it for you.
  13777. #
  13778. # It's got the Magic Cookie problem around stand-out mode.  If you can't
  13779. # live with Magic Cookie, remove the :so: and :se: fields and do without
  13780. # reverse video.  If you like reverse video stand-out mode but don't want
  13781. # it to flash, change the letter 'H' to 'P' in the :so: field.
  13782. tek4023|tektronix 4023, 
  13783.     OTbs, am, 
  13784.     OTdN#4, cols#80, lines#24, vt#4, xmc#1, 
  13785.     OTnl=^J, bel=^G, clear=\E\014$<4/>, cr=^M, cub1=^H, cud1=^J, 
  13786.     cuf1=^I, cup=\034%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, 
  13787.     rmso=^_@, smso=^_P, 
  13788. # It is recommended that you run the 4025 at 4800 baud or less;
  13789. # various bugs in the terminal appear at 9600.  It wedges at the
  13790. # bottom of memory (try "cat /usr/dict/words"); ^S and ^Q typed
  13791. # on keyboard don't work.  You have to hit BREAK twice to get
  13792. # one break at any speed - this is a documented feature.
  13793. # Can't use cursor motion because it's memory relative, and 
  13794. # because it only works in the workspace, not the monitor.  
  13795. # Same for home. Likewise, standout only works in the workspace.
  13796. # <el> was commented out since vi and rogue seem to work better 
  13797. # simulating it with lots of spaces!
  13798. # <il1> and <il> had 145ms of padding, but that slowed down vi's ^U 
  13799. # and didn't seem necessary.
  13800. #
  13801. tek4024|tek4025|tek4027|tektronix 4024/4025/4027, 
  13802.     OTbs, am, da, db, 
  13803.     cols#80, it#8, lines#34, lm#0, 
  13804.     bel=^G, clear=\037era\r\n\n, cmdch=^_, cr=^M, 
  13805.     cub=\037lef %p1%d\r, cub1=^H, cud=\037dow %p1%d\r, 
  13806.     cud1=^F^J, cuf=\037rig %p1%d\r, cuf1=\037rig\r, 
  13807.     cuu=\037up %p1%d\r, cuu1=^K, dch1=\037dch\r, 
  13808.     dl=\037dli %p1%d\r\006, dl1=\037dli\r\006, 
  13809.     ed=\037dli 50\r, ht=^I, ich1=\037ich\r \010, 
  13810.     il=\037up\r\037ili %p1%d\r, il1=\037up\r\037ili\r, 
  13811.     ind=^F^J, 
  13812.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
  13813.     rmkx=\037lea p2\r\037lea p4\r\037lea p6\r\037lea p8\r\037lea f5\r, 
  13814.     smkx=\037lea p4 /h/\r\037lea p8 /k/\r\037lea p6 / /\r\037lea p2 /j/\r\037lea f5 /H/\r, 
  13815. tek4025-17|tek 4025 17 line window, 
  13816.     lines#17, use=tek4025, 
  13817. tek4025-17-ws|tek 4025 17 line window in workspace, 
  13818.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r\037wor 17\r\037mon 17\r, 
  13819.     rmcup=\037mon h\r, rmso=\037att s\r, smcup=\037wor h\r, 
  13820.     smso=\037att e\r, use=tek4025-17, 
  13821. tek4025-ex|tek4027-ex|tek 4025/4027 w/!, 
  13822.     is2=\037com 33\r\n!sto 9 17 25 33 41 49 57 65 73\r, 
  13823.     rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025, 
  13824. # Tektronix 4025a
  13825. # From: Doug Gwyn <gwyn@brl-smoke.ARPA>
  13826. # The following status modes are assumed for normal operation (replace the
  13827. # initial "!" by whatever the current command character is):
  13828. #    !COM 29            # NOTE: changes command character to GS (^])
  13829. #    ^]DUP
  13830. #    ^]ECH R
  13831. #    ^]EOL
  13832. #    ^]RSS T
  13833. #    ^]SNO N
  13834. #    ^]STO 9 17 25 33 41 49 57 65 73
  13835. # Other modes may be set according to communication requirements.
  13836. # If the command character is inadvertently changed, termcap can't restore it.
  13837. # Insert-character cannot be made to work on both top and bottom rows.
  13838. # Clear-to-end-of-display emulation via !DLI 988 is too grotty to use, alas.
  13839. # There also seems to be a problem with vertical motion, perhaps involving
  13840. # delete/insert-line, following a typed carriage return.  This terminal sucks.
  13841. # Delays not specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  13842. # (tek4025a: removed obsolete ":xx:". This may mean the tek4025a entry won't
  13843. # work any more. -- esr)
  13844. tek4025a|Tektronix 4025A, 
  13845.     OTbs, OTpt, am, bw, da, db, xon, 
  13846.     cols#80, it#8, lines#34, 
  13847.     bel=^G, cbt=\035bac;, clear=\035era;\n\035rup;, cmdch=^], 
  13848.     cr=^M, cub=\035lef %p1%d;, cub1=^H, cud=\035dow %p1%d;, 
  13849.     cud1=^J, cuf=\035rig %p1%d;, cuf1=\035rig;, 
  13850.     cuu=\035up %p1%d;, cuu1=^K, dch=\035dch %p1%d;, 
  13851.     dch1=\035dch;, dl=\035dli %p1%d;, dl1=\035dli;, 
  13852.     el=\035dch 80;, hpa=\r\035rig %p1%d;, ht=^I, 
  13853.     il1=\013\035ili;, ind=^J, indn=\035dow %p1%d;, 
  13854.     rs2=!com 29\035del 0\035rss t\035buf\035buf n\035cle\035dis\035dup\035ech r\035eol\035era g\035for n\035pad 203\035pad 209\035sno n\035sto 9 17 25 33 41 49 57 65 73\035wor 0;, 
  13855.     tbc=\035sto;, 
  13856. # From: cbosg!teklabs!davem Wed Sep 16 21:11:41 1981
  13857. # Here's the command file that I use to get rogue to work on the 4025.
  13858. # It should work with any program using the old curses (e.g. it better
  13859. # not try to scroll, or cursor addressing won't work.  Also, you can't
  13860. # see the cursor.)
  13861. # (This "learns" the arrow keys for rogue. I have adapted it for termcap - mrh)
  13862. tek4025-cr|tek 4025 for curses and rogue, 
  13863.     OTbs, am, 
  13864.     cols#80, it#8, lines#33, 
  13865.     clear=\037era;, cub1=^H, cud1=^F^J, cuf1=\037rig;, 
  13866.     cup=\037jum%i%p1%d\,%p2%d;, cuu1=^K, ht=^I, ind=^F^J, 
  13867.     is2=!com 31\r\n\037sto 9 17 25 33 41 49 57 65 73\r, 
  13868.     rmcup=\037wor 0, smcup=\037wor 33h, 
  13869. # next two lines commented out since curses only allows 128 chars, sigh.
  13870. #    :ti=\037lea p1/b/\037lea p2/j/\037lea p3/n/\037lea p4/h/\037lea p5/ /\037lea p6/l/\037lea p7/y/\037lea p8/k/\037lea p9/u/\037lea p./f/\037lea pt/`era w/13\037lea p0/s/\037wor 33h:\
  13871. #    :te=\037lea p1\037lea p2\037lea p3\037lea p4\037lea pt\037lea p5\037lea p6\037lea p7\037lea p8\037lea p9/la/13\037lea p.\037lea p0\037wor 0:
  13872. tek4025ex|4025ex|4027ex|tek 4025 w/!, 
  13873.     is2=\037com 33\r\n!sto 9\,17\,25\,33\,41\,49\,57\,65\,73\r, 
  13874.     rmcup=\037com 33\r, smcup=!com 31\r, use=tek4025, 
  13875. tek4105|tektronix 4105, 
  13876.     OTbs, am, mir, msgr, ul, xenl, xt, 
  13877.     cols#79, it#8, lines#29, 
  13878.     acsc=, bel=^G, blink=\E[=3;<7m, bold=\E[=7;<4m, cbt=\E[Z, 
  13879.     clear=\E[2J\E[H, cr=^M, cud1=\E[1B, cuf1=\E[1C, 
  13880.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\E[1A, dch1=\E[1P, 
  13881.     dim=\E[=1;<6m, dl1=\E[1M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  13882.     il1=\E[1L, ind=\E[S, invis=\E[=6;<5, is1=\E%!1\E[m, 
  13883.     is2=\E%!1\E[?6141\E[m, kbs=^H, kcub1=\E[1D, kcud1=\E[1B, 
  13884.     kcuf1=\E[1C, kcuu1=\E[1A, rev=\E[=1;<3m, ri=\E[T, 
  13885.     rmacs=\E[m, rmcup=, rmir=\E[4l, rmso=\E[=0;<1m, 
  13886.     rmul=\E[=0;<1m, sgr0=\E[=0;<1m, smacs=\E[1m, 
  13887.     smcup=\E%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
  13888.     smul=\E[=5;<2m, tbc=\E[1g, 
  13889.  
  13890. # (tek4105-30: I added <rmam>/<smam> based on the init string -- esr)
  13891. tek4105-30|4015 emulating 30 line vt100, 
  13892.     am, mir, msgr, xenl, xon, 
  13893.     cols#80, it#8, lines#30, vt#3, 
  13894.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  13895.     bel=^G, blink=\E[5m$<2>, bold=\E[1m$<2>, 
  13896.     clear=\E[H\E[J$<50>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  13897.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  13898.     cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  13899.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  13900.     cuu1=\E[A$<2>, ed=\E[J$<50>, el=\E[K$<3>, el1=\E[1K$<3>, 
  13901.     enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
  13902.     ka3=\EOs, kb2=\EOr, kbs=^H, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  13903.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, kf0=\EOy, 
  13904.     kf1=\EOP, kf10=\EOx, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, 
  13905.     kf6=\EOu, kf7=\EOv, kf8=\EOl, kf9=\EOw, rc=\E8, 
  13906.     rev=\E[7m$<2>, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  13907.     rmkx=\E[?1l\E>, rmso=\E[m$<2>, rmul=\E[m$<2>, 
  13908.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  13909.     sgr=\E[0%?%p1%p6%|%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;$<2>, 
  13910.     sgr0=\E[m\017$<2>, smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, 
  13911.     smso=\E[1;7m$<2>, smul=\E[4m$<2>, tbc=\E[3g, 
  13912.  
  13913. # Tektronix 4105 from BRL
  13914. # The following setup modes are assumed for normal operation:
  13915. #    CODE ansi        CRLF no            DABUFFER 141
  13916. #    DAENABLE yes        DALINES 30        DAMODE replace
  13917. #    DAVISIBILITY yes    ECHO no            EDITMARGINS 1 30
  13918. #    FLAGGING input        INSERTREPLACE replace    LFCR no
  13919. #    ORIGINMODE relative    PROMPTMODE no        SELECTCHARSET G0 B
  13920. #    SELECTCHARSET G1 0    TABS -2
  13921. # Other setup modes may be set for operator convenience or communication
  13922. # requirements; I recommend
  13923. #    ACURSOR 1 0        AUTOREPEAT yes        AUTOWRAP yes
  13924. #    BYPASSCANCEL <LF>    CURSORKEYMODE no    DAINDEX 1 0 0
  13925. #    EOFSTRING ''        EOLSTRING <CR>        EOMCHARS <CR> <NU>
  13926. #    GAMODE overstrike    GCURSOR 0 100 0        GSPEED 10 1
  13927. #    IGNOREDEL no        KEYEXCHAR <DL>        NVDEFINE -53 "<NU>"
  13928. #    PROMPTSTRING ''        QUEUESIZE 2460        WINDOW 0 0 4095 3132
  13929. #    XMTDELAY 0
  13930. # and factory color maps.  After setting these modes, save them with NVSAVE. No
  13931. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  13932. # "IC" cannot be used in combination with "im" & "ei".
  13933. # "tek4105a" is just a guess:
  13934. tek4105a|Tektronix 4105, 
  13935.     OTbs, OTpt, msgr, xon, 
  13936.     OTkn#8, cols#80, it#8, lines#30, vt#3, 
  13937.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  13938.     civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
  13939.     cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  13940.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  13941.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  13942.     cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
  13943.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  13944.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  13945.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
  13946.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  13947.     kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
  13948.     kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
  13949.     lf5=F6, lf6=F8, ll=\E[30;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  13950.     rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
  13951.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  13952.     rs2=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLA>\ELM0\EKE0\ENF1\EKS0\END0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
  13953.     sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
  13954.     smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  13955.  
  13956. #
  13957. # Tektronix 4106/4107/4109 from BRL
  13958. # The following setup modes are assumed for normal operation:
  13959. #    CODE ansi        COLUMNMODE 80        CRLF no
  13960. #    DABUFFER 141        DAENABLE yes        DALINES 32
  13961. #    DAMODE replace        DAVISIBILITY yes    ECHO no
  13962. #    EDITMARGINS 1 32    FLAGGING input        INSERTREPLACE replace
  13963. #    LFCR no            LOCKKEYBOARD no        ORIGINMODE relative
  13964. #    PROMPTMODE no        SELECTCHARSET G0 B    SELECTCHARSET G1 0
  13965. #    TABS -2
  13966. # Other setup modes may be set for operator convenience or communication
  13967. # requirements; I recommend
  13968. #    ACURSOR 1 0        AUTOREPEAT yes        AUTOWRAP yes
  13969. #    BYPASSCANCEL <LF>    CURSORKEYMODE no    DAINDEX 1 0 0
  13970. #    EOFSTRING ''        EOLSTRING <CR>        EOMCHARS <CR> <NU>
  13971. #    GAMODE overstrike    GCURSOR 0 100 0        GSPEED 9 3
  13972. #    IGNOREDEL no        KEYEXCHAR <DL>        NVDEFINE -53 "<NU>"
  13973. #    PROMPTSTRING ''        QUEUESIZE 2620        WINDOW 0 0 4095 3132
  13974. #    XMTDELAY 0
  13975. # and factory color maps.  After setting these modes, save them with NVSAVE.  No
  13976. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  13977. # "IC" cannot be used in combination with "im" & "ei".
  13978. tek4106brl|tek4107brl|tek4109brl|Tektronix 4106 4107 or 4109, 
  13979.     msgr, xon, 
  13980.     cols#80, it#8, lines#32, vt#3, 
  13981.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, 
  13982.     civis=\E%!0\ETD00\E%!1, clear=\E[H\E[J, 
  13983.     cnorm=\E%!0\ETD10\E%!1, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  13984.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  13985.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  13986.     cuu=\E[%p1%dA, cuu1=\EM, cvvis=\E%!0\ETD70\E%!1, 
  13987.     dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, dl1=\E[M, 
  13988.     ech=\E[%p1%dX, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  13989.     il=\E[%p1%dL, il1=\E[L, ind=^J, indn=\E[%p1%dS, is2=\E%!1, 
  13990.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  13991.     kf0=\EOA, kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EOP, kf5=\EOQ, 
  13992.     kf6=\EOR, kf7=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, lf4=F5, 
  13993.     lf5=F6, lf6=F8, ll=\E[32;H, nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, 
  13994.     rin=\E[%p1%dT, rmacs=^O, rmcup=\E%!0\ELBH=\E%!1, 
  13995.     rmir=\E[4l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  13996.     rs1=\030\E%!0\EKC\E\014\EKR0\EKF0\ENM0\ELBH=\ETF8000010F40\ELI100\ELLB0\ELM0\EKE0\ENF1\EKS0\END0\ERE0\E%!1\Ec\E[?3;5l\E[?7;8h\E[r\E[m\E>, 
  13997.     sc=\E7, sgr0=\E[m, smacs=^N, smcup=\E[?6l, smir=\E[4h, 
  13998.     smkx=\E[?1h\E=, smso=\E[7;42m, smul=\E[4m, tbc=\E[3g, 
  13999.  
  14000. tek4107|tek4109|tektronix terminals 4107 4109, 
  14001.     OTbs, am, mir, msgr, ul, xenl, xt, 
  14002.     cols#79, it#8, lines#29, 
  14003.     bel=^G, blink=\E%!1\E[5m$<2>\E%!0, 
  14004.     bold=\E%!1\E[1m$<2>\E%!0, clear=\ELZ, cnorm=\E%!0, cr=^M, 
  14005.     cub1=^H, cud1=^J, cuf1=\EC, 
  14006.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, cvvis=\E%!3, 
  14007.     dim=\E%!1\E[<0m$<2>\E%!0, ed=\EJ, el=\EK, ht=^I, ind=^J, 
  14008.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  14009.     rev=\E%!1\E[7m$<2>\E%0, ri=\EI, 
  14010.     rmso=\E%!1\E[m$<2>\E%!0, rmul=\E%!1\E[m$<2>\E%!0, 
  14011.     sgr=\E%%!1\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>\E%%!0, 
  14012.     sgr0=\E%!1\E[m$<2>\E%!0, smso=\E%!1\E[7;5m$<2>\E%!0, 
  14013.     smul=\E%!1\E[4m$<2>\E%!0, 
  14014. # Tektronix 4207 with sysline.  In the ancestral termcap file this was 4107-s;
  14015. # see the note attached to tek4207.
  14016. tek4207-s|Tektronix 4207 with sysline but no memory, 
  14017.     eslok, hs, 
  14018.     dsl=\E7\E[?6l\E[2K\E[?6h\E8, fsl=\E[?6h\E8, 
  14019.     is1=\E%!1\E[2;32r\E[132D\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
  14020.     is2=\E7\E[?6l\E[2K\E[?6h\E8, 
  14021.     tsl=\E7\E[?6l\E[2K\E[;%i%df, use=tek4107, 
  14022.  
  14023. # The 4110 series may be a wonderful graphics series, but they make the 4025
  14024. # look good for screen editing.  In the dialog area, you can't move the cursor
  14025. # off the bottom line.  Out of the dialog area, ^K moves it up, but there
  14026. # is no way to scroll.
  14027. # Note that there is a floppy for free from Tek that makes the 
  14028. # 4112 emulate the vt52 (use the vt52 termcap). There is also
  14029. # an expected enhancement that will use ANSI standard sequences.
  14030. # 4112 in non-dialog area pretending to scroll. It really wraps 
  14031. # but vi is said to work (more or less) in this mode.
  14032. # 'vi' works reasonably well with this entry.
  14033. #
  14034. otek4112|o4112-nd|otek4113|otek4114|old tektronix 4110 series, 
  14035.     am, 
  14036.     cols#80, lines#34, 
  14037.     bel=^G, clear=\E^L, cr=^M, cub1=^H, cud1=^J, cuu1=^K, ind=^J, 
  14038.     rmcup=\EKA1\ELV1, smcup=\EKA0\ELV0\EMG0, 
  14039. # The 4112 with the ANSI compatibility enhancement
  14040. tek4112|tek4114|tektronix 4110 series, 
  14041.     OTbs, am, db, 
  14042.     cols#80, lines#34, 
  14043.     cbt=\E[Z, clear=\E[2J\E[0;0H, cub1=^H, cuf1=\E[C, 
  14044.     cup=\E[%i%p1%d;%p2%dH, cuu1=\EM, dch1=\E[P, dl1=\E[M, 
  14045.     ed=\E[0J, el=\E[0K, ich1=\E[@, il1=\E[L, 
  14046.     ind=\E7\E[0;0H\E[M\E8, is2=\E3!1, ri=\E7\E[0;0H\E[L\E8, 
  14047.     rmso=\E[m, rmul=\E[m, sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  14048. tek4112-nd|4112 not in dialog area, 
  14049.     OTns, 
  14050.     cuu1=^K, use=tek4112, 
  14051. tek4112-5|4112 in 5 line dialog area, 
  14052.     lines#5, use=tek4112, 
  14053. # (tek4113: this used to have "<cuf1=\LM1\s\LM0>", someone's mistake;
  14054. # removed "<smacs=\E^N>, <rmacs=\E^O>", which had been commented out in 8.3.
  14055. # Note, the !0 and !1 sequences in <rmcup>/<smcup>/<cnorm>/<civis> were
  14056. # previously \0410 and \0411 sequences...I don't *think* they were supposed
  14057. # to be 4-digit octal -- esr)
  14058. tek4113|tektronix 4113 color graphics with 5 line dialog area, 
  14059.     OTbs, am, da, eo, 
  14060.     cols#80, lines#5, 
  14061.     clear=\ELZ, cub1=^H, cud1=^J, cuf1=\ELM1 \ELM0, 
  14062.     flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
  14063.     is2=\EKA1\ELL5\ELV0\ELV1, uc=\010\ELM1_\ELM0, 
  14064. tek4113-34|tektronix 4113 color graphics with 34 line dialog area, 
  14065.     lines#34, 
  14066.     is2=\EKA1\ELLB2\ELV0\ELV1, use=tek4113, 
  14067. # :ns: left off to allow vi visual mode. APL font (:as=\E^N:/:ae=\E^O:) not 
  14068. # supported here. :uc: is slow, but looks nice. Suggest setenv MORE -up .
  14069. # :vb: needs enough delay to let you see the background color being toggled.
  14070. tek4113-nd|tektronix 4113 color graphics with no dialog area, 
  14071.     OTbs, am, eo, 
  14072.     cols#80, it#8, lines#34, 
  14073.     clear=\E^L, cub1=^H, cud1=^J, cuf1=^I, cuu1=^K, 
  14074.     cvvis=\ELZ\EKA0, 
  14075.     flash=\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERBA4\ERB0, 
  14076.     home=\ELF7l\177 @, ht=^I, is2=\ELZ\EKA0\ELF7l\177 @, 
  14077.     ll=\ELF hl @, rmso=\EMT1, smso=\EMT2, uc=\010\EMG1_\EMG0, 
  14078. # This entry is from Tek. Inc.  (Brian Biehl)
  14079. # (tek4115: :bc: renamed to :le:, <rmam>/<smam> added based on init string -- esr)
  14080. otek4115|Tektronix 4115, 
  14081.     OTbs, am, da, db, eo, 
  14082.     cols#80, it#8, lines#34, 
  14083.     cbt=\E[Z, clear=\E[H\E[2J, 
  14084.     cnorm=\E%!0\ELBG8\E%!1\E[34;1H, cub1=\E[D, cud1=\E[B, 
  14085.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  14086.     cvvis=\E%!0\ELBB2\E%!1, dch1=\E[P, dl1=\E[M, ed=\E[J, 
  14087.     el=\E[K, home=\E[H, ht=^I, if=/usr/share/tabset/vt100, 
  14088.     il1=\E[L, 
  14089.     is2=\E%!0\E%\014\ELV0\EKA1\ELBB2\ENU@=\ELLB2\ELM0\ELV1\EKYA?\E%!1\E[<1l\E[?7h\E[?8h\E[34;1H\E[34B\E[m, 
  14090.     kbs=^H, ri=\EM, rmam=\E[?7l, 
  14091.     rmcup=\E%!0\ELBG8\E%!1\E[34;1H\E[J, rmir=\E[4l, 
  14092.     rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, smam=\E[?7h, 
  14093.     smcup=\E%!0\ELBB2\E%!1, smir=\E[4h, smkx=\E=, smso=\E[7m, 
  14094.     smul=\E[4m, 
  14095. tek4115|newer tektronix 4115 entry with more ANSI capabilities, 
  14096.     am, xon, 
  14097.     cols#80, lines#34, 
  14098.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J, 
  14099.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  14100.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  14101.     cuu=\E[%p1%dA, cuu1=\E[A, dch1=\E[P, dl=\E[%p1%dM, 
  14102.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, hpa=\E[%p1%{1}%+%dG, 
  14103.     ht=^I, hts=\EH, ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, 
  14104.     il1=\E[L, ind=^J, invis=\E[8m, kbs=^H, kcub1=\E[D, 
  14105.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, 
  14106.     rep=%p1%c\E[%p2%{1}%-%db, rev=\E[7m, rmam=\E[?7l, 
  14107.     rmso=\E[m, rmul=\E[m, 
  14108.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  14109.     sgr0=\E[m, smam=\E[?7h, smso=\E[7m, smul=\E[4m, tbc=\E[2g, 
  14110.     vpa=\E[%p1%{1}%+%dd, 
  14111. # The tek4125 emulates a vt100 incorrectly - the scrolling region
  14112. # command is ignored.  The following entry replaces <csr> with the needed
  14113. # <il>, <il>, and <smir>; removes some cursor pad commands that the tek4125
  14114. # chokes on; and adds a lot of initialization for the tek dialog area.
  14115. # Note that this entry uses all 34 lines and sets the cursor color to green.
  14116. # Steve Jacobson 8/85
  14117. # (tek4125: there were two "\!"s in the is that I replaced with "\E!";
  14118. # commented out, <smir>=\E1 because there's no <rmir>  -- esr)
  14119. tek4125|tektronix 4125, 
  14120.     lines#34, 
  14121.     csr@, dl1=\E[1M, il1=\E[1L, 
  14122.     is2=\E%\E!0\EQD1\EUX03\EKA\ELBB2\ELCE0\ELI100\ELJ2\ELLB2\ELM0\ELS1\ELX00\ELV1\E%\E!1\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, 
  14123.     rc@, sc@, smkx=\E=, use=vt100, 
  14124.  
  14125. # From: <jcoker@ucbic>
  14126. # (tek4207: This was the termcap file's entry for the 4107/4207, but SCO
  14127. # supplied another, less capable 4107 entry.  So we'll use that for 4107 and
  14128. # note that if jcoker wasn't confused you may be able to use this one.
  14129. # I merged in <msgr>,<ind>,<ri>,<invis>,<tbc> from a BRL entry -- esr)
  14130. tek4207|Tektronix 4207 graphics terminal with memory, 
  14131.     am, bw, mir, msgr, ul, xenl, 
  14132.     cols#80, it#8, lines#32, 
  14133.     blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[H\E[J$<156/>, 
  14134.     cub1=^H, cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  14135.     cuu1=\EM, dch1=\E[P$<4/>, dl1=\E[M$<3/>, ed=\E[J, 
  14136.     el=\E[K$<5/>, home=\E[H, ht=^I, ich1=\E[@$<4/>, 
  14137.     il1=\E[L$<3/>, ind=\E[S, invis=\E[=6;<5, 
  14138.     is2=\E%!0\ELBP0\E%!1\E[H\E[2g\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[8C\EH\E[J, 
  14139.     kcub1=\E[D, kcud1=\ED, kcuf1=\E[C, kcuu1=\EM, khome=\E[H, 
  14140.     rev=\E[7m, ri=\E[T, 
  14141.     rmcup=\E[?6h\E%!0\ELBP0\E%!1\E[32;1f, rmso=\E[m, 
  14142.     rmul=\E[m, sgr0=\E[m, smcup=\E[?6l\E[H\E[J, smso=\E[7m, 
  14143.     smul=\E[4m, tbc=\E[1g, 
  14144.  
  14145. # From: <carolyn@dali.berkeley.edu>  Thu Oct 31 12:54:27 1985
  14146. # (tek4404: There was a "\!" in <smcup> that I replaced with "\E!".
  14147. # Tab had been given as \E2I,that must be the tab-set capability -- esr)
  14148. tek4404|tektronix 4404, 
  14149.     OTbs, 
  14150.     cols#80, it#8, lines#32, 
  14151.     blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, 
  14152.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  14153.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[1M, 
  14154.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\E[2I, il1=\E[1L, 
  14155.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, rc=\E8, 
  14156.     rmcup=\E[1;1H\E[0J\E[?6h\E[?1l, rmir=\E[4l, 
  14157.     rmkx=\E[?1h, rmso=\E[27m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
  14158.     smcup=\E%\E!1\E[1;32r\E[?6l\E>, smir=\E[4h, 
  14159.     smkx=\E[?1l, smso=\E[7m, smul=\E[4m, 
  14160. # Some unknown person wrote:
  14161. # I added the is string - straight Unix has ESC ; in the login 
  14162. # string which sets a ct8500 into monitor mode (aka 4025 snoopy 
  14163. # mode). The is string here cleans up a few things (but not 
  14164. # everything).
  14165. ct8500|tektronix ct8500, 
  14166.     am, bw, da, db, 
  14167.     cols#80, lines#25, 
  14168.     bel=^G, cbt=\E^I, clear=\E^E, cr=^M, cub1=^H, cud1=^J, 
  14169.     cuf1=\ES, cup=\E|%p1%{32}%+%c%p2%{32}%+%c, cuu1=\ER, 
  14170.     dch1=\E^], dl1=\E^M, ed=\E^U, el=\E^T, ht=^I, ich1=\E^\, 
  14171.     il1=\E^L, ind=^J, is2=\037\EZ\Ek, ri=\E^A, rmso=\E\s, 
  14172.     rmul=\E\s, sgr0=\E\s, smso=\E$, smul=\E!, 
  14173.  
  14174. # Tektronix 4205 terminal.
  14175. #
  14176. # am is not defined because the wrap around occurs not when the char.
  14177. # is placed in the 80'th column, but when we are attempting to type
  14178. # the 81'st character on the line.  (esr: hmm, this is like the vt100
  14179. # version of xenl, perhaps am + xenl would work!)
  14180. #
  14181. # Bold, dim, and standout are simulated by colors and thus not allowed
  14182. # with colors.  The tektronix color table is mapped into the RGB color
  14183. # table by setf/setb. All colors are reset to factory specifications by oc.
  14184. # The <initc> cap uses RGB notation to define colors.  for arguments 1-3 the 
  14185. # interval (0-1000) is broken into 8 smaller sub-intervals (125).  Each sub-
  14186. # interval then maps into pre-defined value.
  14187. tek4205|tektronix 4205, 
  14188.     ccc, mir, msgr, 
  14189.     colors#8, cols#80, it#8, lines#30, ncv#49, pairs#63, 
  14190.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  14191.     bel=^G, blink=\E[5m, bold=\E[=7;<4m, cbt=\E[Z, 
  14192.     clear=\E[2J\E[H, cr=^M, cub=\E[%p1%dD, cub1=\E[D, 
  14193.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  14194.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  14195.     dch1=\E[1P, dim=\E[=1;<6m, dl1=\E[1M, ech=\E%p1%dX, 
  14196.     ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E)0, home=\E[H, ht=^I, 
  14197.     ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
  14198.     initc=\E%%!0\ETF4%?%p1%{0}%=%t0%e%p1%{1}%=%t4%e%p1%{2}%=%t3%e%p1%{3}%=%t5%e%p1%{4}%=%t2%e%p1%{5}%=%t6%e%p1%{6}%=%t7%e1%;%?%p2%{125}%<%t0%e%p2%{250}%<%tA2%e%p2%{375}%<%tA?%e%p2%{500}%<%tC8%e%p2%{625}%<%tD4%e%p2%{750}%<%tE1%e%p2%{875}%<%tE\:%eF4%;%?%p3%{125}%<%t0%e%p3%{250}%<%tA2%e%p3%{375}%<%tA?%e%p3%{500}%<%tC8%e%p3%{625}%<%tD4%e%p3%{750}%<%tE1%e%p3%{875}%<%tE\:%eF4%;%?%p4%{125}%<%t0%e%p4%{250}%<%tA2%e%p4%{375}%<%tA?%e%p4%{500}%<%tC8%e%p4%{625}%<%tD4%e%p4%{750}%<%tE1%e%p4%{875}%<%tE\:%eF4%;\E%%!1, 
  14199.     invis=\E[=6;<5, is1=\E%!0\ETM1\E%!1\E[m, kbs=^H, 
  14200.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\EOA, 
  14201.     kf1=\EOB, kf2=\EOC, kf3=\EOD, kf4=\EP, kf5=\EQ, kf6=\ER, 
  14202.     kf7=\ES, 
  14203.     oc=\E%!0\ETFB000001F4F4F42F40030F404A4C<F450F4F46F40F47F4F40\E%!1, 
  14204.     op=\E[39;40m, rev=\E[7m, ri=\EM, rmacs=^O, rmcup=, 
  14205.     rmir=\E[4l, rmso=\E[=0;<1m, rmul=\E[24m, 
  14206.     setb=\E[=%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
  14207.     setf=\E[<%?%p1%{0}%=%t0m%e%p1%{1}%=%t4m%e%p1%{2}%=%t3m%e%p1%{3}%=%t5m%e%p1%{4}%=%t2m%e%p1%{5}%=%t6m%e%p1%{6}%=%t7m%e1m%;, 
  14208.     sgr0=\E[=0;<1m\E[24;25;27m\017, smacs=^N, 
  14209.     smcup=\E%%!1\E[?6l\E[2J, smir=\E[4h, smso=\E[=2;<3m, 
  14210.     smul=\E[4m, tbc=\E[1g, 
  14211.  
  14212. #### Teletype (tty)
  14213. #
  14214. # These are the hardcopy Teletypes from before AT&T bought the company,
  14215. # clattering electromechanical dinosaurs in Bakelite cases that printed on
  14216. # pulpy yellow roll paper.  If you remember these you go back a ways.
  14217. # Teletype-branded VDTs are listed in the AT&T section.
  14218. #
  14219. # The earliest UNIXes were designed to use these clunkers; nroff and a few
  14220. # other programs still default to emitting codes for the Model 37.
  14221. #
  14222.  
  14223. tty33|tty35|model 33 or 35 teletype, 
  14224.     hc, os, xon, 
  14225.     cols#72, 
  14226.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  14227. tty37|model 37 teletype, 
  14228.     OTbs, hc, os, xon, 
  14229.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
  14230.     ind=^J, 
  14231.  
  14232. # There are known to be at least three flavors of the tty40, all seem more
  14233. # like IBM half duplex forms fillers than ASCII terminals.  They have lots of
  14234. # awful braindamage, such as printing a visible newline indicator after each
  14235. # newline.  The 40-1 is a half duplex terminal and is hopeless.  The 40-2 is
  14236. # braindamaged but has hope and is described here.  The 40-4 is a 3270
  14237. # lookalike and beyond hope.  The terminal has visible bell but I don't know
  14238. # it - it's null here to prevent it from showing the BL character.
  14239. # There is an \EG in <nl> because of a bug in old vi (if stty says you have
  14240. # a "newline" style terminal (-crmode) vi figures all it needs is nl
  14241. # to get crlf, even if <cr> is not ^M.)
  14242. # (tty40: removed obsolete ":nl=\EG\EB:", it's just do+cr -- esr)
  14243. tty40|ds40|ds40-2|dataspeed40|teletype dataspeed 40/2, 
  14244.     OTbs, xon, 
  14245.     cols#80, lines#24, 
  14246.     clear=\EH$<20>\EJ$<80>, cr=\EG, cub1=^H, cud1=\EB, 
  14247.     cuf1=\EC, cuu1=\E7, dch1=\EP$<50>, dl1=\EM$<50>, 
  14248.     ed=\EJ$<75>, home=\EH$<10>, ht=\E@$<10>, hts=\E1, 
  14249.     ich1=\E\^$<50>, il1=\EL$<50>, ind=\ES$<20>, kbs=^], 
  14250.     kcub1=^H, mc4=^T, mc5=\022$<2000>, ri=\ET$<10>, rmso=\E4, 
  14251.     rs2=\023\ER$<60>, smso=\E3, tbc=\EH\E2$<80>, 
  14252. tty43|model 43 teletype, 
  14253.     OTbs, am, hc, os, xon, 
  14254.     cols#132, 
  14255.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
  14256.  
  14257. #### Tymshare
  14258. #
  14259.  
  14260. # You can add <is2=\E<> to put this 40-column mode, though I can't
  14261. # for the life of me think why anyone would want to.
  14262. scanset|sc410|sc415|Tymshare Scan Set, 
  14263.     am, bw, msgr, 
  14264.     cols#80, lines#24, 
  14265.     acsc=j%k4l<m-q\,x5, bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, 
  14266.     cud1=^J, cuf1=^I, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  14267.     cuu1=^K, ed=\EJ, el=\EK, home=\EH, ind=^J, kcub1=\ED, 
  14268.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, mc0=\E;3, mc4=\E;0, 
  14269.     mc5=\E;0, rc=^C, rmacs=^O, rs1=\E>, sc=^B, smacs=^N, 
  14270.  
  14271. #### Volker-Craig (vc)
  14272. #
  14273. # If you saw a Byte Magazine cover with a terminal on it during the early
  14274. # 1980s, it was probably one of these.  Carl Helmers liked them because
  14275. # they could crank 19.2 and were cheap (that is, he liked them until he tried
  14276. # to program one...)
  14277. #
  14278.  
  14279. # Missing in vc303a and vc303 descriptions:  they scroll 2 lines at a time
  14280. # every other linefeed.
  14281. vc303|vc103|vc203|volker-craig 303, 
  14282.     OTbs, OTns, am, 
  14283.     cols#80, lines#24, 
  14284.     bel=^G, clear=\014$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  14285.     cuu1=^N, home=\013$<40>, kcub1=^H, kcud1=^J, kcuf1=^I, 
  14286.     kcuu1=^N, ll=\017$<1>W, 
  14287. vc303a|vc403a|volker-craig 303a, 
  14288.     clear=\030$<40>, cuf1=^U, cuu1=^Z, el=\026$<20>, 
  14289.     home=\031$<40>, kcuf1=^U, kcuu1=^Z, ll=^P, use=vc303, 
  14290. # (vc404: removed obsolete ":ma=^Z^P^U :" -- esr)
  14291. vc404|volker-craig 404, 
  14292.     OTbs, am, 
  14293.     cols#80, lines#24, 
  14294.     bel=^G, clear=\030$<40>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  14295.     cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  14296.     ed=\027$<40>, el=\026$<20>, home=\031$<40>, ind=^J, 
  14297.     kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^Z, 
  14298. vc404-s|volker-craig 404 w/standout mode, 
  14299.     cud1=^J, rmso=^O, smso=^N, use=vc404, 
  14300. # From: <wolfgang@cs.sfu.ca>
  14301. # (vc414: merged in cup/dl1/home from an old vc414h-noxon)
  14302. vc414|vc414h|Volker-Craig 414H in sane escape mode., 
  14303.     OTbs, am, 
  14304.     cols#80, lines#24, 
  14305.     clear=\E\034$<40>, cud1=\E^K, cuf1=^P, 
  14306.     cup=\E\021%p2%c%p1%c$<40>, cuu1=\E^L, dch1=\E3, 
  14307.     dl1=\E\023$<40>, ed=\E^X, el=\E\017$<10/>, home=\E^R, 
  14308.     ich1=\E\:, il1=\E\032$<40>, kcub1=^H, kcud1=\E^K, kcuf1=^P, 
  14309.     kcuu1=\E^L, kf0=\EA, kf1=\EB, kf2=\EC, kf3=\ED, kf4=\EE, 
  14310.     kf5=\EF, kf6=\EG, kf7=\EH, khome=\E^R, lf0=PF1, lf1=PF2, 
  14311.     lf2=PF3, lf3=PF4, lf4=PF5, lf5=PF6, lf6=PF7, lf7=PF8, 
  14312.     rmso=\E^_, smso=\E^Y, 
  14313. vc415|volker-craig 415, 
  14314.     clear=^L, use=vc404, 
  14315.  
  14316. ######## OBSOLETE PERSONAL-MICRO CONSOLES AND EMULATIONS
  14317. #
  14318.  
  14319. #### IBM PC and clones
  14320. #
  14321.  
  14322. # The pcplot IBM-PC terminal emulation program is really messed up. It is
  14323. # supposed to emulate a vt-100, but emulates the wraparound bug incorrectly,
  14324. # doesn't support scrolling regions, ignores add line commands, and ignores
  14325. # delete line commands. Consequently, the resulting behavior looks like a
  14326. # crude adm3a-type terminal.
  14327. # Steve Jacobson 8/85
  14328. pcplot|pc-plot terminal emulation program, 
  14329.     xenl@, 
  14330.     csr@, dl@, dl1@, il@, il1@, rc@, sc@, use=vt100, 
  14331. # KayPro II from Richard G Turner <rturner at Darcom-Hq.ARPA>
  14332. # I've found that my KayPro II, running MDM730, continues to emulate an
  14333. # ADM-3A terminal, just like I was running TERM.COM. On our 4.2 UNIX
  14334. # system the following termcap entry works well:
  14335. # I have noticed a couple of minor glitches, but nothing I can't work
  14336. # around. (I added two capabilities from the BRL entry -- esr)
  14337. kaypro|kaypro2|kaypro II, 
  14338.     OTbs, am, 
  14339.     cols#80, lines#24, 
  14340.     bel=^G, clear=\032$<1/>, cr=^M, cud1=^J, cuf1=^L, 
  14341.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dl1=\ER, ed=^W, 
  14342.     el=^X, home=^^, il1=\EE, ind=^J, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  14343.  
  14344. # From IBM, Thu May  5 19:35:27 1983
  14345. # (ibmpc: commented out <smir>=\200R because we don't know <rmir> -- esr)
  14346. ibm-pc|ibm5051|5051|IBM Personal Computer (no ANSI.SYS), 
  14347.     OTbs, am, 
  14348.     cols#80, lines#24, 
  14349.     bel=^G, clear=^L^K, cr=^M^^, cub1=^], cud1=^J, cuf1=^\, 
  14350.     cuu1=^^, home=^K, ind=\n$<10>, kcud1=^_, 
  14351.  
  14352. ibmpc|wy60-PC|wyse60-PC|IBM PC/XT running PC/IX, 
  14353.     OTbs, am, bw, eo, hs, km, msgr, ul, 
  14354.     cols#80, it#8, lines#24, 
  14355.     acsc=j\331k\277l\332m\300n\305q\304t\303u\264v\301w\302x\263, 
  14356.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\Ec, cr=^M, 
  14357.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  14358.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  14359.     cuu=\E[%p1%dA, cuu1=\E[A, ech=\E[%p1%dX, ed=\E[J, el=\E[K, 
  14360.     home=\E[H, hpa=\E[%i%p1%dG, ind=\E[S\E[B, 
  14361.     indn=\E[%p1%dS\E[%p1%dB, invis=\E[30;40m, kbs=^H, 
  14362.     kcbt=^], kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  14363.     kdch1=\177, kend=\E[Y, kf1=\240, kf10=\251, kf2=\241, 
  14364.     kf3=\242, kf4=\243, kf5=\244, kf6=\245, kf7=\246, kf8=\247, 
  14365.     kf9=\250, khome=\E[H, kich1=\E[^H, knp=\E[U, kpp=\E[V, 
  14366.     ll=\E[24;1H, nel=^M, rev=\E[7m, ri=\E[T\E[A, 
  14367.     rin=\E[%p1%dT\E[%p1%dA, rmso=\E[m, rmul=\E[m, 
  14368.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m, 
  14369.     sgr0=\E[m, smso=\E[7m, smul=\E[4m, 
  14370.  
  14371. #### Apple II
  14372. #
  14373. # Apple II firmware console first, then various 80-column cards and 
  14374. # terminal emulators.  For two cents I'd toss all these in the UFO file
  14375. # along with the 40-column apple entries.
  14376. #
  14377.  
  14378. # From: brsmith@umn-cs.cs.umn.edu (Brian R. Smith) via BRL
  14379. #    'it#8' tells UNIX that you have tabs every 8 columns.  This is a
  14380. #        function of TIC, not the firmware.
  14381. #    The clear key on a IIgs will do something like clear-screen, 
  14382. #        depending on what you're in.
  14383. appleIIgs|appleIIe|appleIIc|Apple 80 column firmware interface, 
  14384.     OTbs, am, bw, eo, msgr, 
  14385.     cols#80, it#8, lines#24, 
  14386.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^\, 
  14387.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  14388.     home=^Y, ht=^I, ind=^W, kbs=^H, kclr=^X, kcub1=^H, kcud1=^J, 
  14389.     kcuf1=^U, kcuu1=^K, kdch1=\177, nel=^M^W, ri=^V, rmso=^N, 
  14390.     smso=^O, 
  14391. # Apple //e with 80-column card, entry from BRL
  14392. # The modem interface is permitted to discard LF (maybe DC1), otherwise
  14393. # passing characters to the 80-column firmware via COUT (PR#3 assumed).
  14394. # Auto-wrap does not work right due to newline scrolling delay, which also
  14395. # requires that you set "stty cr2".
  14396. # Note: Cursor addressing is only available via the Pascal V1.1 entry,
  14397. # not via the BASIC PR#3 hook.  All this nonsense can be avoided only by
  14398. # using a terminal emulation program instead of the built-in firmware.
  14399. apple2e|Apple //e, 
  14400.     bw, msgr, 
  14401.     cols#80, lines#24, 
  14402.     bel=^G, clear=\014$<100/>, cub1=^H, cud1=^J, cuu1=^_, 
  14403.     ed=\013$<4*/>, el=\035$<4/>, home=^Y, ht=^I, ind=^W, 
  14404.     is2=^R^N, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^U, kcuu1=^K, 
  14405.     nel=\r$<100/>, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
  14406.     smso=^O, 
  14407. # mcvax!vu44!vu45!wilcke uses the "ap" entry together with Ascii Express Pro
  14408. # 4.20, with incoming and outgoing terminals both on 0, emulation On.
  14409. apple2e-p|Apple //e via Pascal, 
  14410.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, kbs=^H, kcub1=^H, 
  14411.     kcud1=^J, use=apple2e, 
  14412. # (ASCII Express) MouseTalk "Standard Apple //" emulation from BRL
  14413. # Enable DC3/DC1 flow control with "stty ixon -ixany".
  14414. apple-ae|ASCII Express, 
  14415.     OTbs, am, bw, msgr, nxon, xon, 
  14416.     cols#80, it#8, lines#24, 
  14417.     bel=\007$<500/>, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  14418.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  14419.     home=^Y, ind=^W, is2=^R^N, kclr=^X, kcub1=^H, kcud1=^J, 
  14420.     kcuf1=^U, kcuu1=^K, rev=^O, ri=^V, rmso=^N, rs1=^R^N, sgr0=^N, 
  14421.     smso=^O, 
  14422. appleII|apple ii plus, 
  14423.     OTbs, am, 
  14424.     cols#80, it#8, lines#24, 
  14425.     clear=^L, cnorm=^TC2, cub1=^H, cud1=^J, cuf1=^\, 
  14426.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, cvvis=^TC6, 
  14427.     ed=^K, el=^], flash=\024G1$<200/>\024T1, home=\E^Y, ht=^I, 
  14428.     is2=\024T1\016, kcud1=^J, kcuf1=^U, rmso=^N, sgr0=^N, 
  14429.     smso=^O, 
  14430. # Originally by Gary Ford 21NOV83
  14431. # From: <ee178aci%sdcc7@SDCSVAX.ARPA>  Fri Oct 11 21:27:00 1985
  14432. apple-80|apple II with smarterm 80 col, 
  14433.     OTbs, am, bw, 
  14434.     cols#80, lines#24, 
  14435.     cbt=^R, clear=\014$<10*/>, cr=\r$<10*/>, cub1=^H, cud1=^J, 
  14436.     cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, 
  14437.     ed=\013$<10*/>, el=\035$<10/>, home=^Y, 
  14438. apple-soroc|apple emulating soroc 120, 
  14439.     am, 
  14440.     cols#80, lines#24, 
  14441.     bel=^G, clear=\E*$<300>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  14442.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EY, el=\ET, 
  14443.     home=^^, ind=^J, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  14444. # From Peter Harrison, Computer Graphics Lab, San Francisco
  14445. #   ucbvax!ucsfmis!harrison  .....uucp
  14446. #   ucbvax!ucsfmis!harrison@BERKELEY   .......ARPA
  14447. # "These two work.  If you don't have the inverse video chip for the
  14448. # Apple with videx then remove the :so: and :se: fields."
  14449. # (apple-videx: this used to be called DaleApple -- esr)
  14450. apple-videx|Apple with videx videoterm 80 column board with inverse video, 
  14451.     OTbs, am, xenl, 
  14452.     cols#80, it#8, lines#24, 
  14453.     clear=\014$<300/>, cub1=^H, cud1=^J, cuf1=^\, 
  14454.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  14455.     home=^Y, ht=^I, kcub1=^H, kcud1=^J, kcuf1=^U, khome=^Y, 
  14456.     rmso=^Z2, sgr0=^Z2, smso=^Z3, 
  14457. # My system [for reference] : Apple ][+, 64K, Ultraterm display card,
  14458. #                  Apple Cat ][ 212 modem, + more all
  14459. #                  controlled by ASCII Express: Pro.
  14460. # From Dave Shaver <isucs1!shaver>
  14461. apple-uterm-vb|Videx Ultraterm for Apple micros with Visible Bell, 
  14462.     OTbs, am, eo, xt, 
  14463.     cols#80, lines#24, 
  14464.     acsc=, clear=^L, cuf1=^\, 
  14465.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  14466.     flash=^W35^W06, home=^Y, 
  14467.     is2=^V4^W06\017\rVisible Bell Installed.\016\r\n, 
  14468.     rmso=^N, smso=^O, 
  14469. apple-uterm|Ultraterm for Apple micros, 
  14470.     OTbs, am, eo, xt, 
  14471.     cols#80, lines#24, 
  14472.     acsc=, clear=^L, cuf1=^\, 
  14473.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  14474.     home=^Y, is2=^V4^W06\016, rmso=^N, smso=^O, 
  14475. # from trwrba!bwong (Bradley W. Wong):
  14476. #
  14477. # This entry assumes that you are using an apple with the UCSD Pascal
  14478. # language card.  SYSTEM.MISCINFO is assumed to be the same as that
  14479. # supplied with the standard apple except that screenwidth should be set
  14480. # using SETUP to 80 columns.  Note that the right arrow in not mapped in
  14481. # this termcap entry.  This is because that key, on the Apple, transmits
  14482. # a ^U and would thus preempt the more useful "up" function of vi.
  14483. #
  14484. # HMH 2/23/81
  14485. apple80p|80-column apple with Pascal card, 
  14486.     am, bw, 
  14487.     cols#80, lines#24, 
  14488.     clear=^Y^L, cuf1=^\\:, 
  14489.     cup=\036%p2%{32}%+%c%p1%{32}%+%c, cuu1=^_, ed=^K, el=^], 
  14490.     home=^Y, kcub1=^H, 
  14491. #
  14492. # Apple II+ equipped with Videx 80 column card
  14493. #
  14494. # Terminfo from ihnp4!ihu1g!djc1 (Dave Christensen) via BRL;
  14495. # manually converted by D A Gwyn
  14496. #
  14497. # DO NOT use any terminal emulation with this data base, it works directly
  14498. # with the Videx card.  This has been tested with vi 1200 baud and works fine.
  14499. #
  14500. # This works great for vi, except I've noticed in pre-R2, ^U will scroll back
  14501. # 1 screen, while in R2 ^U doesn't.
  14502. # For inverse alternate character set add:
  14503. #    <smacs>=^O:<rmacs>=^N:
  14504. # (apple-v: added it#8 -- esr)
  14505. apple-videx2|Apple II+ w/ Videx card (similar to Datamedia h1520), 
  14506.     am, xenl, 
  14507.     cols#80, it#8, lines#24, 
  14508.     bel=\007$<100/>, clear=\014$<16*/>, cr=^M, cub1=^H, 
  14509.     cud1=^J, cuf1=^\, cup=\036%p2%{32}%+%c%p1%{32}%+%c, 
  14510.     cuu1=^_, ed=\013$<16*/>, el=^], home=^Y, ht=\011$<8/>, 
  14511.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^\, kcuu1=^_, 
  14512.     khome=^Y, rmso=^Z2, smso=^Z3, 
  14513. apple-videx3|vapple|Apple II with 80 col card, 
  14514.     OTbs, am, 
  14515.     cols#80, lines#24, 
  14516.     clear=\Ev, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  14517.     cuu1=\EA, el=\Ex, home=\EH, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  14518.     kcuu1=\EA, kf0=\EP, kf1=\EQ, kf2=\ER, kf3=\E\s, kf4=\E!, 
  14519.     kf5=\E", kf6=\E#, kf7=\E$, kf8=\E%%, kf9=\E&, khome=\EH, 
  14520. #From: decvax!cbosgd!cbdkc1!mww Mike Warren via BRL
  14521. aepro|Apple II+ running ASCII Express Pro--vt52, 
  14522.     OTbs, 
  14523.     cols#80, lines#24, 
  14524.     clear=\014$<300/>, cuf1=\EC, 
  14525.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  14526.     el=\EK, home=\EH, 
  14527. # UCSD addition: Yet another termcap from Brian Kantor's Micro Munger Factory
  14528. apple-vm80|ap-vm80|apple with viewmax-80, 
  14529.     OTbs, 
  14530.     cols#80, lines#24, 
  14531.     clear=\014$<300/>, cuf1=^\\:, 
  14532.     cup=\036%p1%{32}%+%c%p2%{32}%+%c$<100/>, cuu1=^_, 
  14533.     ed=\013$<300/>, el=^], home=\031$<200/>, 
  14534.  
  14535. #### Apple Lisa & Macintosh
  14536. #
  14537.  
  14538. # (lisa: changed <cvvis> to <cnorm> -- esr)
  14539. lisa|apple lisa console display (black on white), 
  14540.     OTbs, am, eo, msgr, 
  14541.     cols#88, it#8, lines#32, 
  14542.     acsc=jdkclfmenbqattuvvuwsx`, civis=\E[5h, clear=^L, 
  14543.     cnorm=\E[5l, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  14544.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  14545.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, il1=\E[L, 
  14546.     is2=\E>\E[m\014, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  14547.     kcuf1=\E[C, kcuu1=\E[A, rmacs=\E[10m, rmso=\E[m, rmul=\E[m, 
  14548.     sgr0=\E[m, smacs=\E[11m, smso=\E[7m, smul=\E[4m, 
  14549. liswb|apple lisa console display (white on black), 
  14550.     is2=\E>\E[0;7m\014, rmso=\E[0;7m, rmul=\E[0;7m, 
  14551.     smso=\E[m, smul=\E[4m, use=lisa, 
  14552.  
  14553. # lisaterm from ulysses!gamma!epsilon!mb2c!jed (John E. Duncan III) via BRL;
  14554. # <is2> revised by Ferd Brundick <fsbrn@BRL.ARPA>
  14555. #
  14556. # These entries assume that the 'Auto Wraparound' is enabled.
  14557. # Xon-Xoff flow control should also be enabled.
  14558. #
  14559. # The vt100 uses :rs2: and :rf: rather than :is2:/:tbc:/:hts: because the tab
  14560. # settings are in non-volatile memory and don't need to be reset upon login.
  14561. # Also setting the number of columns glitches the screen annoyingly.
  14562. # You can type "reset" to get them set.
  14563. #
  14564. lisaterm|Apple Lisa or Lisa/2 running LisaTerm vt100 emulation, 
  14565.     OTbs, OTpt, am, xenl, xon, 
  14566.     OTkn#4, cols#80, it#8, lines#24, vt#3, 
  14567.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[2J, cr=^M, 
  14568.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  14569.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  14570.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
  14571.     el=\E[K, home=\E[H, ht=^I, hts=\EH, ind=^J, kbs=^H, kcub1=\EOD, 
  14572.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, kf1=\EOQ, 
  14573.     kf2=\EOR, kf3=\EOS, lf0=F1, lf1=F2, lf2=F3, lf3=F4, rc=\E8, 
  14574.     rev=\E[7m, ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  14575.     rs1=\E>\E[?1l\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;24r, 
  14576.     sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, smso=\E[7m, smul=\E[4m, 
  14577.     tbc=\E[3g, 
  14578. # Lisaterm in 132 column ("wide") mode.
  14579. lisaterm-w|Apple Lisa with Lisaterm in 132 column mode, 
  14580.     cols#132, 
  14581.     kbs=^H, kcub1=^H, kcud1=^J, use=lisaterm, 
  14582. # Although MacTerminal has insert/delete line, it is commented out here
  14583. # since it is much faster and cleaner to use the "lock scrolling region"
  14584. # method of inserting and deleting lines due to the MacTerminal implementation.
  14585. # Also, the "Insert/delete ch" strings have an extra character appended to them
  14586. # due to a bug in MacTerminal V1.1.  Blink is disabled since it is not
  14587. # supported by MacTerminal.
  14588. mac|macintosh|Macintosh with MacTerminal, 
  14589.     xenl, 
  14590.     OTdN#30, 
  14591.     blink@, dch1=\E[P$<7/>, ich1=\E[@$<9/>, ip=$<7/>, use=lisa, 
  14592. # Lisaterm in 132 column ("wide") mode.
  14593. mac-w|macterminal-w|Apple Macintosh with Macterminal in 132 column mode, 
  14594.     cols#132, use=mac, 
  14595.  
  14596. # The AppKit Terminal.app descriptions all have names beginning with
  14597. # "nsterm". Note that the statusline (-s) versions use the window
  14598. # titlebar as a phony status line, and may produce warnings during
  14599. # compilation as a result ("tsl uses 0 parameters, expected 1".) Ignore
  14600. # these warnings, or even ignore these entries entirely. Apps which
  14601. # need to position the cursor or do other fancy stuff inside the status
  14602. # line won't work with these entries. They're primarily useful for
  14603. # programs like Pine which provide simple notifications in the status
  14604. # line. Please note that non-ASCII characters don't work right in the
  14605. # status line, since Terminal.app incorrectly interprets their Unicode
  14606. # codepoints as MacRoman codepoints.
  14607. # * Renamed the AppKit Terminal.app entry from "Apple_Terminal" to
  14608. #   "nsterm" to comply with the name length and case conventions and
  14609. #   limitations of various software packages [notably Solaris terminfo
  14610. #   and UNIX.] A single Apple_Terminal alias is retained for
  14611. #   backwards-compatbility.
  14612. # * Added function key support (F1-F4). These only work in Terminal.app
  14613. #   version 51, hopefully the capabilities won't cause problems for people
  14614. #   using version 41.
  14615. # * Added "full color" (-c) entries which support the 16-color mode in
  14616. #   version 51.
  14617. # * By default, version 51 uses UTF-8 encoding with broken altcharset
  14618. #   support, so "ASCII" (-7) entries without altcharset support were
  14619. #   added.
  14620.  
  14621. # nsterm - AppKit Terminal.app
  14622. #
  14623. # Apple's Mac OS X includes a Terminal.app derived from the old NeXT
  14624. # Terminal.app. It is a partial VT100 emulation with some xterm-like
  14625. # extensions. This terminfo was written to describe versions 41
  14626. # (shipped with Mac OS X version 10.0) and 51 (shipped with Mac OS X
  14627. # version 10.1) of Terminal.app.
  14628. #
  14629. # Terminal.app runs under the Mac OS X Quartz windowing system (and
  14630. # other AppKit-supported windowing systems.)  On the Mac OS X machine I
  14631. # use, the executable for Terminal.app is:
  14632. # /Applications/Utilities/Terminal.app/Contents/MacOS/Terminal
  14633. #
  14634. # If you're looking for a description of the full-screen system
  14635. # console which runs under Apple's Darwin operating system on PowerPC
  14636. # platforms, see the "xnuppc" entry instead.
  14637. #
  14638. # There were no function keys in version 41. In version 51, there are
  14639. # four working function keys (F1, F2, F3 and F4.) The function keys
  14640. # are included in all of these entries.
  14641. #
  14642. # It does not support mouse pointer position reporting. Under some
  14643. # circumstances the cursor can be positioned using option-click; this
  14644. # works by comparing the cursor position and the selected position,
  14645. # and simulating enough cursor-key presses to move the cursor to the
  14646. # selected position. This technique fails in all but the simplest
  14647. # applications.
  14648. #
  14649. # It provides partial ANSI color support (background colors interacted
  14650. # badly with bold in version 41, though, as reflected in :ncv:.) The
  14651. # monochrome (-m) entries are useful if you've disabled color support
  14652. # or use a monochrome monitor. The full color (-c) entries are useful
  14653. # in version 51, which doesn't exhibit the background color bug. They
  14654. # also enable an xterm-compatible 16-color mode.
  14655. #
  14656. # The configurable titlebar is set using xterm-compatible sequences;
  14657. # it is used as a status bar in the statusline (-s) entries. Its width
  14658. # depends on font sizes and window sizes, but 50 characters seems to
  14659. # be the default for an 80x24 window.
  14660. #
  14661. # The MacRoman character encoding is used for some of the alternate
  14662. # characters in the "MacRoman" entries; the "ASCII" (-7) entries
  14663. # disable alternate character set support entirely, and the "VT100"
  14664. # (-acs) entries rely instead on Terminal.app's own buggy VT100
  14665. # graphics emulation, which seems to think the character encoding is
  14666. # the old NeXT charset instead of MacRoman. The "ASCII" (-7) entries
  14667. # are useful in Terminal.app version 51, which supports UTF-8 and
  14668. # other ASCII-compatible character encodings but does not correctly
  14669. # implement VT100 graphics; once VT100 graphics are correctly
  14670. # implemented in Terminal.app, the "VT100" (-acs) entries should be
  14671. # usable in any ASCII-compatible character encoding [except perhaps
  14672. # in UTF-8, where some experts argue for disallowing alternate
  14673. # characters entirely.]
  14674. #
  14675. # Terminal.app reports "vt100" as the terminal type, but exports
  14676. # several environment variables which may aid detection in a shell
  14677. # profile (i.e. .profile or .login):
  14678. #
  14679. # TERM=vt100
  14680. # TERM_PROGRAM=Apple_Terminal
  14681. # TERM_PROGRAM_VERSION=41      # in Terminal.app version 41
  14682. # TERM_PROGRAM_VERSION=51      # in Terminal.app version 51
  14683. #
  14684. # For example, the following Bourne shell script would detect the
  14685. # correct terminal type:
  14686. #
  14687. # if [ :"$TERM" = :"vt100" -a :"$TERM_PROGRAM" = :"Apple_Terminal" ]
  14688. # then
  14689. #     export TERM
  14690. #     if [ :"$TERM_PROGRAM_VERSION" = :41 ]
  14691. #     then
  14692. #         TERM="nsterm"
  14693. #     else
  14694. #         TERM="nsterm-c-7"
  14695. #     fi
  14696. # fi
  14697. #
  14698. # In a C shell derivative, this would be accomplished by:
  14699. #
  14700. # if ( $?TERM && $?TERM_PROGRAM && $?TERM_PROGRAM_VERSION) then
  14701. #     if ( :"$TERM" == :"vt100" && :"$TERM_PROGRAM" == :"Apple_Terminal" ) then
  14702. #          if ( :"$TERM_PROGRAM_VERSION" == :41 ) then
  14703. #              setenv TERM "nsterm"
  14704. #          else
  14705. #              setenv TERM "nsterm-c-7"
  14706. #          endif
  14707. #     endif
  14708. # endif
  14709.  
  14710. # The '+' entries are building blocks
  14711. nsterm+7|AppKit Terminal.app v41+ basic capabilities w/ASCII charset, 
  14712.     am, bw, msgr, xenl, xon, 
  14713.     cols#80, it#8, lines#24, 
  14714.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  14715.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  14716.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  14717.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  14718.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, 
  14719.     home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  14720.     ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=\177, kc1=\EOp, kc3=\EOn, 
  14721.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kent=\EOM, 
  14722.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
  14723.     ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  14724.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  14725.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m, 
  14726.     sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
  14727.     smul=\E[4m, tbc=\E[3g, u6=\E[%i%d;%dR, u7=\E[6n, 
  14728.     u8=\E[?1;2c, u9=\E[c, 
  14729.  
  14730. nsterm+acs|AppKit Terminal.app v41+ basic capabilities w/VT100 alternate-charset, 
  14731.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  14732.     enacs=\E(B\E)0, rmacs=^O, 
  14733.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  14734.     smacs=^N, use=nsterm+7, 
  14735.  
  14736. nsterm+mac|AppKit Terminal.app v41+ basic capabilities w/MacRoman alternate-charset, 
  14737.     acsc=0#`\327a\:f\241g\261h#i\360jjkkllmmnno\370p\370q\321rrssttuuvvwwxxy\262z\263{\271|\255}\243~\245+\335-\366\,\334.\377, 
  14738.     enacs=\E(B\E)0, rmacs=^O, 
  14739.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;%?%p4%t;5%;m%?%p9%t\016%e\017%;, 
  14740.     smacs=^N, use=nsterm+7, 
  14741.  
  14742. nsterm+s|AppKit Terminal.app v41+ status-line (window titlebar) support, 
  14743.     hs, 
  14744.     wsl#50, 
  14745.     dsl=\E]2;\007, fsl=^G, tsl=\E]2;, 
  14746.  
  14747. nsterm+c|AppKit Terminal.app v51+ full color support (including 16 colors), 
  14748.     op=\E[0m, use=ibm+16color, 
  14749.  
  14750. nsterm+c41|AppKit Terminal.app v41 color support, 
  14751.     colors#8, ncv#37, pairs#64, 
  14752.     op=\E[0m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  14753.  
  14754. # These are different combinations of the building blocks
  14755.  
  14756. # ASCII charset (-7)
  14757. nsterm-m-7|nsterm-7-m|AppKit Terminal.app v41+ w/ASCII charset (monochrome), 
  14758.     use=nsterm+7, 
  14759.  
  14760. nsterm-m-s-7|nsterm-7-m-s|AppKit Terminal.app v41+ w/ASCII charset (monochrome w/statusline), 
  14761.     use=nsterm+s, use=nsterm+7, 
  14762.  
  14763. nsterm-7|AppKit Terminal.app v41+ w/ASCII charset (color), 
  14764.     use=nsterm+c41, use=nsterm+7, 
  14765.  
  14766. nsterm-7-c|nsterm-c-7|AppKit Terminal.app v51+ w/ASCII charset (full color), 
  14767.     use=nsterm+c, use=nsterm+7, 
  14768.  
  14769. nsterm-s-7|nsterm-7-s|AppKit Terminal.app v41+ w/ASCII charset (color w/statusline), 
  14770.     use=nsterm+s, use=nsterm+c41, use=nsterm+7, 
  14771.  
  14772. nsterm-c-s-7|nsterm-7-c-s|AppKit Terminal.app v51+ w/ASCII charset (full color w/statusline), 
  14773.     use=nsterm+s, use=nsterm+c, use=nsterm+7, 
  14774.  
  14775. # VT100 alternate-charset (-acs)
  14776. nsterm-m-acs|nsterm-acs-m|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome), 
  14777.     use=nsterm+acs, 
  14778.  
  14779. nsterm-m-s-acs|nsterm-acs-m-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (monochrome w/statusline), 
  14780.     use=nsterm+s, use=nsterm+acs, 
  14781.  
  14782. nsterm-acs|AppKit Terminal.app v41+ w/VT100 alternate-charset (color), 
  14783.     use=nsterm+c41, use=nsterm+acs, 
  14784.  
  14785. nsterm-c-acs|nsterm-acs-c|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color), 
  14786.     use=nsterm+c, use=nsterm+acs, 
  14787.  
  14788. nsterm-s-acs|nsterm-acs-s|AppKit Terminal.app v41+ w/VT100 alternate-charset (color w/statusline), 
  14789.     use=nsterm+s, use=nsterm+c41, use=nsterm+acs, 
  14790.  
  14791. nsterm-c-s-acs|nsterm-acs-c-s|AppKit Terminal.app v51+ w/VT100 alternate-charset (full color w/statusline), 
  14792.     use=nsterm+s, use=nsterm+c, use=nsterm+acs, 
  14793.  
  14794. # MacRoman charset
  14795. nsterm-m|AppKit Terminal.app v41+ w/MacRoman charset (monochrome), 
  14796.     use=nsterm+mac, 
  14797.  
  14798. nsterm-m-s|AppKit Terminal.app v41+ w/MacRoman charset (monochrome w/statusline), 
  14799.     use=nsterm+s, use=nsterm+mac, 
  14800.  
  14801. nsterm|Apple_Terminal|AppKit Terminal.app v41+ w/MacRoman charset (color), 
  14802.     use=nsterm+c41, use=nsterm+mac, 
  14803.  
  14804. nsterm-c|AppKit Terminal.app v51+ w/MacRoman charset (full color), 
  14805.     use=nsterm+c, use=nsterm+mac, 
  14806.  
  14807. nsterm-s|AppKit Terminal.app v41+ w/MacRoman charset (color w/statusline), 
  14808.     use=nsterm+s, use=nsterm+c41, use=nsterm+mac, 
  14809.  
  14810. nsterm-c-s|AppKit Terminal.app v51+ w/MacRoman charset (full color w/statusline), 
  14811.     use=nsterm+s, use=nsterm+c, use=nsterm+mac, 
  14812.  
  14813. # xnuppc - Darwin PowerPC Console (a.k.a. "darwin")
  14814. #
  14815. # On PowerPC platforms, Apple's Darwin operating system uses a
  14816. # full-screen system console derived from a NetBSD framebuffer
  14817. # console. It is an ANSI-style terminal, and is not really VT-100
  14818. # compatible.
  14819. #
  14820. # Under Mac OS X, this is the system console driver used while in
  14821. # single-user mode [reachable by holding down Command-S during the
  14822. # boot process] and when logged in using console mode [reachable by
  14823. # typing ">console" at the graphical login prompt.]
  14824. #
  14825. # If you're looking for a description of the Terminal.app terminal
  14826. # emulator which runs under the Mac OS X Quartz windowing system (and
  14827. # other AppKit-supported windowing systems,) see the "nsterm"
  14828. # entry instead.
  14829. #
  14830. # NOTE: Under Mac OS X version 10.1, the default login window does not
  14831. # prompt for user name, instead requiring an icon to be selected from
  14832. # a list of known users. Since the special ">console" login is not in
  14833. # this list, you must make one of two changes in the Login Window
  14834. # panel of the Login section of System Prefs to make the special
  14835. # ">console" login accessible. The first option is to enable 'Show
  14836. # "Other User" in list for network users', which will add a special
  14837. # "Other..." icon to the graphical login panel. Selecting "Other..."
  14838. # will present the regular graphical login prompt. The second option
  14839. # is to change the 'Display Login Window as:' setting to 'Name and
  14840. # password entry fields', which replaces the login panel with a
  14841. # graphical login prompt.
  14842. #
  14843. # There are no function keys, at least not in Darwin 1.3.
  14844. #
  14845. # It has no mouse support.
  14846. #
  14847. # It has full ANSI color support, and color combines correctly with
  14848. # all three supported attributes: bold, inverse-video and underline.
  14849. # However, bold colored text is almost unreadable (bolding is
  14850. # accomplished using shifting and or-ing, and looks smeared) so bold
  14851. # has been excluded from the list of color-compatible attributes
  14852. # [using (ncv)]. The monochrome entry (-m) is useful if you use a
  14853. # monochrome monitor.
  14854. #
  14855. # There is one serious bug with this terminal emulation's color
  14856. # support: repositioning the cursor onto a cell with non-matching
  14857. # colors obliterates that cell's contents, replacing it with a blank
  14858. # and displaying a colored cursor in the "current" colors. There is
  14859. # no complete workaround at present [other than using the monochrome
  14860. # (-m) entries,] but removing the (msgr) capability seemed to help.
  14861. #
  14862. # The "standout" chosen was simple reverse-video, although a colorful
  14863. # standout might be more aesthetically pleasing. Similarly, the bold
  14864. # chosen is the terminal's own smeared bold, although a simple
  14865. # color-change might be more readable. The color-bold (-b) entries
  14866. # uses magenta colored text for bolding instead. The fancy color (-f
  14867. # and -f2) entries use color for bold, standout and underlined text
  14868. # (underlined text is still underlined, though.)
  14869. #
  14870. # Apparently the terminal emulator does support a VT-100-style
  14871. # alternate character set, but all the alternate character set
  14872. # positions have been left blank in the font. For this reason, no
  14873. # alternate character set capabilities have been included in this
  14874. # description. The console driver appears to be ASCII-only, so (enacs)
  14875. # has been excluded [although the VT-100 sequence does work.]
  14876. #
  14877. # The default Mac OS X and Darwin installation reports "vt100" as the
  14878. # terminal type, and exports no helpful environment variables. To fix
  14879. # this, change the "console" entry in /etc/ttys from "vt100" to
  14880. # "xnuppc-WxH", where W and H are the character dimensions of your
  14881. # console (see below.)
  14882. #
  14883. # The font used by the terminal emulator is apparently one originally
  14884. # drawn by Ka-Ping Yee, and uses 8x16-pixel characters. This
  14885. # file includes descriptions for the following geometries:
  14886. #
  14887. #     Pixels        Characters   Entry Name (append -m for monochrome)
  14888. #    -------------------------------------------------------------------
  14889. #     640x400       80x25        xnuppc-80x25
  14890. #     640x480       80x30        xnuppc-80x30
  14891. #     720x480       90x30        xnuppc-90x30
  14892. #     800x600       100x37       xnuppc-100x37
  14893. #     896x600       112x37       xnuppc-112x37
  14894. #     1024x640      128x40       xnuppc-128x40
  14895. #     1024x768      128x48       xnuppc-128x48
  14896. #     1152x768      144x48       xnuppc-144x48
  14897. #     1280x1024     160x64       xnuppc-160x64
  14898. #     1600x1024     200x64       xnuppc-200x64
  14899. #     1600x1200     200x75       xnuppc-200x75
  14900. #     2048x1536     256x96       xnuppc-256x96
  14901. #
  14902. # The basic "xnuppc" entry includes no size information, and the
  14903. # emulator includes no reporting capability, so you'll be at the mercy
  14904. # of the TTY device (which reports incorrectly on my hardware.) The
  14905. # color-bold entries do not include size information.
  14906.  
  14907. # The '+' entries are building blocks
  14908. xnuppc+basic|Darwin PowerPC Console basic capabilities, 
  14909.     am, bce, mir, xenl, 
  14910.     it#8, 
  14911.     bold=\E[1m, clear=\E[H\E[J, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  14912.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  14913.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  14914.     cuu=\E[%p1%dA, cuu1=\E[A, dsl=\E]2;\007, ed=\E[J, el=\E[K, 
  14915.     el1=\E[1K, home=\E[H, ht=^I, hts=\EH, ind=^J, ka1=\EOq, 
  14916.     ka3=\EOs, kb2=\EOr, kbs=\177, kc1=\EOp, kc3=\EOn, kcub1=\EOD, 
  14917.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rc=\E8, rev=\E[7m, 
  14918.     ri=\EM, rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  14919.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  14920.     sgr=\E[0%?%p6%t;1%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
  14921.     sgr0=\E[m\017, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m, 
  14922.     smul=\E[4m, tbc=\E[3g, 
  14923.  
  14924. xnuppc+c|Darwin PowerPC Console ANSI color support, 
  14925.     colors#8, ncv#32, pairs#64, 
  14926.     op=\E[37;40m, setab=\E[4%p1%dm, setaf=\E[3%p1%dm, 
  14927.  
  14928. xnuppc+b|Darwin PowerPC Console color-bold support, 
  14929.     ncv#32, 
  14930.     bold=\E[35m, 
  14931.     sgr=\E[0%?%p6%t;35%;%?%p2%t;4%;%?%p1%p3%|%t;7%;m, 
  14932.     use=xnuppc+basic, 
  14933.  
  14934. xnuppc+f|Darwin PowerPC Console fancy color support, 
  14935.     ncv#35, 
  14936.     sgr=\E[0%?%p6%t;35%;%?%p2%t;36;4%;%?%p1%t;33;44%;%p3%t;7%;m, 
  14937.     smso=\E[33;44m, smul=\E[36;4m, use=xnuppc+b, 
  14938.  
  14939. xnuppc+f2|Darwin PowerPC Console alternate fancy color support, 
  14940.     ncv#35, 
  14941.     bold=\E[33m, 
  14942.     sgr=\E[0%?%p6%t;33%;%?%p2%t;34%;%?%p1%t;31;47%;%p3%t;7%;m, 
  14943.     smso=\E[31;47m, smul=\E[34m, use=xnuppc+basic, 
  14944.  
  14945. # Building blocks for specific screen sizes
  14946. xnuppc+80x25|Darwin PowerPC Console 80x25 support (640x400 pixels), 
  14947.     cols#80, lines#25, 
  14948.  
  14949. xnuppc+80x30|Darwin PowerPC Console 80x30 support (640x480 pixels), 
  14950.     cols#80, lines#30, 
  14951.  
  14952. xnuppc+90x30|Darwin PowerPC Console 90x30 support (720x480 pixels), 
  14953.     cols#90, lines#30, 
  14954.  
  14955. xnuppc+100x37|Darwin PowerPC Console 100x37 support (800x600 pixels), 
  14956.     cols#100, lines#37, 
  14957.  
  14958. xnuppc+112x37|Darwin PowerPC Console 112x37 support (896x600 pixels), 
  14959.     cols#112, lines#37, 
  14960.  
  14961. xnuppc+128x40|Darwin PowerPC Console 128x40 support (1024x640 pixels), 
  14962.     cols#128, lines#40, 
  14963.  
  14964. xnuppc+128x48|Darwin PowerPC Console 128x48 support (1024x768 pixels), 
  14965.     cols#128, lines#48, 
  14966.  
  14967. xnuppc+144x48|Darwin PowerPC Console 144x48 support (1152x768 pixels), 
  14968.     cols#144, lines#48, 
  14969.  
  14970. xnuppc+160x64|Darwin PowerPC Console 160x64 support (1280x1024 pixels), 
  14971.     cols#160, lines#64, 
  14972.  
  14973. xnuppc+200x64|Darwin PowerPC Console 200x64 support (1600x1024 pixels), 
  14974.     cols#200, lines#64, 
  14975.  
  14976. xnuppc+200x75|Darwin PowerPC Console 200x75 support (1600x1200 pixels), 
  14977.     cols#200, lines#75, 
  14978.  
  14979. xnuppc+256x96|Darwin PowerPC Console 256x96 support (2048x1536 pixels), 
  14980.     cols#256, lines#96, 
  14981.  
  14982. # These are different combinations of the building blocks
  14983.  
  14984. xnuppc-m|darwin-m|Darwin PowerPC Console (monochrome), 
  14985.     use=xnuppc+basic, 
  14986.  
  14987. xnuppc|darwin|Darwin PowerPC Console (color), 
  14988.     use=xnuppc+c, use=xnuppc+basic, 
  14989.  
  14990. xnuppc-m-b|darwin-m-b|Darwin PowerPC Console (monochrome w/color-bold), 
  14991.     use=xnuppc+b, 
  14992.  
  14993. xnuppc-b|darwin-b|Darwin PowerPC Console (color w/color-bold), 
  14994.     use=xnuppc+b, use=xnuppc+c, 
  14995.  
  14996. xnuppc-m-f|darwin-m-f|Darwin PowerPC Console (fancy monochrome), 
  14997.     use=xnuppc+f, 
  14998.  
  14999. xnuppc-f|darwin-f|Darwin PowerPC Console (fancy color), 
  15000.     use=xnuppc+f, use=xnuppc+c, 
  15001.  
  15002. xnuppc-m-f2|darwin-m-f2|Darwin PowerPC Console (alternate fancy monochrome), 
  15003.     use=xnuppc+f2, 
  15004.  
  15005. xnuppc-f2|darwin-f2|Darwin PowerPC Console (alternate fancy color), 
  15006.     use=xnuppc+f2, use=xnuppc+c, 
  15007.  
  15008. # Combinations for specific screen sizes
  15009. xnuppc-80x25-m|darwin-80x25-m|Darwin PowerPC Console (monochrome) 80x25, 
  15010.     use=xnuppc+80x25, use=xnuppc+basic, 
  15011.  
  15012. xnuppc-80x25|darwin-80x25|Darwin PowerPC Console (color) 80x25, 
  15013.     use=xnuppc+c, use=xnuppc+80x25, use=xnuppc+basic, 
  15014.  
  15015. xnuppc-80x30-m|darwin-80x30-m|Darwin PowerPC Console (monochrome) 80x30, 
  15016.     use=xnuppc+80x30, use=xnuppc+basic, 
  15017.  
  15018. xnuppc-80x30|darwin-80x30|Darwin PowerPC Console (color) 80x30, 
  15019.     use=xnuppc+c, use=xnuppc+80x30, use=xnuppc+basic, 
  15020.  
  15021. xnuppc-90x30-m|darwin-90x30-m|Darwin PowerPC Console (monochrome) 90x30, 
  15022.     use=xnuppc+90x30, use=xnuppc+basic, 
  15023.  
  15024. xnuppc-90x30|darwin-90x30|Darwin PowerPC Console (color) 90x30, 
  15025.     use=xnuppc+c, use=xnuppc+90x30, use=xnuppc+basic, 
  15026.  
  15027. xnuppc-100x37-m|darwin-100x37-m|Darwin PowerPC Console (monochrome) 100x37, 
  15028.     use=xnuppc+100x37, use=xnuppc+basic, 
  15029.  
  15030. xnuppc-100x37|darwin-100x37|Darwin PowerPC Console (color) 100x37, 
  15031.     use=xnuppc+c, use=xnuppc+100x37, use=xnuppc+basic, 
  15032.  
  15033. xnuppc-112x37-m|darwin-112x37-m|Darwin PowerPC Console (monochrome) 112x37, 
  15034.     use=xnuppc+112x37, use=xnuppc+basic, 
  15035.  
  15036. xnuppc-112x37|darwin-112x37|Darwin PowerPC Console (color) 112x37, 
  15037.     use=xnuppc+c, use=xnuppc+112x37, use=xnuppc+basic, 
  15038.  
  15039. xnuppc-128x40-m|darwin-128x40-m|Darwin PowerPC Console (monochrome) 128x40, 
  15040.     use=xnuppc+128x40, use=xnuppc+basic, 
  15041.  
  15042. xnuppc-128x40|darwin-128x40|Darwin PowerPC Console (color) 128x40, 
  15043.     use=xnuppc+c, use=xnuppc+128x40, use=xnuppc+basic, 
  15044.  
  15045. xnuppc-128x48-m|darwin-128x48-m|Darwin PowerPC Console (monochrome) 128x48, 
  15046.     use=xnuppc+128x48, use=xnuppc+basic, 
  15047.  
  15048. xnuppc-128x48|darwin-128x48|Darwin PowerPC Console (color) 128x48, 
  15049.     use=xnuppc+c, use=xnuppc+128x48, use=xnuppc+basic, 
  15050.  
  15051. xnuppc-144x48-m|darwin-144x48-m|Darwin PowerPC Console (monochrome) 144x48, 
  15052.     use=xnuppc+144x48, use=xnuppc+basic, 
  15053.  
  15054. xnuppc-144x48|darwin-144x48|Darwin PowerPC Console (color) 144x48, 
  15055.     use=xnuppc+c, use=xnuppc+144x48, use=xnuppc+basic, 
  15056.  
  15057. xnuppc-160x64-m|darwin-160x64-m|Darwin PowerPC Console (monochrome) 160x64, 
  15058.     use=xnuppc+160x64, use=xnuppc+basic, 
  15059.  
  15060. xnuppc-160x64|darwin-160x64|Darwin PowerPC Console (color) 160x64, 
  15061.     use=xnuppc+c, use=xnuppc+160x64, use=xnuppc+basic, 
  15062.  
  15063. xnuppc-200x64-m|darwin-200x64-m|Darwin PowerPC Console (monochrome) 200x64, 
  15064.     use=xnuppc+200x64, use=xnuppc+basic, 
  15065.  
  15066. xnuppc-200x64|darwin-200x64|Darwin PowerPC Console (color) 200x64, 
  15067.     use=xnuppc+c, use=xnuppc+200x64, use=xnuppc+basic, 
  15068.  
  15069. xnuppc-200x75-m|darwin-200x75-m|Darwin PowerPC Console (monochrome) 200x75, 
  15070.     use=xnuppc+200x75, use=xnuppc+basic, 
  15071.  
  15072. xnuppc-200x75|darwin-200x75|Darwin PowerPC Console (color) 200x75, 
  15073.     use=xnuppc+c, use=xnuppc+200x75, use=xnuppc+basic, 
  15074.  
  15075. xnuppc-256x96-m|darwin-256x96-m|Darwin PowerPC Console (monochrome) 256x96, 
  15076.     use=xnuppc+256x96, use=xnuppc+basic, 
  15077.  
  15078. xnuppc-256x96|darwin-256x96|Darwin PowerPC Console (color) 256x96, 
  15079.     use=xnuppc+c, use=xnuppc+256x96, use=xnuppc+basic, 
  15080.  
  15081. #### Radio Shack/Tandy
  15082. #
  15083.  
  15084. # (coco3: This had "ta" used incorrectly as a boolean and bl given as "bl#7".
  15085. # I read these as mistakes for ":it#8:" and ":bl=\007:" respectively -- esr)
  15086. # From: <{pbrown,ctl}@ocf.berkeley.edu> 12 Mar 90
  15087. coco3|os9LII|Tandy CoCo3 24*80 OS9 Level II, 
  15088.     OTbs, am, 
  15089.     cols#80, it#8, lines#24, 
  15090.     bel=^G, blink=^_", bold=\E\:^A, civis=^E\s, 
  15091.     clear=\014$<5*/>, cnorm=^E!, cub1=^H, cud1=^J, cuf1=^F, 
  15092.     cup=\002%p2%{32}%+%c%p1%{32}%+%c$<2/>, cuu1=^I, 
  15093.     dl1=^_1, ed=^K, el=^D, home=^A, il1=^_0, kcub1=^H, kcud1=^J, 
  15094.     kcuf1=^I, kcuu1=^L, rev=^_\s, rmso=^_!, rmul=^_#, 
  15095.     sgr0=\037!\E\:\0, smso=^_\s, smul=^_", 
  15096. # (trs2: removed obsolete ":nl=^_:" -- esr)
  15097. trs2|trsII|trs80II|Radio Shack Model II using P&T CP/M, 
  15098.     OTbs, am, msgr, 
  15099.     cols#80, it#8, lines#24, 
  15100.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^_, cuf1=^], 
  15101.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^^, dl1=^K, ed=^B, 
  15102.     el=^A, home=^F, ht=^I, il1=^D, ind=^J, kbs=^H, kcub1=^\, 
  15103.     kcud1=^_, kcuf1=^], kcuu1=^^, rmso=^O, sgr0=^O, smso=^N, 
  15104. # From: Kevin Braunsdorf <ksb@mentor.cc.purdue.edu>
  15105. # (This had extension capabilities
  15106. #    :BN=\E[?33h:BF=\E[?33l:UC=\E[_ q:BC=\E[\177 q:\
  15107. #    :CN=\ERC:CF=\ERc:NR=\ERD:NM=\ER@:
  15108. # I also deleted the unnecessary ":kn#2:", ":sg#0:" -- esr)
  15109. trs16|trs-80 model 16 console, 
  15110.     OTbs, am, 
  15111.     cols#80, it#8, lines#24, 
  15112.     acsc=jak`l_mbquvewcxs, bel=^G, civis=\ERc, clear=^L, 
  15113.     cnorm=\ERC, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  15114.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  15115.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
  15116.     ind=^J, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  15117.     kf0=^A, kf1=^B, kf2=^D, kf3=^L, kf4=^U, kf5=^P, kf6=^N, kf7=^S, 
  15118.     khome=^W, lf0=f1, lf1=f2, lf2=f3, lf3=f4, lf4=f5, lf5=f6, lf6=f7, 
  15119.     lf7=f8, mc4=\E]+, mc5=\E]=, rmacs=\ERg, rmso=\ER@, sgr0=\ER@, 
  15120.     smacs=\ERG, smso=\ERD, 
  15121.  
  15122. #### Atari ST
  15123. #
  15124.  
  15125. # From: Simson L. Garfinkel <simsong@media-lab.mit.edu>
  15126. atari|atari st, 
  15127.     OTbs, am, 
  15128.     cols#80, it#8, lines#25, 
  15129.     clear=\EH\EJ, cub1=\ED, cud1=\EB, cuf1=\EC, 
  15130.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  15131.     ed=\EJ, el=\EK, ht=^I, il1=\EL, kcub1=\ED, kcud1=\EB, 
  15132.     kcuf1=\EC, kcuu1=\EA, ri=\EI, rmso=\Eq, sgr0=\Eq, smso=\Ep, 
  15133. # UniTerm terminal program for the Atari ST:  49-line VT220 emulation mode
  15134. # From: Paul M. Aoki <aoki@ucbvax.berkeley.edu>
  15135. uniterm|uniterm49|UniTerm VT220 emulator with 49 lines, 
  15136.     lines#49, 
  15137.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h\E[1;49r\E[49;1H, 
  15138.     use=vt220, 
  15139. # MiNT VT52 emulation. 80 columns, 25 rows.
  15140. # MiNT is Now TOS, the operating system which comes with all Ataris now
  15141. # (mainly Atari Falcon). This termcap is for the VT52 emulation you get
  15142. # under tcsh/zsh/bash/sh/ksh/ash/csh when you run MiNT in `console' mode
  15143. # From: Per Persson <pp@gnu.ai.mit.edu>, 27 Feb 1996
  15144. st52|Atari ST with VT52 emulation, 
  15145.     am, km, 
  15146.     cols#80, lines#25, 
  15147.     bel=^G, civis=\Ef, clear=\EH\EJ, cnorm=\Ee, cr=^M, cub1=\ED, 
  15148.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  15149.     cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 
  15150.     ind=^J, ka1=\E#7, ka3=\E#5, kb2=\E#9, kbs=^H, kc1=\E#1, 
  15151.     kc3=\E#3, kclr=\E#7, kcub1=\E#K, kcud1=\E#P, kcuf1=\E#M, 
  15152.     kcuu1=\E#H, kf0=\E#D, kf1=\E#;, kf2=\E#<, kf3=\E#=, kf4=\E#>, 
  15153.     kf5=\E#?, kf6=\E#@, kf7=\E#A, kf8=\E#B, kf9=\E#C, khome=\E#G, 
  15154.     kil1=\E#R, kind=\E#2, kri=\E#8, lf0=f10, nel=^M^J, rc=\Ek, 
  15155.     ri=\EI, rmcup=, rmso=\Eq, rs1=\Ez_\Eb@\EcA, sc=\Ej, sgr0=\Eq, 
  15156.     smcup=\Ee, smso=\Ep, 
  15157.  
  15158. #### Commodore Business Machines
  15159. #
  15160. # Formerly located in West Chester, PA; went spectacularly bust in 1994
  15161. # after years of shaky engineering and egregious mismanagement.  Made one
  15162. # really nice machine (the Amiga) and boatloads of nasty ones (PET, C-64,
  15163. # C-128, VIC-20).  The C-64 is said to have been the most popular machine
  15164. # ever (most units sold); they can still be found gathering dust in closets
  15165. # everywhere.
  15166. #
  15167.  
  15168. # From: Kent Polk <kent@swrinde.nde.swri.edu>, 30 May 90
  15169. # Added a few more entries, converted caret-type control sequence (^x) entries
  15170. # to '\0xx' entries since a couple of people mentioned losing '^x' sequences.
  15171. # Corrections by Ty Sarna <tsarna@endicor.com>, Sat Feb 28 18:55:15 1998
  15172. #
  15173. # :as:, :ae:            Support for alternate character sets.
  15174. # :ve=\E[\040p:vi=\E[\060\040p:    cursor visible/invisible.
  15175. # :xn:  vt100 kludginess at column 80/NEWLINE ignore after 80 cols(Concept)
  15176. #     This one appears to fix a problem I always had with a line ending
  15177. #     at 'width+1' (I think) followed by a blank line in vi. The blank
  15178. #     line tended to disappear and reappear depending on how the screen
  15179. #     was refreshed. Note that this is probably needed only if you use
  15180. #     something like a Dnet Fterm with the window sized to some peculiar
  15181. #     dimension larger than 80 columns.
  15182. # :k0=\E9~:    map F10 to k0 - could have F0-9 -> k0-9, but ... F10 was 'k;'
  15183. # (amiga: removed obsolete :kn#10:,
  15184. # also added empty <acsc> to suppress a warning --esr)
  15185. amiga|Amiga ANSI, 
  15186.     OTbs, am, bw, xenl, 
  15187.     cols#80, lines#24, 
  15188.     acsc=, bel=^G, blink=\E[7;2m, bold=\E[1m, cbt=\E[Z, 
  15189.     civis=\E[0 p, clear=\E[H\E[J, cnorm=\E[ p, cub=\E[%p1%dD, 
  15190.     cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, 
  15191.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  15192.     cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  15193.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, 
  15194.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=\E[S, 
  15195.     indn=\E[%p1%dS, invis=\E[8m, is2=\E[20l, kbs=^H, 
  15196.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf0=\E[9~, 
  15197.     kf1=\E[0~, kf2=\E[1~, kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, 
  15198.     kf6=\E[5~, kf7=\E[6~, kf8=\E[7~, kf9=\E[8~, rev=\E[7m, 
  15199.     ri=\E[T, rin=\E[%p1%dT, rmacs=^O, rmso=\E[m, rmul=\E[m, 
  15200.     rs1=\Ec, sgr0=\E[m, smacs=^N, smso=\E[7m, smul=\E[4m, 
  15201.  
  15202. # From: Hans Verkuil <hans@wyst.hobby.nl>, 4 Dec 1995
  15203. # (amiga: added empty <acsc> to suppress a warning.
  15204. # I'm told this entry screws up badly with AS225, the Amiga
  15205. # TCP/IP package once from Commodore, and now sold by InterWorks.--esr)
  15206. amiga-h|Hans Verkuil's Amiga ANSI, 
  15207.     OTbs, bw, msgr, 
  15208.     cols#80, lines#24, 
  15209.     acsc=, bel=^G, blink=\2337;2m, bold=\2331m, cbt=\233Z, 
  15210.     civis=\2330 p, clear=\233H\233J, cnorm=\233 p, cr=^M, 
  15211.     cub=\233%p1%dD, cub1=\233D, cud=\233%p1%dB, cud1=\233B, 
  15212.     cuf=\233%p1%dC, cuf1=\233C, cup=\233%i%p1%d;%p2%dH, 
  15213.     cuu=\233%p1%dA, cuu1=\233A, dch=\233%p1%dP, dch1=\233P, 
  15214.     dim=\2332m, ech=\233%p1%dP, ed=\233J, el=\233K, flash=^G, 
  15215.     home=\233H, ht=^I, ich=\233%p1%d@, ich1=\233@, ind=\233S, 
  15216.     indn=\233%p1%dS, invis=\2338m, is2=\23320l, kbs=^H, 
  15217.     kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
  15218.     kdch1=\177, kf0=\2339~, kf1=\2330~, kf2=\2331~, kf3=\2332~, 
  15219.     kf4=\2333~, kf5=\2334~, kf6=\2335~, kf7=\2336~, kf8=\2337~, 
  15220.     kf9=\2338~, nel=\233B\r, rev=\2337m, ri=\233T, 
  15221.     rin=\233%p1%dT, rmacs=^O, rmcup=\233?7h, rmso=\2330m, 
  15222.     rmul=\2330m, rs1=\Ec, sgr0=\2330m, smacs=^N, smcup=\233?7l, 
  15223.     smso=\2337m, smul=\2334m, 
  15224.  
  15225. # From: Henning 'Faroul' Peters <Faroul@beyond.kn-bremen.de>, 25 Sep 1999
  15226. amiga-8bit|Amiga ANSI using 8-bit controls, 
  15227.     acsc=, dl=\233%p1%dM, dl1=\233M, il=\233%p1%dL, il1=\233L, 
  15228.     ind=\204, indn@, ri=\215, rin@, use=amiga-h, 
  15229.  
  15230. # From: Ruediger Kuhlmann <terminfo@ruediger-kuhlmann.de>, 18 Jul 2000
  15231. # requires use of appropriate preferences settings.
  15232. amiga-vnc|Amiga using VNC console (black on light gray), 
  15233.     am, da, db, msgr, ndscr, 
  15234.     btns#1, colors#16, cols#80, lines#24, lm#0, ncv#0, pairs#256, 
  15235.     bel=^G, blink=\E[7;2m, bold=\E[1m, civis=\E[0p, 
  15236.     clear=\E[H\E[J, cnorm=\E[p\E[>?6l, cr=^M, 
  15237.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  15238.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  15239.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  15240.     cvvis=\E[>?6h, dch=\E[%p1%dP, dch1=\E[P, dim=\E[2m, 
  15241.     dl=\E[%p1%dM, dl1=\E[1M, ed=\E[J, el=\E[K, flash=^G, 
  15242.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[1L, ind=\ED, 
  15243.     indn=\E[%p1%dS, invis=\E8m, 
  15244.     is2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h, 
  15245.     kbs=^H, kcbt=\233Z, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  15246.     kcuu1=\E[A, kdch1=\177, kf0=\E[9~, kf1=\E[0~, kf2=\E[1~, 
  15247.     kf3=\E[2~, kf4=\E[3~, kf5=\E[4~, kf6=\E[5~, kf7=\E[6~, 
  15248.     kf8=\E[7~, kf9=\E[8~, khlp=\E[?~, khome=\E[44~, kll=\E[45~, 
  15249.     kmous=\E[M, knp=\E[42~, kpp=\E[41~, nel=\EE, oc=\E[0m, 
  15250.     rev=\E[7m, ri=\EM, rin=\E[%p1%dT, rmcup=\E[?7h\E[r\E[J, 
  15251.     rmkx=\E[?1l, rmso=\E[21m, rmul=\E[24m, rs1=\Ec, 
  15252.     rs2=\E[>?2;18l\E[>?26;?6;20;>?15;?7;>?22;>?8h, 
  15253.     setab=\E[%?%p1%{8}%>%t%'F'%p1%+%d%e4%p1%d%;m, 
  15254.     setaf=\E[%?%p1%{8}%>%t%'2'%p1%+%d%e3%p1%d%;m, 
  15255.     sgr0=\E[0m\017\E[30;85;>15m, smcup=\E[?7h, smkx=\E[?1h, 
  15256.     smso=\E[1m, smul=\E[4m, 
  15257.  
  15258. # Commodore B-128 microcomputer from Doug Tyrol <det@HEL-ACE.ARPA>
  15259. #     I'm trying to write a termcap for a commodore b-128, and I'm
  15260. # having a little trouble. I've had to map most of my control characters
  15261. # to something that unix will accept (my delete-char is a ctrl-t, etc),
  15262. # and create some functions (like cm), but thats life.
  15263. #     The problem is with the arrow keys - right, and up work fine, but
  15264. # left deletes the previous character and down I just can't figure out.
  15265. # Jove knows what I want, but I don't know what it's sending to me (it
  15266. # isn't thats bound to next-line in jove).
  15267. #     Anybody got any ideas? Here's my termcap.
  15268. # DAG -- I changed his "^n" entries to "\n"; see if that works.
  15269. #
  15270. commodore|b-128|Commodore B-128 micro, 
  15271.     am, bw, 
  15272.     OTdN#20, cols#80, lines#24, pb#150, 
  15273.     OTbc=^H, OTnl=^M, clear=\E\006$<10/>, cr=^M, cud1=^J, 
  15274.     cuf1=^F, cup=\E\013%p1%2d\,%p2%2d\,$<20/>, cuu1=^P, 
  15275.     dch1=\177$<10*/>, dl1=\Ed$<10*/>, el=\Eq$<10/>, 
  15276.     home=\E^E, ht=\011$<5/>, ich1=\E\n$<5/>, il1=\Ei$<10/>, 
  15277.     kcub1=^B, kcud1=^J, kcuf1=^F, kcuu1=^P, khome=\E^E, rmir=, 
  15278.     smir=, 
  15279.  
  15280. #### North Star
  15281. #
  15282. # North Star Advantage from Lt. Fickie <brl-ibd!fickie> via BRL
  15283. northstar|North Star Advantage, 
  15284.     OTbs, 
  15285.     cols#80, lines#24, 
  15286.     clear=\004$<200/>, 
  15287.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1/>, ed=\017$<200/>, 
  15288.     el=\016$<200/>, home=\034\032$<200/>, 
  15289.  
  15290. #### Osborne
  15291. #
  15292. # Thu Jul  7 03:55:16 1983
  15293. #    
  15294. # As an aside, be careful; it may sound like an anomaly on the 
  15295. # Osborne, but with the 80-column upgrade, it's too easy to 
  15296. # enter lines >80 columns!
  15297. #    
  15298. # I've already had several comments...
  15299. # The Osborne-1 with the 80-col option is capable of being 
  15300. # 52, 80, or 104 characters wide; default to 80 for compatibility 
  15301. # with most systems.
  15302. #    
  15303. # The tab is destructive on the Ozzie; make sure to 'stty -tabs'.
  15304. osborne-w|osborne1-w|osborne I in 104-column mode, 
  15305.     msgr, ul, xt, 
  15306.     cols#104, lines#24, 
  15307.     bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  15308.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  15309.     dl1=\ER, el=\ET, ich1=\EQ, il1=\EE, ind=^J, kcub1=^H, kcud1=^J, 
  15310.     kcuf1=^L, kcuu1=^K, rmso=\E(, rmul=\Em, smso=\E), smul=\El, 
  15311. # Osborne I    from ptsfa!rhc (Robert Cohen) via BRL
  15312. osborne|osborne1|osborne I in 80-column mode, 
  15313.     OTbs, am, mir, msgr, ul, xhp, 
  15314.     OTdB#4, cols#80, lines#24, 
  15315.     clear=^Z, cub1=\010$<4>, cud1=^J, cuf1=^L, 
  15316.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, 
  15317.     dch1=\EW$<4/>, dl1=\ER, el=\ET, il1=\EE, is2=^Z, kbs=^H, 
  15318.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmir=, rmso=\E), 
  15319.     rmul=\Em, smir=\EQ, smso=\E(, smul=\El, 
  15320. #
  15321. # Osborne Executive definition from BRL
  15322. # Similar to tvi920
  15323. # Added by David Milligan and Tom Smith (SMU)
  15324. osexec|Osborne executive, 
  15325.     OTbs, am, 
  15326.     OTug#1, cols#80, lines#24, xmc#1, 
  15327.     OTnl=^J, bel=^G, clear=^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  15328.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  15329.     dl1=\ER, ed=\EY, el=\ET, home=^^, hts=\E1, ich1=\EQ, il1=\EE, 
  15330.     is2=\Eq\Ek\Em\EA\Ex0, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, 
  15331.     kcuu1=^K, kf0=^A@\r, kf1=^AA\r, kf2=^AB\r, kf3=^AC\r, 
  15332.     kf4=^AD\r, kf5=^AE\r, kf6=^AF\r, kf7=^AG\r, kf8=^AH\r, 
  15333.     kf9=^AI\r, rmir=, rmso=\Ek, rmul=\Em, smir=, smso=\Ej, 
  15334.     smul=\El, tbc=\E3, 
  15335.  
  15336. #### Console types for obsolete UNIX clones
  15337. #
  15338. # Coherent, Minix, Venix, and several lesser-known kin were OSs for 8088
  15339. # machines that tried to emulate the UNIX look'n'feel.  Coherent and Venix
  15340. # were commercial, Minix an educational tool sold in conjunction with a book.
  15341. # Memory-segmentation limits and a strong tendency to look like V7 long after
  15342. # it was obsolete made all three pretty lame.  Venix croaked early.  Coherent
  15343. # and Minix were ported to 32-bit Intel boxes, only to be run over by a
  15344. # steamroller named `Linux' (which, to be fair, traces some lineage to Minix). 
  15345. # Coherent's vendor, the Mark Williams Company, went belly-up in 1994.  There
  15346. # are also, I'm told, Minix ports that ran on Amiga and Atari machines and
  15347. # even as single processes under SunOS and the Macintosh OS.
  15348. #
  15349.  
  15350. # This is the entry provided with minix 1.7.4, with bogus :ri: removed.
  15351. minix|minix console (v1.7), 
  15352.     am, xenl, 
  15353.     cols#80, it#8, lines#25, 
  15354.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
  15355.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  15356.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  15357.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  15358.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
  15359.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  15360.     is2=\E[0m, kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  15361.     kcuu1=\E[A, kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, 
  15362.     kf5=\E[G, khome=\E[H, lf0=End, lf1=PgUp, lf2=PgDn, lf3=Num +, 
  15363.     lf4=Num -, lf5=Num 5, nel=^M^J, rev=\E[7m, ri=\EM, 
  15364.     rmso=\E[0m, rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
  15365. # Corrected Jan 14, 1997 by Vincent Broman <broman@nosc.mil>
  15366. minix-old|minix console (v1.5), 
  15367.     xon, 
  15368.     cols#80, it#8, lines#25, 
  15369.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[0J, cr=^M, 
  15370.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  15371.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  15372.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  15373.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[0J, el=\E[K, home=\E[H, ht=^I, 
  15374.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  15375.     kbs=^H, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, 
  15376.     kf0=\E[Y, kf1=\E[V, kf2=\E[U, kf3=\E[T, kf4=\E[S, kf5=\E[G, 
  15377.     khome=\E[H, nel=^M^J, rev=\E[7m, ri=\EM, rmso=\E[0m, 
  15378.     rmul=\E[0m, sgr0=\E[0m, smso=\E[7m, smul=\E[4m, 
  15379. # The linewrap option can be specified by editing /usr/include/minix/config.h
  15380. # before recompiling the minix 1.5 kernel.
  15381. minix-old-am|minix console with linewrap, 
  15382.     am, use=minix-old, 
  15383.  
  15384. pc-minix|minix console on an Intel box, 
  15385.     use=klone+acs, use=minix, 
  15386.  
  15387. # According to the Coherent 2.3 manual, the PC console is similar
  15388. # to a z19. The differences seem to be (1) 25 lines, (2) no status
  15389. # line, (3) standout is broken, (4) ins/del line is broken, (5)
  15390. # has blinking and bold.
  15391. pc-coherent|pcz19|coherent|IBM PC console running Coherent, 
  15392.     am, mir, 
  15393.     cols#80, it#8, lines#25, 
  15394.     bel=^G, clear=\EE, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  15395.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EN, 
  15396.     ed=\EJ, el=\EK, home=\EH, ht=^I, ind=^J, kbs=^H, kcub1=\ED, 
  15397.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, ri=\EI, rmir=\EO, 
  15398.     rmso=\Eq, sgr0=\Eq, smir=\E@, smso=\Ep, 
  15399.  
  15400. # According to the Venix 1.1 manual, the PC console is similar
  15401. # to a DEC vt52.  Differences seem to be (1) arrow keys send 
  15402. # different strings, (2) enhanced standout, (3) added insert/delete line.
  15403. # Note in particular that it doesn't have automatic margins.
  15404. # There are other keys (f1-f10, kpp, knp, kcbt, kich1, kdch1) but they
  15405. # not described here because this derives from an old termcap entry.
  15406. pc-venix|venix|IBM PC console running Venix, 
  15407.     cols#80, it#8, lines#25, 
  15408.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  15409.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  15410.     ed=\EJ, el=\EK, ht=^I, il1=\EL, ind=^J, kbs=^H, kcub1=\EK, 
  15411.     kcud1=\EP, kcuf1=\EM, kcuu1=\EH, khome=\EG, ri=\EI, 
  15412.  
  15413. #### Miscellaneous microcomputer consoles
  15414. #
  15415. # If you know anything more about any of these, please tell me.
  15416. #
  15417.  
  15418. # The MAI Basic Four computer was obsolete at the end of the 1980s.
  15419. # It may be used as a terminal by putting it in "line" mode as seen on 
  15420. # one of the status lines.
  15421. # Initialization is similar to CIT80. <is2> will set ANSI mode for you.  
  15422. # Hardware tabs set by <if> at 8-spacing.  Auto line wrap causes glitches so
  15423. # wrap mode is reset by <cvvis>.  Using <ind>=\E[S caused errors so I 
  15424. # used \ED instead.
  15425. # From: bf347@lafn.org (David Lawyer), 28 Jun 1997
  15426. mai|basic4|MAI Basic Four in ansi mode, 
  15427.     am, da, db, mir, msgr, 
  15428.     cols#82, it#8, lines#25, 
  15429.     bel=^G, blink=\E[5m, bold=\E[1m, clear=^]^_, cnorm=\E[?7h, 
  15430.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=^X, 
  15431.     cup=\E[%i%p1%d;%p2%dH, cuu1=^Z, cvvis=\E[?7l, dch1=\E[1P, 
  15432.     dl1=\E[M, ed=^_, el=^^, home=^], ht=^I, 
  15433.     if=/usr/share/tabset/vt100, il1=\E[L, ind=\ED, 
  15434.     is2=\E>\E[?1h\E[?7h\E[?5l\017\E(B\E[m\E[20l\E[1;24r\E[24;1H, 
  15435.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  15436.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, 
  15437.     kf7=\EOV, kf8=\EOW, nel=^M\ED, rc=\E8, rev=\E[7m, ri=\E[T, 
  15438.     rmir=\E[4l, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, 
  15439.     smir=\E[4h, smso=\E[7m, smul=\E[4m, 
  15440. # basis from Peter Harrison, Computer Graphics Lab, San Francisco
  15441. #   ucbvax!ucsfmis!harrison ...uucp / ucbvax!ucsfmis!harrison@BERKELEY ...ARPA
  15442. #
  15443. # On Sat, 7 Aug 1999, Torsten Jerzembeck <toje@nightingale.ms.sub.org> wrote:
  15444. # The Basis 108 was a Apple II clone, manufactured by the "Basis
  15445. # Mikrocomputer GmbH" in Munster, Germany (the company still exists today,  
  15446. # about 1,5 km from where I live, but doesn't build own computers any
  15447. # more). A Basis 108 featured a really heavy (cast aluminium?) case, was
  15448. # equipped with one or two 5.25" disk drives, had a monochrome and colour
  15449. # video output for a TV set or a dedicated monitor and several slots for
  15450. # Apple II cards. Basis 108 were quite popular at german schools before
  15451. # the advent of the IBM PC. They run, for example, the UCSD Pascal
  15452. # development system (which I used even in 1993 to program the steering
  15453. # and data recording for our school's experimental solar panel :), Apple DOS
  15454. # or CP/M.
  15455. # (basis: removed obsolete ":ma=^K^P^R^L^L :nl=5000*^J:" -- esr)
  15456. basis|BASIS108 computer with terminal translation table active, 
  15457.     clear=\E*$<300/>, cud1=\n$<5000/>, ed=\EY, el=\ET, kbs=^H, 
  15458.     kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, rmso=\E), sgr0=\E), 
  15459.     smso=\E(, use=adm3a, 
  15460. # luna's BMC terminal emulator
  15461. luna|luna68k|LUNA68K Bitmap console, 
  15462.     cols#88, lines#46, use=ansi-mini, 
  15463. megatek|pegasus workstation terminal emulator, 
  15464.     am, os, 
  15465.     cols#83, lines#60, 
  15466. # The Xerox 820 was a Z80 micro with a snazzy XEROX PARC-derived 
  15467. # interface (pre-Macintosh by several years) that went nowhere.
  15468. xerox820|x820|Xerox 820, 
  15469.     am, 
  15470.     cols#80, lines#24, 
  15471.     bel=^G, clear=1^Z, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  15472.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^Q, el=^X, 
  15473.     home=^^, ind=^J, 
  15474.  
  15475. #### Videotex and teletext
  15476. #
  15477.  
  15478. # \E\:1}    switch to te'le'informatique mode (ascii terminal/ISO 6429)
  15479. # \E[?3l    80 columns
  15480. # \E[?4l    scrolling on
  15481. # \E[12h    local echo off
  15482. # \Ec        reset: G0 U.S. charset (to get #,@,{,},...), 80 cols, clear screen
  15483. # \E)0        G1 DEC set (line graphics)
  15484. #
  15485. # From: Igor Tamitegama <igor@ppp1493-ft.teaser.fr>, 18 Jan 1997
  15486. m2-nam|minitel|minitel-2|minitel-2-nam|France Telecom Minitel 2 mode te'le'informatique, 
  15487.     OTbs, eslok, hs, xenl, 
  15488.     cols#80, it#8, lines#24, wsl#72, xmc#0, 
  15489.     acsc=aaffggjjkkllmmnnooqqssttuuvvwwxx, bel=^G, 
  15490.     blink=\E[5m, bold=\E[1m, civis=\E[<1h, clear=\E[H\E[J, 
  15491.     cnorm=\E[<1l, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  15492.     cub=\E[%p1%dD, cub1=\E[D, cud=\E[%p1%dB, cud1=\E[B, 
  15493.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  15494.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  15495.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, flash=^G, fsl=^J, 
  15496.     home=\E[H, ht=^I, il=\E[%p1%dL, il1=\E[L, ind=^J, ip=$<7/>, 
  15497.     is1=\E\:1}\Ec\E[?4l\E[12h, is2=\Ec\E[12h\E)0, 
  15498.     is3=\E[?3l kbs=\010, kclr=\E[2J, kcub1=\E[D, kcud1=\E[B, 
  15499.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, kf0=\EOp, 
  15500.     kf1=\EOq, kf10=\EOp, kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, 
  15501.     kf6=\EOv, kf7=\EOw, kf8=\EOx, kf9=\EOy, khome=\E[H, 
  15502.     kich1=\E[4h, kil1=\E[4l, knp=\EOn, kpp=\EOR, ll=\E[24;80H, 
  15503.     mc0=\E[i, nel=^M^J, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, 
  15504.     rmir=\E[4l, rmso=\E[27m, rmul=\E[24m, 
  15505.     rs1=\Ec\E[?4l\E[12h, rs2=\Ec\E)0, sc=\E7, sgr0=\E[m, 
  15506.     smacs=^N, smir=\E[4h, smso=\E[7m, smul=\E[4m, tsl=^_@A, 
  15507.     u6=\E[%i%d;%dR, u7=\E[6n, 
  15508.  
  15509. # From: Alexandre Montaron <canal@mygale.org>, 18 Jun 1998
  15510. #
  15511. minitel1|minitel 1, 
  15512.     am, bw, eslok, hs, hz, msgr, 
  15513.     colors#8, cols#40, lines#24, pairs#8, 
  15514.     acsc=+.\,\,./f0g1, bel=^G, blink=\EH, civis=^T, clear=^L, 
  15515.     cnorm=^Q, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  15516.     cup=\037%p1%{65}%+%c%p2%{65}%+%c, cuu1=^K, el=^X, 
  15517.     enacs=^Y, fsl=^J, home=^^, ind=^J, 
  15518.     is2=\E;`ZQ\E\:iC\E\:iE\021, nel=^M^J, op=\EG, 
  15519.     rep=%p1%c\022%p2%{63}%+%c, rev=\E], ri=^K, rmso=\E\\, 
  15520.     setf=\E%?%p1%{1}%=%tD%e%p1%{3}%=%tF%e%p1%{4}%=%tA%e%p1%{6}%=%tC%e%p1%{64}%+%c%;, 
  15521.     sgr=%?%p1%t\E]%;%?%p3%t\E]%;%?%p4%t\EH%;, 
  15522.     sgr0=\EI\E\\, smso=\E], tsl=\037@%p1%{65}%+%c, 
  15523. # is2=Fnct TE, Fnct MR, Fnct CM et pour finir: curseur ON.
  15524. minitel1b|minitel 1-bistandard (in 40cols mode), 
  15525.     mir, 
  15526.     cub=\E[%p1%dD, cud=\E[%p1%dB, cuf=\E[%p1%dC, 
  15527.     cuu=\E[%p1%dA, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  15528.     dl1=\E[M, ed=\E[J, el1=\E[1K, il=\E[%p1%dL, il1=\E[L, 
  15529.     is1=\E;iYA\E;jYC, kclr=\E[2J, kctab=^I, kcub1=\E[D, 
  15530.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
  15531.     kel=^X, khome=\E[H, kich1=\E[4h, kil1=\E[L, rmir=\E[4l, 
  15532.     smir=\E[4h, smkx=\E;iYA\E;jYC, use=minitel1, 
  15533. # <rmkx> posait des problemes (logout en sortant de vi).
  15534. minitel1b-80|minitel 1-bistandard (standard teleinformatique), 
  15535.     am@, bw@, hz@, 
  15536.     colors@, cols#80, it#8, pairs@, 
  15537.     blink=\E[5m, bold=\E[1m, civis=\037@A\024\n, 
  15538.     clear=\E[H\E[2J, cnorm=\037@A\021\n, cuf1=\E[C, 
  15539.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  15540.     ht=^I, ind=\ED, is1@, is2@, kent=\EOM, kf0=\EOp, kf1=\EOq, 
  15541.     kf2=\EOr, kf3=\EOs, kf4=\EOt, kf5=\EOu, kf6=\EOv, kf7=\EOw, 
  15542.     kf8=\EOx, kf9=\EOy, nel=\EE, op@, rc=\E8, rep@, rev=\E[7m, 
  15543.     ri=\EM, rmkx@, rmso=\E[27m, rmul=\E[24m, sc=\E7, setf@, 
  15544.     sgr=\E[%?%p1%t7;%;%?%p2%t4;%;%?%p3%t7;%;%?%p4%t5;%;%?%p6%t1;%;m, 
  15545.     sgr0=\E[m, smkx@, smso=\E[7m, smul=\E[4m, use=minitel1b, 
  15546.  
  15547. ######## OBSOLETE VDT TYPES
  15548. #
  15549. # These terminals are *long* dead -- these entries are retained for
  15550. # historical interest only.
  15551.  
  15552. #### Amtek Business Machines
  15553. #
  15554.  
  15555. # (abm80: early versions of this entry apparently had ":se=\E^_:so=\E^Y",
  15556. # but these caps were commented out in 8.3; also, removed overridden
  15557. # ":do=^J:" -- esr)
  15558. abm80|amtek business machines 80, 
  15559.     OTbs, am, bw, 
  15560.     cols#80, lines#24, 
  15561.     cbt=^T, clear=\E^\, cub1=^H, cud1=\E^K, cuf1=^P, 
  15562.     cup=\E\021%p2%{32}%+%c%p1%{32}%+%c, cuu1=\E^L, 
  15563.     dl1=\E^S, ed=\E^X, el=\E^O, home=\E^R, il1=\E^Z, 
  15564.  
  15565. #### Bell Labs blit terminals
  15566. #
  15567. # These were AT&T's official entries.  The 5620 FAQ maintained by 
  15568. # David Breneman <daveb@dgtl.com> has this to say:
  15569. #
  15570. #  Actually, in the beginning was the Jerq, and the Jerq was white with a
  15571. #  green face, and Locanthi and Pike looked upon the Jerq and said the Jerq
  15572. #  was good.  But lo, upon the horizon loomed a mighty management-type person
  15573. #  (known now only by the initials VP) who said, the mighty Jerq must stay
  15574. #  alone, and could not go forth into the world. So Locanthi and Pike put the
  15575. #  Jerq to sleep, cloned its parts, and the Blit was brought forth unto the
  15576. #  world. And the Jerq lived the rest of its days in research, but never
  15577. #  strayed from those paths.
  15578. #
  15579. #  In all seriousness, the Blit was originally known as the Jerq, but when
  15580. #  it started to be shown outside of the halls of the Bell Labs Research
  15581. #  organization, the management powers that be decided that the name could
  15582. #  not remain. So it was renamed to be Blit. This was in late 1981.
  15583. #
  15584. # (The AT&T 5620 was the commercialized Blit.  Its successors were the 630,
  15585. # 730, and 730+.)
  15586. #
  15587.  
  15588. blit|jerq|blit running teletype rom, 
  15589.     am, eo, ul, xon, 
  15590.     cols#87, it#8, lines#72, 
  15591.     bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
  15592.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, 
  15593.     dch=\Ee%p1%{32}%+%c, dch1=\Ee!, dl=\EE%p1%{32}%+%c, 
  15594.     dl1=\EE!, el=\EK, ht=^I, ich=\Ef%p1%{32}%+%c, ich1=\Ef!, 
  15595.     il=\EF%p1%{32}%+%c, il1=\EF!, ind=^J, kbs=^H, kcub1=\ED, 
  15596.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf1=\Ex, kf2=\Ey, kf3=\Ez, 
  15597.  
  15598. # (cbblit: here's a BSD termcap that says <cud1=\EG> -- esr)
  15599. cbblit|fixterm|blit running columbus code, 
  15600.     cols#88, 
  15601.     ed=\EJ, flash=\E^G, ich1@, mc4=^T, mc5=^R, mc5p=\EP%p1%03d, 
  15602.     rmir=\ER, rmso=\EV!, rmul=\EV", smir=\EQ, smso=\EU!, 
  15603.     smul=\EU", use=blit, 
  15604.  
  15605. oblit|ojerq|first version of blit rom, 
  15606.     am, da, db, eo, mir, ul, xon, 
  15607.     cols#88, it#8, lines#72, 
  15608.     bel=^G, clear=^L, cr=^M, cub1=\ED, cud1=^J, cuf1=\EC, 
  15609.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\EO, 
  15610.     dl=\Ee%p1%{32}%+%c, dl1=\EE, ed=\EJ, el=\EK, flash=\E^G, 
  15611.     ht=^I, il=\Ef%p1%{32}%+%c, il1=\EF, ind=^J, kbs=^H, rmir=\ER, 
  15612.     smir=\EQ, 
  15613.  
  15614. #### Bolt, Beranek & Newman (bbn)
  15615. #
  15616. # The BitGraph was a product of the now-defunct BBN Computer Corporation.
  15617. # The parent company, best known as the architects of the Internet, is
  15618. # still around.
  15619. #
  15620. # Jeff DelPapa <dp@world.std.com> writes:
  15621. # The bitgraph was a large white box that contained a monochrome bitmap
  15622. # display, and a 68000 to run it.  You could download code and run it on
  15623. # the cpu, it had 128kb (I think) of memory.  I used one in the late
  15624. # 70's, sure beat a vt100.  It had one strange feature tho -- it used
  15625. # the cpu to bitblt pixels to scroll, it took longer than the refresh
  15626. # rate, and looked like a rubber sheet stretching, then snapping
  15627. # upwards.  It had everything the early mac had, except a floppy drive a
  15628. # small screen (it had a 17" crisp beauty) and a real OS. They (Bolt
  15629. # Beranek and Neuman) sold at most a few hundred of them to the real
  15630. # world.  DOD may have bought more...
  15631.  
  15632. # Entries for the BitGraph terminals.  The problem 
  15633. # with scrolling in vi can only be fixed by getting BBN to put 
  15634. # smarter scroll logic in the terminal or changing vi or padding 
  15635. # scrolls with about 500 ms delay.
  15636. #    
  15637. # I always thought the problem was related to the terminal 
  15638. # counting newlines in its input buffer before scrolling and 
  15639. # then moving the screen that much. Then vi comes along and 
  15640. # paints lines in on the bottom line of the screen, so you get 
  15641. # this big white gap.
  15642.  
  15643. bitgraph|bg2.0nv|bg3.10nv|bbn bitgraph 2.0 or later (normal video), 
  15644.     flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
  15645.     use=bg2.0, 
  15646. bg2.0rv|bg3.10rv|bbn bitgraph 2.0 (reverse video), 
  15647.     flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
  15648.     use=bg2.0, 
  15649. bg2.0|bg3.10|bbn bitgraph 2.0 or later (no init), 
  15650.     OTbs, xenl, 
  15651.     cols#85, lines#64, 
  15652.     bel=^G, clear=\E[H\E[J$<150>, cr=^M, 
  15653.     csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  15654.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, dl1=\E[M$<2*>, 
  15655.     ed=\E[J$<150>, el=\E[K$<2>, ht=^I, il1=\E[L$<2*>, 
  15656.     ind=\n$<280>, kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, 
  15657.     kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, lf1=PF1, 
  15658.     lf2=PF2, lf3=PF3, lf4=PF4, rc=\E8, rmkx=\E>, rmso=\E[m, sc=\E7, 
  15659.     sgr0=\E[m, smkx=\E=, smso=\E[7m, 
  15660.  
  15661. bg1.25rv|bbn bitgraph 1.25 (reverse video), 
  15662.     flash=\E[?5l$<200/>\E[?5h, is2=\E>\E[?5h\E[?7h, 
  15663.     use=bg1.25, 
  15664. bg1.25nv|bbn bitgraph 1.25 (normal video), 
  15665.     flash=\E[?5h$<200/>\E[?5l, is2=\E>\E[?5l\E[?7h, 
  15666.     use=bg1.25, 
  15667. # (bg1.25: I added <rmam>/<smam> based on the init string -- esr)
  15668. bg1.25|bbn bitgraph 1.25, 
  15669.     cols#85, lines#64, 
  15670.     bel=^G, clear=\E[H\E[J$<150>, cr=^M, cub1=^H, cud1=\E[B, 
  15671.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, 
  15672.     dl1=\E[M$<2*>, ed=\E[J$<150>, el=\E[K$<2>, ht=^I, 
  15673.     il1=\E[L$<2*>, ind=\n$<280>, kcub1=\ED, kcud1=\EB, 
  15674.     kcuf1=\EC, kcuu1=\EA, kf1=\EP, kf2=\EQ, kf3=\ER, kf4=\ES, 
  15675.     lf1=PF1, lf2=PF2, lf3=PF3, lf4=PF4, ll=\E[64;1H, rmam=\E[?7l, 
  15676.     rmkx=\E>, rmso=\E[m, sgr0=\E[m, smam=\E[?7h, smkx=\E=, 
  15677.     smso=\E[7m, 
  15678.  
  15679. #### Bull (bq, dku, vip)
  15680. #
  15681. # (Adapted for terminfo; AIX extension capabilities translated -- esr)
  15682.  
  15683. #============================================#
  15684. # BULL QUESTAR 210 `SDP' terminals emulation #
  15685. #============================================#
  15686. #
  15687. # Description written by R.K.Saunders (Bull Transac)
  15688. #
  15689. # Modifications written by F. Girard (Bull MTS)
  15690. #        19-05-87 V02.00.01
  15691. #        17-12-87 V02.00.02
  15692. #        15-09-89 V02.00.05
  15693. #
  15694. #    Typical technical selections F1 (modes SDP/ROLL):
  15695. # -------------------------------------------------------
  15696. # |   01   02   03   04   05   06   07   08   09   10   |
  15697. # |  1010 0011 1010 0110 0110 0001 0100 0000 0000 0000  |
  15698. # |                                                     |
  15699. # |   11   12   13   14   15   16   17   18   19   20   |
  15700. # |  0000 0110 100? 0000 0000 0000 0001 0000 0000 0001  |
  15701. # |                                                     |
  15702. # |   21   22   23   24   25   26   27   28   29   30   |
  15703. # |  0011 0000 0001 1000 0000 0000 0000 0000 0000 0000  |
  15704. # |                                                     |
  15705. # |   31   32   33   34   35   36   37   38   39   40   |
  15706. # |  1010 0011 0000 0000 0000 0000 0000 0000 0000 0000  |
  15707. # -------------------------------------------------------
  15708. #    Typical firmware identification F5 "etat 6":
  15709. #  P287.02.04b    (AZERTY)
  15710. #  P297.11.04    (24-pin: 2732)    or P798.11.04    (28-pin: 2764)
  15711. #  P298.03.03    (monochrome)    or P374.03.02    (colour)
  15712. #
  15713. #    SM SDP mode (VIP command):    ^[[?=h
  15714. #    RIS (erases screen):        ^[c
  15715. #    DMI disable keyboard:        ^[`
  15716. #    SM double rendition mode:    ^[[?>h
  15717. #    RM solicited status mode:    ^[[5l
  15718. #    RM character mode:        ^[[>l
  15719. #    RM echoplex mode:        ^[[12l
  15720. #    RM column tab mode:        ^[[18l
  15721. #    RM forbid SS2 keyboard mode:    ^[[?<l
  15722. #    SM scroll mode:            ^[[=h
  15723. #    FCF enable XON/XOFF:        ^[P1s^[\
  15724. #    MTL select end msg character:    ^[[^Wp
  15725. #    EMI enable keyboard:        ^[b
  15726. #    RIS retour etat initial:    ^[c
  15727. #    enable FC keypad:        ^[[?<h,
  15728. #    MPW map status line window:    ^[PY99:98^[\
  15729. #    SCP select status line:        ^[[0;98v
  15730. #    ED erase entire partition:    ^[[2J
  15731. #    SCP select main partition:    ^[[v
  15732. #    SM character insertion mode:    ^[[4h
  15733. #    RM character replacement mode:    ^[[4l
  15734. #    COO cursor on:            ^[[r
  15735. #    COO cursor off:            ^[[1r
  15736. #    SGR dim (turquoise) rev attr:    ^[[2;7m
  15737. #    SGR Data normal attr:        ^[[m
  15738. #    SO Line-graphic mode ON:    ^N
  15739. #    SI Line-graphic mode OFF:    ^O
  15740. #    MC start routing to printer:    ^[[5i
  15741. #    MC stop routing to printer:    ^M^[[4i
  15742. #
  15743.  
  15744. # This entry covers the following terminals:
  15745. # dku7102, tws2102, and tws models 2105 to 2112
  15746. tws-generic|dku7102|Bull Questar tws terminals, 
  15747.     am, eslok, hs, mir, msgr, xenl, xhp@, xon, 
  15748.     cols#80, it#8, lines#24, wsl#80, 
  15749.     acsc=``aaffggj)k\,l&m#n/ooppq*rrsst'u-v+w.x%yyzz{{||}}~~, 
  15750.     bel=^G, blink=\E[0;5m, cbt=\E[Z, civis=\E[1r, clear=\E[2J, 
  15751.     cnorm=\E[r, cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, 
  15752.     cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%df, 
  15753.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  15754.     dim=\E[0;2m, dl=\E[%p1%dM, dl1=\E[M, 
  15755.     dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[v, ed=\E[J, el=\E[K, 
  15756.     fsl=\E[v, home=\E[H, ht=\E[I, hts=\EH, il=\E[%p1%dL, 
  15757.     il1=\E[L, ind=^J, invis=\E[0;8m, 
  15758.     is1=\E[?=h\Ec\E`\E[?>h\EPY99\:98\E\\, 
  15759.     is2=\E[5;>;12;18;?<l\E[=h\EP1s\E\\\E[\027p, 
  15760.     is3=\Eb\E[?<h, kbs=^H, kcbt=\E[Z, kctab=\E[g, kcub1=\E[D, 
  15761.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kdl1=\E[M, 
  15762.     ked=\E[J, kel=\E[K, kf1=\E[1u\027, kf2=\E[2u\027, 
  15763.     kf3=\E[3u\027, kf4=\E[4u\027, kf5=\E[5u\027, 
  15764.     kf6=\E[6u\027, kf7=\E[7u\027, kf8=\E[8u\027, khome=\E[H, 
  15765.     khts=\EH, kil1=\E[L, krmir=\E[4l, ll=\E[H\E[A, mc0=\E[0i, 
  15766.     mc4=\r\E[4i, mc5=\E[5i, rev=\E[0;7m, rmacs=^O, 
  15767.     rmcup=\E[0;98v\E[2J\E[v, rmir=\E[4l, rmso=\E[m, 
  15768.     rmul=\E[m, rs2=\E[?=h\Ec, s0ds=^O, s1ds=^N, 
  15769.     sgr=\E[0%?%p1%p3%|%t;7%;%?%p2%t;4%;%?%p4%t;5%;%?%p5%t;2%;%?%p7%t;8%;m%?%p9%t\016%e\017%;, 
  15770.     sgr0=\E[m\017, smacs=^N, smcup=\E[?>h\EPY99\:98\E\\, 
  15771.     smir=\E[4h, smso=\E[0;7m, smul=\E[0;4m, tbc=\E[2g, 
  15772.     tsl=\EPY99\:98\E\\\E[0;98v\E[2;7m, 
  15773. tws2102-sna|dku7102-sna|BULL Questar tws2102 for SNA, 
  15774.     dsl=\E[0;98v\E[2J\E[v, fsl=\E[v, is3=\Eb, tsl=\E[0;98v, 
  15775.     use=tws-generic, 
  15776. tws2103|xdku|BULL Questar tws2103, 
  15777.     ht=^I, use=tws-generic, 
  15778. tws2103-sna|dku7103-sna|BULL Questar tws2103 for SNA, 
  15779.     ht=^I, use=tws2102-sna, 
  15780. dku7102-old|BULL Questar 200 DKU7102 (microcode version < 6), 
  15781.     clear=\E[2J\E[H, cup@, dl@, dl1@, 
  15782.     dsl=\EPY99\:98\E\\\E[0;98v\E[2J\E[H\E[v, el=\E[K\E[m, 
  15783.     il@, il1@, tsl=\EPY99\:98\E\\\E[0;98v\E[H\E[2;7m, 
  15784.     use=tws-generic, 
  15785. dku7202|BULL Questar 200 DKU7202 (colour/character attributes), 
  15786.     blink=\E[0;2;4m, dim=\E[0;5m, ht=^I, is3=\E[?3h\Eb, 
  15787.     smso=\E[0;4;5;7m, smul=\E[0;2m, use=tws-generic, 
  15788.  
  15789. #=========================================================#
  15790. # BULL QUESTAR 303 & 310 `DEC VT 320' terminals emulation #
  15791. #=========================================================#
  15792. #
  15793. # Description written by J. Staerck (BULL SA)
  15794. #       Copyright (c) 1989 BULL SA
  15795. #---------------------------------------------------------------------------
  15796. #  This entry is used for terminals with vt320 emulation mode
  15797. #  and following set-up : 
  15798. #    8 bit ISO Latin Character Set (ISO 8859-1),
  15799. #    7 bit Control Characters, 
  15800. #    80 columns screen.    
  15801. #  Hereafter are some DEC vt terminals' commands. (valid on vt200 and 300)
  15802. #  They are used in string capabilities with vt220-320 emulation mode.
  15803. #  In the following DEC definitions, two kinds of terminfo databases are
  15804. #    provided :
  15805. #    1. the first with Command Sequence Introducer starting with escape 
  15806. #       sequence in 7 bits characters ex. ESC [ : 2 chars. in 7-bit mode.
  15807. #    2. the second with Command Sequence Introducer starting with escape 
  15808. #       sequence in 8 bits characters ex. ESC [ : 1 char. 'CSI' =x9B.
  15809. #    Soft Terminal Reset        esc [ ! p
  15810. #    RIS (erases screen):        esc c
  15811. #    DECKPNM numeric keypad mode:    esc >
  15812. #    DECKPAM applic. keypad mode:    esc =
  15813. #    DECSTBM Scrolling region:    esc [ r
  15814. #    SCS select G0 = US:        esc ( B
  15815. #    SCS select G1 = line-graphic:    esc ) 0
  15816. #    Select 7-bit C1 controls:    esc sp F
  15817. #    Select 8-bit C1 controls:    esc sp G
  15818. #    Select cursor home:        esc [  H
  15819. #    Select erase screen:        esc [  J
  15820. #    SM KAM lock keyboard:        esc [ 2 h
  15821. #    RM KAM unlock keyboard:        esc [ 2 l
  15822. #    SM SRM local echo off:        esc [ 1 2 h
  15823. #    RM SRM local echo on:        esc [ 1 2 l
  15824. #    SM LNM New line :        esc [ 2 0 h
  15825. #    RM LNM return = CR only:    esc [ 2 0 l
  15826. #    SM DECCKM cursor keys mode:    esc [ ? 1 h
  15827. #    RM DECCKM appli. keys mode:    esc [ ? 1 l
  15828. #    SM DECANM ANSI mode on:        esc [ ? 2 h
  15829. #    RM DECANM ANSI mode off:    esc [ ? 2 l
  15830. #    SM DECCOLM 132-column screen:    esc [ ? 3 h
  15831. #    RM DECCOLM 80-column screen:    esc [ ? 3 l
  15832. #    SM DECSCLM Smooth scroll:    esc [ ? 4 h
  15833. #    RM DECSCLM Jump scroll:        esc [ ? 4 l
  15834. #    SM DECSCNM screen light backgr.    esc [ ? 5 h
  15835. #    RM DECSCNM screen dark backgr.    esc [ ? 5 l
  15836. #    SM DECOM move within margins:    esc [ ? 6 h
  15837. #    RM DECOM move outside margins:    esc [ ? 6 l
  15838. #    SM DECAWM auto right margin:    esc [ ? 7 h
  15839. #    RM DECAWM auto right margin:    esc [ ? 7 l
  15840. #    SM DECARM auto repeat:        esc [ ? 8 h
  15841. #    RM DECARM auto repeat:        esc [ ? 8 l
  15842. #    DECSASD Select active main:    esc [ 0 $ } 
  15843. #    DECSASD Select active status:    esc [ 1 $ } 
  15844. #    DECSSDT Select status none:    esc [ 0 $ ~ 
  15845. #    DECSSDT Select status indic.:    esc [ 1 $ ~ 
  15846. #    DECSSDT Select status host-wr:    esc [ 2 $ ~ 
  15847. #    SM DECTCEM Visible cursor:    esc [ ? 2 5 h
  15848. #    RM DECTCEM Invisible cursor:    esc [ ? 2 5 l
  15849. #    SM DECNCRM 7 bits NCR set:    esc [ ? 4 2 h
  15850. #    RM DECNCRM Multi or ISO latin:    esc [ ? 4 2 l
  15851. #    SM DECNKM numeric keypad mode:    esc [ ? 6 6 h
  15852. #    RM DECNKM numeric keypad appl.:    esc [ ? 6 6 l
  15853. #    SM DECKBUM clavier informatique    esc [ ? 6 8 h
  15854. #    RM DECKBUM clavier bureautique:    esc [ ? 6 8 l
  15855. #    DECSCL vt300 mode 8-bit ctrl:    esc [ 6 3 " p
  15856. # or    DECSCL vt300 mode 8-bit ctrl:    esc [ 6 3 ; 0 " p
  15857. # or    DECSCL vt300 mode 8-bit ctrl:    esc [ 6 3 ; 2 " p
  15858. #    DECSCL vt300 mode 7-bit ctrl:    esc [ 6 3 ; 1 " p
  15859. #    Char. and Line attributes:    esc [ Ps ... Ps m
  15860. # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
  15861. # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
  15862. #
  15863.  
  15864. # This entry covers BQ303, BQ306, BQ310, Q303, Q306, Q310
  15865. bq300|Bull vt320 ISO Latin 1 80 columns terminal, 
  15866.     am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
  15867.     cols#80, it#8, lines#24, vt#3, wsl#80, 
  15868.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  15869.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  15870.     clear=\E[H\E[J, cnorm=\E[?25h, cr=^M, 
  15871.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=\E[D, 
  15872.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  15873.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  15874.     cvvis=\E[?25h, dch=\E[%p1%dP, dch1=\E[P, dl=\E[%p1%dM, 
  15875.     dl1=\E[M, dsl=\E[1$}\E[2$~\n\E[0$}, ech=\E[%p1%dX, 
  15876.     ed=\E[J, el=\E[K, el1=\E[1K, enacs=\E(B\E)0, 
  15877.     flash=\E[?5h$<50>\E[?5l, fsl=\E[0$}, home=\E[H, ht=^I, 
  15878.     hts=\EH, ich=\E[%p1%d@, il=\E[%p1%dL, il1=\E[L, ind=\ED, 
  15879.     is1=\E[63;1"p\E[2h, 
  15880.     is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  15881.     is3=\E[0$}\E[?25h\E[2l\E[H\E[J, ka1=\EOw, ka3=\EOy, 
  15882.     kb2=\EOu, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, kcud1=\E[B, 
  15883.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[3~, kf1=\EOP, kf10=\E[21~, 
  15884.     kf11=\E[23~, kf12=\E[24~, kf13=\E[25~, kf14=\E[26~, 
  15885.     kf15=\E[28~, kf16=\E[29~, kf17=\E[31~, kf18=\E[32~, 
  15886.     kf19=\E[33~, kf2=\EOQ, kf20=\E[34~, kf3=\EOR, kf4=\EOS, 
  15887.     kf6=\E[17~, kf7=\E[18~, kf8=\E[19~, kf9=\E[20~, kfnd=\E[1~, 
  15888.     khlp=\E[28~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  15889.     krdo=\E[29~, kslt=\E[4~, lf1=pf1, lf2=pf2, lf3=pf3, lf4=pf4, 
  15890.     mc0=\E[i, mc4=\E[4i, mc5=\E[5i, nel=\EE, rc=\E8, rev=\E[7m, 
  15891.     ri=\EM, rmacs=^O, rmam=\E[?7l, rmcup=\E[?7h, rmir=\E[4l, 
  15892.     rmkx=\E[?1l\E>, rmso=\E[27m, rmul=\E[24m, rs1=\E[!p, 
  15893.     rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
  15894.     sgr=\E[%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;, 
  15895.     sgr0=\E[0m\E(B, smacs=^N, smam=\E[?7h, 
  15896.     smcup=\E[?7l\E[?1l\E(B, smir=\E[4h, smso=\E[7m, 
  15897.     smul=\E[4m, tbc=\E[3g, tsl=\E[1$}\E[2$~, 
  15898. bq300-rv|Bull vt320 reverse 80 columns, 
  15899.     flash=\E[?5l$<50>\E[?5h, 
  15900.     is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  15901.     use=bq300, 
  15902. bq300-w|Bull vt320 132 columns, 
  15903.     cols#132, wsl#132, 
  15904.     is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  15905.     rs2=\E[?3h, use=bq300, 
  15906. bq300-w-rv|Bull vt320 reverse mode 132 columns, 
  15907.     cols#132, wsl#132, 
  15908.     flash=\E[?5l$<50>\E[?5h, 
  15909.     is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  15910.     rs2=\E[?3h, use=bq300, 
  15911.  
  15912. #  This entry is used for terminals with vt320 emulation mode
  15913. #  and following set-up : 
  15914. #    8 bit ISO Latin Character Set (ISO 8859-1),
  15915. #    8 bit Control Characters, (CSI coded as x9B for ESC [)
  15916. #    80 columns screen.    
  15917. #    Soft Terminal Reset        csi ! p
  15918. #    RIS (erases screen):        esc c
  15919. #    DECKPNM numeric keypad mode:    esc >
  15920. #    DECKPAM applic. keypad mode:    esc =
  15921. #    DECSTBM Scrolling region:    esc [ r
  15922. #    SCS select G0 = US:        esc ( B
  15923. #    SCS select G1 = line-graphic:    esc ) 0
  15924. #    Select 7-bit C1 controls:    esc sp F
  15925. #    Select 8-bit C1 controls:    esc sp G
  15926. #    Select cursor home:        csi H
  15927. #    Select erase screen:        csi J
  15928. #    SM KAM lock keyboard:        csi 2 h
  15929. #    RM KAM unlock keyboard:        csi 2 l
  15930. #    SM SRM local echo off:        csi 1 2 h
  15931. #    RM SRM local echo on:        csi 1 2 l
  15932. #    SM LNM New line :        csi 2 0 h
  15933. #    RM LNM return = CR only:    csi 2 0 l
  15934. #    SM DECCKM cursor keys mode:    csi ? 1 h
  15935. #    RM DECCKM appli. keys mode:    csi ? 1 l
  15936. #    SM DECANM ANSI mode on:        csi ? 2 h
  15937. #    RM DECANM ANSI mode off:    csi ? 2 l
  15938. #    SM DECCOLM 132-column screen:    csi ? 3 h
  15939. #    RM DECCOLM 80-column screen:    csi ? 3 l
  15940. #    SM DECSCLM Smooth scroll:    csi ? 4 h
  15941. #    RM DECSCLM Jump scroll:        csi ? 4 l
  15942. #    SM DECSCNM screen light backgr.    csi ? 5 h
  15943. #    RM DECSCNM screen dark backgr.    csi ? 5 l
  15944. #    SM DECOM move within margins:    csi ? 6 h
  15945. #    RM DECOM move outside margins:    csi ? 6 l
  15946. #    SM DECAWM auto right margin:    csi ? 7 h
  15947. #    RM DECAWM auto right margin:    csi ? 7 l
  15948. #    SM DECARM auto repeat:        csi ? 8 h
  15949. #    RM DECARM auto repeat:        csi ? 8 l
  15950. #    DECSASD Select active main:    csi 0 $ } 
  15951. #    DECSASD Select active status:    csi 1 $ } 
  15952. #    DECSSDT Select status none:    csi 0 $ ~ 
  15953. #    DECSSDT Select status indic.:    csi 1 $ ~ 
  15954. #    DECSSDT Select status host-wr:    csi 2 $ ~ 
  15955. #    SM DECTCEM Visible cursor:    csi ? 2 5 h
  15956. #    RM DECTCEM Invisible cursor:    csi ? 2 5 l
  15957. #    SM DECNCRM 7 bits NCR set:    csi ? 4 2 h
  15958. #    RM DECNCRM Multi or ISO latin:    csi ? 4 2 l
  15959. #    DECSCL vt300 mode 8-bit ctrl:    csi 6 3 " p
  15960. # or    DECSCL vt300 mode 8-bit ctrl:    csi 6 3 ; 0 " p
  15961. #    DECSCL vt300 mode 7-bit ctrl:    csi 6 3 ; 1 " p
  15962. #    Char. and Line attributes:    csi Ps ... Ps m
  15963. # with:  0 All off, 1 Bold, 4 Underline, 5 Blinking, 7 Reverse
  15964. # and : 22 Bold off, 24 Underline off, 25 Blinking off, 27 Reverse off
  15965. # (bq300-8: <cub1>,<cuf1>,<cuu1>,<cud1>,<dl1>,<il1> to get under 1024 --esr)
  15966. bq300-8|Bull vt320 full 8 bits 80 columns, 
  15967.     am, eo, eslok, hs, km, mc5i, mir, msgr, xenl, xon, 
  15968.     cols#80, it#8, lines#24, vt#3, wsl#80, 
  15969.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  15970.     bel=^G, blink=\2335m, bold=\2331m, civis=\233?25l, 
  15971.     clear=\233H\233J, cnorm=\233?25h, cr=^M, 
  15972.     csr=\233%i%p1%d;%p2%dr, cub=\233%p1%dD, cud=\233%p1%dB, 
  15973.     cuf=\233%p1%dC, cup=\233%i%p1%d;%p2%dH, cuu=\233%p1%dA, 
  15974.     cvvis=\233?25h, dch=\233%p1%dP, dch1=\233P, 
  15975.     dl=\233%p1%dM, dsl=\2331$}\2332$~\n\2330$}, 
  15976.     ech=\233%p1%dX, ed=\233J, el=\233K, el1=\2331K, 
  15977.     enacs=\E(B\E)0, flash=\233?5h$<50>\233?5l, fsl=\2330$}, 
  15978.     home=\233H, ht=^I, hts=\EH, ich=\233%p1%d@, il=\233%p1%dL, 
  15979.     ind=\ED, is1=\E[63;2"p\E[2h, 
  15980.     is2=\E[?2h\E[?3l\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  15981.     is3=\2330$}\233?25h\2332l\233H\233J, ka1=\217w, 
  15982.     ka3=\217y, kb2=\217u, kbs=^H, kc1=\217q, kc3=\217s, 
  15983.     kcub1=\233D, kcud1=\233B, kcuf1=\233C, kcuu1=\233A, 
  15984.     kdch1=\2333~, kf1=\217P, kf10=\23321~, kf11=\23323~, 
  15985.     kf12=\23324~, kf13=\23325~, kf14=\23326~, kf15=\23328~, 
  15986.     kf16=\23329~, kf17=\23331~, kf18=\23332~, kf19=\23333~, 
  15987.     kf2=\217Q, kf20=\23334~, kf3=\217R, kf4=\217S, kf6=\23317~, 
  15988.     kf7=\23318~, kf8=\23319~, kf9=\23320~, kfnd=\2331~, 
  15989.     khlp=\23328~, kich1=\2332~, knp=\2336~, kpp=\2335~, 
  15990.     krdo=\23329~, kslt=\2334~, lf1=pf1, lf2=pf2, lf3=pf3, 
  15991.     lf4=pf4, mc0=\233i, mc4=\2334i, mc5=\2335i, nel=\EE, rc=\E8, 
  15992.     rev=\2337m, ri=\EM, rmacs=^O, rmam=\233?7l, rmcup=\233?7h, 
  15993.     rmir=\2334l, rmkx=\233?1l\E>, rmso=\23327m, rmul=\23324m, 
  15994.     rs1=\E[!p, rs2=\E[?3l, s0ds=\E(B, s1ds=\E(0, sc=\E7, 
  15995.     sgr=\233%?%p1%t;7%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m%?%p9%t\E(0%e\E(B%;, 
  15996.     sgr0=\2330m\E(B, smacs=^N, smam=\233?7h, 
  15997.     smcup=\233?7l\233?1l\E(B, smir=\2334h, smso=\2337m, 
  15998.     smul=\2334m, tbc=\2333g, tsl=\2331$}\2332$~, 
  15999. bq300-8rv|Bull vt320 8-bit reverse mode 80 columns, 
  16000.     flash=\233?5l$<50>\233?5h, 
  16001.     is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  16002.     use=bq300-8, 
  16003. bq300-8w|Bull vt320 8-bit 132 columns, 
  16004.     cols#132, wsl#132, 
  16005.     is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  16006.     rs2=\233?3h, use=bq300-8, 
  16007. bq300-w-8rv|Bull vt320 8-bit reverse mode 132 columns, 
  16008.     cols#132, wsl#132, 
  16009.     flash=\233?5l$<50>\233?5h, 
  16010.     is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  16011.     rs2=\233?3h, use=bq300-8, 
  16012.  
  16013. #  This entry is used for terminals with vt320 emulation mode
  16014. #  a 102 keys keyboard (PC scancode !) and following set-up : 
  16015. #    8 bit ISO Latin Character Set (ISO 8859-1),
  16016. #    7 bit Control Characters, 
  16017. #    80 columns screen.    
  16018. bq300-pc|Questar 303 with PC keyboard ISO Latin 1 80 columns, 
  16019.     kbs=^H, kdch1=\E[3~, kend=\E[4~, kf1=\E[17~, kf10=\E[28~, 
  16020.     kf11=\E[29~, kf12=\E[31~, kf13@, kf14@, kf15@, kf16@, kf17@, 
  16021.     kf18@, kf19@, kf2=\E[18~, kf20@, kf3=\E[19~, kf4=\E[20~, 
  16022.     kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
  16023.     kfnd@, khlp@, khome=\E[1~, kich1=\E[2~, knp=\E[6~, kpp=\E[5~, 
  16024.     krdo@, kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300, 
  16025. bq300-pc-rv|Questar 303 with PC keyboard reverse mode 80 columns, 
  16026.     flash=\E[?5l$<50>\E[?5h, 
  16027.     is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  16028.     use=bq300-pc, 
  16029. bq300-pc-w|Questar 303 with PC keyboard 132 columns terminal, 
  16030.     cols#132, wsl#132, 
  16031.     is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  16032.     rs2=\E[?3h, use=bq300-pc, 
  16033. bq300-pc-w-rv|Questar 303 with PC keyboard reverse mode 132 columns, 
  16034.     cols#132, wsl#132, 
  16035.     flash=\E[?5l$<50>\E[?5h, 
  16036.     is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E F\E[?42l\E[?4l, 
  16037.     rs2=\E[?3h, use=bq300-pc, 
  16038. #    8 bit ISO Latin Character Set (ISO 8859-1),
  16039. #    8 bit Control Characters, 
  16040. #    80 columns screen.    
  16041. bq300-8-pc|Q306-8-pc|Questar 303 with PC keyboard in full 8 bits 80 columns, 
  16042.     kbs=^H, kdch1=\2333~, kend=\2334~, kf1=\23317~, 
  16043.     kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13@, kf14@, 
  16044.     kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\23318~, kf20@, 
  16045.     kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
  16046.     kf7=\23324~, kf8=\23325~, kf9=\23326~, kfnd@, khlp@, 
  16047.     khome=\2331~, kich1=\2332~, knp=\2336~, kpp=\2335~, krdo@, 
  16048.     kslt@, lf1@, lf2@, lf3@, lf4@, use=bq300-8, 
  16049. bq300-8-pc-rv|Questar 303 with PC keyboard full 8 bits reverse mode 80 columns, 
  16050.     flash=\E[?5l$<50>\E[?5h, 
  16051.     is2=\E[?2h\E[?3l\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  16052.     use=bq300-8-pc, 
  16053. bq300-8-pc-w|Questar 303 with PC keyboard full 8 bits 132 columns, 
  16054.     cols#132, wsl#132, 
  16055.     is2=\E[?2h\E[?3h\E[?5l\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  16056.     rs2=\E[?3h, use=bq300-8-pc, 
  16057. bq300-8-pc-w-rv|Questar 303 with PC keyboard full 8 bits reverse 132 columns, 
  16058.     cols#132, wsl#132, 
  16059.     flash=\E[?5l$<50>\E[?5h, 
  16060.     is2=\E[?2h\E[?3h\E[?5h\E[?7h\E[?8h\E>\E[?1l\E G\E[?42l\E[?4l, 
  16061.     rs2=\E[?3h, use=bq300-8-pc, 
  16062.  
  16063. #======================================================#
  16064. # BULL QUESTAR 310 `VIP 7800/8800' terminals emulation #
  16065. #======================================================#
  16066.  
  16067. # normal mode, 8 bits, 80 columns terminal.
  16068. #    RES reset :            ^[e
  16069. #    RIS reset initial state:    ^[c
  16070. #    BLE bell enable            ^[h
  16071. #    BLD bell disable        ^[g
  16072. #    CAMS char. attr. mode set    ^[[D
  16073. #    CAMR char. attr. mode reset    ^[[G
  16074. #    CLR clear            ^[`
  16075. #    KBU keyboard unlock (set)    ^[[W
  16076. #    KBL keyboard lock (reset)    ^[[X
  16077. #    CM  character mode (async.)     ^[k
  16078. #    NEP non echoplex mode (by host)    ^[l
  16079. #    EP  echoplex mode (by host)     ^[m
  16080. #    IM  insert mode set        ^[[I
  16081. #    IM  insert mode reset         ^[[J
  16082. #    RMS roll mode set         ^[r
  16083. #    RMR roll mode reset         ^[q
  16084. #    SM78 set mode vip7800         ^[[1q
  16085. #    SD  scroll up      (72 lines)     ^[[0s
  16086. #    SD  scroll down    (72 lines)     ^[[1s
  16087. #    RBM block mode reset        ^[[E
  16088. #    SLS status line set         ^[w
  16089. #    SLR status line reset         ^[v
  16090. #    SLL status line lock         ^[O
  16091. #    LGS Line-graphic mode set     ^[G
  16092. #    LGR Line-graphic mode reset     ^[F
  16093. #    TBC tab clear (at cursor pos.)    ^[[g
  16094. #    TBI tab initialize         ^[[N
  16095. #    TBS tab set (at cursor pos.)    ^[p
  16096. #    PDS  print data space        ^[[0p
  16097. #    PHD  print host data         ^[[3p
  16098. #    PDT  print data terminator    ^[[<p
  16099. #    PRES print adapter reset    ^[[2p
  16100. #    SSPR multi-part. reset        ^[[<>u
  16101. #    SSP0 partition 0 set        ^[[00u
  16102. #    SSP1 partition n format 1     ^[[PnPnSTRINGu
  16103. #    SSP2 partition n format 2     ^[[PnPnSTRINGu
  16104. #    SSP3 partition n format 3     ^[[PnPnu
  16105. #    ATR attribute (visual)
  16106. #        blink :            ^[sB
  16107. #        dim :            ^[sL
  16108. #        hide (blank) :        ^[sH
  16109. #        restore :            ^[sR
  16110. #        inverse video :        ^[sI
  16111. #        prot. :            ^[sP
  16112. #        underline :            ^[s_
  16113. #        reset :            ^{
  16114. #
  16115. # This covers the vip7800 and BQ3155-vip7800
  16116. vip|Bull Questar 3155-7800, 
  16117.     am, eslok, hs, km, mc5i, msgr, xenl, xon, 
  16118.     cols#80, it#8, lines#24, vt#3, wsl#80, 
  16119.     acsc=0pjdkblamcnkqitgufvhwexj, bel=^G, blink=\EsB, 
  16120.     cbt=\E[Z, clear=\E`, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  16121.     cup=\E[%i%p1%03d%p2%03df, cuu1=\EA, dch1=\E[P, dim=\EsL, 
  16122.     dl1=\E[M, dsl=\Ev, ed=\EJ, el=\EK, 
  16123.     flash=\007$<80>\007$<80>\007, fsl=\EO, home=\EH, ht=^I, 
  16124.     hts=\Ep, ich1=\E[I, ind=^J, invis=\EsH, 
  16125.     is2=\E[00u\E[<>001001024080024080u\E[01u, 
  16126.     is3=\Er\E[W\E`, kHOM=\EH, kLFT=\Eo, kRIT=\Eu, kbs=^H, 
  16127.     kcbt=\E[Z, kclr=\E`, kctab=\E[g, kcub1=\ED, kcud1=\EB, 
  16128.     kcuf1=\EC, kcuu1=\EA, kdch1=\E[P, kdl1=\E[M, ked=\EJ, 
  16129.     kel=\EK, kf1=\E0, kf10=\ET, kf11=\E\\, kf12=\E\^, kf13@, kf14@, 
  16130.     kf15@, kf16@, kf17@, kf18@, kf19@, kf2=\E2, kf20@, kf21=\E1, 
  16131.     kf22=\E5, kf23=\E7, kf24=\E9, kf25=\E;, kf26=\E=, kf27=\E?, 
  16132.     kf28=\EQ, kf29=\ES, kf3=\E6, kf30=\EV, kf31=\E], kf32=\E_, 
  16133.     kf4=\E8, kf5=\E\:, kf6=\E<, kf7=\E>, kf8=\EP, kf9=\ER, 
  16134.     khome=\EH, khts=\Ep, kich1=\E[I, kil1=\E[L, kind=\E[0s, 
  16135.     kll=\EH\EA, kri=\E[1s, krmir=\E[J, ktbc=\E[N, lf1=pf1, 
  16136.     lf2=pf2, lf3=pf3, lf4=pf4, ll=\EH\EA, mc0=\E[0p, mc4=\E[<p, 
  16137.     mc5=\E[3p, nel=^M, prot=\EsP, rev=\EsI, 
  16138.     ri=\EA\EJ\EH\E[L$<10>, rmacs=\EF, rmir=\E[J, rmso=\EsR, 
  16139.     rmul=\EsR, rs1=\Ec, rs2=\E[G, s0ds=\EF, s1ds=\EG, 
  16140.     sgr0=\EsR\EsU\EF, smacs=\EG, smir=\E[I, smso=\EsI, 
  16141.     smul=\Es_, tbc=\E[N, tsl=\Ew, 
  16142. # normal screen, 8 bits, 132 columns terminal.
  16143. vip-w|vip7800-w|Q310-vip-w|Q310-vip-w-am|Questar 3155-vip7800 wide, 
  16144.     cols#132, wsl#132, 
  16145.     is2=\E[00u\E[<>001001024132024132u\E[01u, use=vip, 
  16146. vip-H|vip7800-H|Q310-vip-H|Q310-vip-H-am|Questar 3155-vip7800 72 lines, 
  16147.     lines#72, 
  16148.     is2=\E[00u\E[<>001001024080072080u\E[01u, use=vip, 
  16149. vip-Hw|vip7800-Hw|Q310-vip-Hw|Questar 3155-vip7800 wide 72 lines, 
  16150.     cols#132, lines#72, wsl#132, 
  16151.     is2=\E[00u\E[<>001001024132072132u\E[01u, use=vip, 
  16152.  
  16153. #### Chromatics
  16154. #
  16155.  
  16156. # I have put the long strings in <smcup>/<rmcup>. Ti sets up a window 
  16157. # that is smaller than the screen, and puts up a warning message 
  16158. # outside the window. Te erases the warning message, puts the 
  16159. # window back to be the whole screen, and puts the cursor at just
  16160. # below the small window. I defined <cnorm> and <civis> to really turn 
  16161. # the cursor on and off, but I have taken this out since I don't 
  16162. # like the cursor being turned off when vi exits.   
  16163. cg7900|chromatics|chromatics 7900, 
  16164.     am, 
  16165.     cols#80, lines#40, 
  16166.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^], 
  16167.     cup=\001M%p2%d\,%p1%d\,, cuu1=^K, dch1=^A<1, dl1=^A<2, 
  16168.     ed=^Al, el=^A`, home=^\, ich1=^A>1, il1=^A>2, ind=^J, ll=^A|, 
  16169.     rmcup=\001W0\,40\,85\,48\,\014\001W0\,0\,85\,48\,\001M0\,40\,, 
  16170.     rmso=\001C1\,\001c2\,, 
  16171.     smcup=\001P0\001O1\001R1\001C4\,\001c0\,\014\001M0\,42\,WARNING DOUBLE ENTER ESCAPE and \025\001C1\,\001c2\,\001W0\,0\,79\,39\,, 
  16172.     smso=\001C4\,\001c7\,, uc=\001\001_\001\0, 
  16173.  
  16174. #### Computer Automation
  16175. #
  16176.  
  16177. ca22851|computer automation 22851, 
  16178.     am, 
  16179.     cols#80, lines#24, 
  16180.     bel=^G, clear=\014$<8>, cr=^M, cub1=^U, cud1=^J, cuf1=^I, 
  16181.     cup=\002%i%p1%c%p2%c, cuu1=^V, ed=^\, el=^], home=^^, ind=^J, 
  16182.     kcub1=^U, kcud1=^W, kcuu1=^V, khome=^^, 
  16183.  
  16184. #### Cybernex
  16185. #
  16186.  
  16187. # This entry has correct padding and the undocumented "ri" capability
  16188. cyb83|xl83|cybernex xl-83, 
  16189.     OTbs, am, 
  16190.     cols#80, lines#24, 
  16191.     bel=^G, clear=\014$<62>, cr=^M, cub1=^H, cud1=^J, cuf1=^I, 
  16192.     cup=\027%p1%{32}%+%c%p2%{32}%+%c, cuu1=^N, 
  16193.     ed=\020$<62>, el=\017$<3>, home=^K, ind=^J, kcub1=^H, 
  16194.     kcud1=^J, kcuf1=^I, kcuu1=^N, ri=^N, 
  16195. # (mdl110: removed obsolete ":ma=^Z^P:" and overridden ":cd=145^NA^W:" -- esr)
  16196. cyb110|mdl110|cybernex mdl-110, 
  16197.     OTbs, am, 
  16198.     cols#80, lines#24, 
  16199.     bel=^G, clear=\030$<70>, cr=^M, cub1=^H, cud1=^J, cuf1=^U, 
  16200.     cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^Z, 
  16201.     dch1=\016A\036$<3.5>, dl1=\016A\016\036$<40>, 
  16202.     ed=\016@\026$<6>, el=\016@\026$<145>, home=^Y, 
  16203.     ht=\011$<43>, ich1=\016A\035$<3.5>, 
  16204.     il1=\016A\016\035$<65>, ind=^J, rmso=^NG, smso=^NF, 
  16205.  
  16206. #### Datapoint
  16207. #
  16208. # Datapoint is gone.  They used to be headquartered in Texas.
  16209. # They created ARCnet, an Ethernet competitor that flourished for a while
  16210. # in the early 1980s before 3COM got wise and cut its prices.  The service
  16211. # side of Datapoint still lives (1995) in the form of Intelogic Trace.
  16212. #
  16213.  
  16214. dp3360|datapoint|datapoint 3360, 
  16215.     OTbs, am, 
  16216.     cols#82, lines#25, 
  16217.     bel=^G, clear=^]^_, cr=^M, cub1=^H, cud1=^J, cuf1=^X, cuu1=^Z, 
  16218.     ed=^_, el=^^, home=^], ind=^J, 
  16219.  
  16220. # From: Jan Willem Stumpel <jw.stumpel@inter.nl.net>, 11 May 1997
  16221. # The Datapoint 8242 Workstation was sold at least between 1985 
  16222. # and 1989. To make the terminal work with this entry, press 
  16223. # CONTROL-INT-INT to take the terminal off-line, and type (opt). 
  16224. # Set the options AUTO ROLL, ROLL DN, and ESC KBD on, and AUTO 
  16225. # CR/LF off. Use control-shift-[] as escape key, control-I as tab, 
  16226. # shift-F1 to shift-F5 as F6 to F10 (unshifted F1 to F5 are in
  16227. # fact unusable because the strings sent by the terminal conflict
  16228. # with other keys).
  16229. # The terminal is capable of displaying "box draw" characters.
  16230. # For each graphic character you must send 2 ESC's (\E\E) followed 
  16231. # by a control character as follows: 
  16232. #         character        meaning
  16233. #         =========        =======
  16234. #         ctrl-E           top tee
  16235. #         ctrl-F           right tee
  16236. #         ctrl-G           bottom tee
  16237. #         ctrl-H           left tee
  16238. #         ctrl-I           cross
  16239. #         ctrl-J           top left corner
  16240. #         ctrl-K           top right corner
  16241. #         ctrl-L           bottom left corner
  16242. #         ctrl-M           bottom right corner
  16243. #         ctrl-N           horizontal line
  16244. #         ctrl-O           vertical line
  16245. # Unfortunately this cannot be fitted into the termcap/terminfo 
  16246. # description scheme. 
  16247. dp8242|datapoint 8242, 
  16248.     msgr, 
  16249.     cols#80, lines#25, 
  16250.     bel=^G, civis=^Y, clear=\025\E\004\027\030, cnorm=^X, 
  16251.     cr=^M, cub1=^H, cud1=^J, 
  16252.     cup=\011%p2%'\0'%+%c%p1%'\0'%+%c, dl1=\E^Z, ed=^W, el=^V, 
  16253.     home=^U, ht=^I, il1=\E^T, ind=^C, 
  16254.     is1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
  16255.     kbs=^H, kcub1=^D, kcud1=^B, kcuf1=^F, kcuu1=^E, kf1=^G\Ee, 
  16256.     kf10=\EK\Ea, kf2=^I\Ed, kf3=^J\Ec, kf4=^J\Eb, kf5=^S\Ea, 
  16257.     kf6=\EO\Ee, kf7=\EN\Ed, kf8=\EM\Ec, kf9=\EL\Eb, nel=^M^J, 
  16258.     rep=\E\023%p1%c%p2%c, ri=^K, rmso=\E^D, rmul=\E^D, 
  16259.     rs1=\E\014\E\016\0\230\0\317\025\027\030\E\004, 
  16260.     smso=\E^E, smul=\E^F, 
  16261.     wind=\E\014\E\016%p1%'\0'%+%c%p2%'\0'%+%c%p3%'\0'%+%c%p4%'\0'%+%c\025, 
  16262.  
  16263. #### DEC terminals (Obsolete types: DECwriter and vt40/42/50)
  16264. #
  16265. # These entries are DEC's official terminfos for its older terminals.
  16266. # Contact Bill Hedberg <hedberg@hannah.enet.dec.com> of Terminal Support
  16267. # Engineering for more information.  Updated terminfos and termcaps 
  16268. # are kept available at ftp://gatekeeper.dec.com/pub/DEC/termcaps.
  16269. #
  16270.  
  16271. gt40|dec gt40, 
  16272.     OTbs, os, 
  16273.     cols#72, lines#30, 
  16274.     bel=^G, cr=^M, cub1=^H, cud1=^J, 
  16275. gt42|dec gt42, 
  16276.     OTbs, os, 
  16277.     cols#72, lines#40, 
  16278.     bel=^G, cr=^M, cub1=^H, cud1=^J, 
  16279. vt50|dec vt50, 
  16280.     OTbs, 
  16281.     cols#80, lines#12, 
  16282.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  16283.     cuu1=\EA, ed=\EJ, el=\EK, ht=^I, ind=^J, 
  16284. vt50h|dec vt50h, 
  16285.     OTbs, 
  16286.     cols#80, lines#12, 
  16287.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  16288.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  16289.     el=\EK, ht=^I, ind=^J, ri=\EI, 
  16290. # (vt61: there's a BSD termcap that claims <dl1=\EPd>, <il1=\EPf.> <kbs=^H>)
  16291. vt61|vt-61|vt61.5|dec vt61, 
  16292.     cols#80, lines#24, 
  16293.     bel=^G, clear=\EH\EJ$<120>, cr=\r$<20>, cub1=^H, cud1=^J, 
  16294.     cuf1=\EC$<20>, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, 
  16295.     cuu1=\EA$<20>, ed=\EJ$<120>, el=\EK$<70>, ht=^I, 
  16296.     ind=\n$<20>, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, 
  16297.     ri=\E$<20>I, 
  16298.  
  16299. # The gigi does standout with red!
  16300. # (gigi: I added <rmam>/<smam> based on the init string, corrected cub1 -- esr)
  16301. gigi|vk100|dec gigi graphics terminal, 
  16302.     OTbs, am, xenl, 
  16303.     cols#84, lines#24, 
  16304.     bel=^G, clear=\E[H\E[2J, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  16305.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  16306.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, ed=\E[J, 
  16307.     el=\E[K, ht=^I, ind=^J, 
  16308.     is2=\E>\E[?3l\E[?4l\E[?5l\E[?20l\E[?7h\E[?8h, 
  16309.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, 
  16310.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, khome=\E[H, ri=\EM, 
  16311.     rmam=\E[?7l, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  16312.     sgr0=\E[m, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7;31m, 
  16313.     smul=\E[4m, 
  16314.  
  16315. # DEC PRO-350 console (VT220-style).  The 350 was DEC's attempt to produce
  16316. # a PC differentiated from the IBM clones.  It was a total, ludicrous,
  16317. # grossly-overpriced failure (among other things, DEC's OS didn't include
  16318. # a format program, so you had to buy pre-formatted floppies from DEC at
  16319. # a hefty premium!).
  16320. pro350|decpro|dec pro console, 
  16321.     OTbs, 
  16322.     cols#80, it#8, lines#24, 
  16323.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  16324.     clear=\EH\EJ, cub1=^H, cud1=\EB, cuf1=\EC, 
  16325.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, ed=\EJ, 
  16326.     el=\EK, home=\EH, ht=^I, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  16327.     kcuu1=\EA, kf0=\EE, kf1=\EF, kf2=\EG, kf3=\EH, kf4=\EI, 
  16328.     kf5=\EJ, kf6=\Ei, kf7=\Ej, khome=\EH, ri=\EI, rmacs=\EG, 
  16329.     rmso=\E^N, rmul=\E^C, smacs=\EF, smso=\E^H, smul=\E^D, 
  16330.  
  16331. dw1|decwriter I, 
  16332.     OTbs, hc, os, 
  16333.     cols#72, 
  16334.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  16335. dw2|decwriter|dw|decwriter II, 
  16336.     OTbs, hc, os, 
  16337.     cols#132, 
  16338.     bel=^G, cr=^M, cub1=^H, cud1=^J, ind=^J, kbs=^H, 
  16339. # \E(B        Use U.S. character set (otherwise # => british pound !)
  16340. # \E[20l    Disable "linefeed newline" mode (else puts \r after \n,\f,\v)
  16341. # \E[w       10 char/in pitch
  16342. # \E[1;132    full width horizontal margins
  16343. # \E[2g        clear all tab stops
  16344. # \E[z        6 lines/in
  16345. # \E[66t    66 lines/page (for \f)
  16346. # \E[1;66r    full vertical page can be printed
  16347. # \E[4g        clear vertical tab stops
  16348. # \E>        disable alternate keypad mode (so it transmits numbers!)
  16349. # \E[%i%p1%du    set tab stop at column %d (origin == 1)
  16350. #        (Full syntax is \E[n;n;n;n;n;...;nu where each 'n' is 
  16351. #        a tab stop)
  16352. #
  16353. #       The dw3 does standout with wide characters.
  16354. #
  16355. dw3|la120|decwriter III, 
  16356.     OTbs, hc, os, 
  16357.     cols#132, 
  16358.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, 
  16359.     is1=\E(B\E[20l\E[w\E[0;132s\E[2g\E[z\E[66t\E[1;66r\E[4g\E>, 
  16360.     is2=\E[9;17;25;33;41;49;57;65;73;81;89;97;105;113;121;129u\r, 
  16361.     kbs=^H, rmso=\E[w, sgr0=\E[w, smso=\E[6w, 
  16362. dw4|decwriter IV, 
  16363.     OTbs, am, hc, os, 
  16364.     cols#132, 
  16365.     bel=^G, cr=^M, cub1=^H, cud1=^J, ht=^I, ind=^J, is2=\Ec, kbs=^H, 
  16366.     kf0=\EOP, kf1=\EOQ, kf2=\EOR, kf3=\EOS, 
  16367.  
  16368. # These aren't official
  16369. ln03|dec ln03 laser printer, 
  16370.     hc, 
  16371.     cols#80, lines#66, 
  16372.     bel=^G, cr=^M, cud1=^J, hd=\EK, ht=^I, hu=\EL, ind=^J, nel=^M^J, 
  16373.     rmso=\E[22m, rmul=\E[24m, sgr0=\E[m, smso=\E[1m, 
  16374.     smul=\E[4m, 
  16375. ln03-w|dec ln03 laser printer 132 cols, 
  16376.     cols#132, 
  16377.     bel=^G, cr=^M, cud1=^J, ht=^I, ind=^J, kbs=^H, kcub1=^H, 
  16378.     kcud1=^J, nel=^M^J, use=ln03, 
  16379.  
  16380. #### Delta Data (dd)
  16381. #
  16382.  
  16383. # Untested. The cup sequence is hairy enough that it probably needs work.
  16384. # The idea is ctrl(O), dd(row), dd(col), where dd(x) is x - 2*(x%16) + '9'.
  16385. # There are BSD-derived termcap entries floating around for this puppy
  16386. # that are *certainly* wrong.
  16387. delta|dd5000|delta data 5000, 
  16388.     OTbs, am, 
  16389.     cols#80, lines#27, 
  16390.     bel=^G, clear=^NR, cub1=^H, cud1=^J, cuf1=^Y, 
  16391.     cup=\017%p1%p1%{16}%m%{2}%*%-%{57}%+%c%p2%p2%{16}%m%{2}%*%-%{57}%+%c, 
  16392.     cuu1=^Z, dch1=^NV, el=^NU, home=^NQ, ind=^J, 
  16393.  
  16394. #### Digital Data Research (ddr)
  16395. #
  16396.  
  16397. # (ddr: I added <rmam>/<smam> based on the init string -- esr)
  16398. ddr|rebus3180|ddr3180|Rebus/DDR 3180 vt100 emulator, 
  16399.     OTbs, am, xenl, 
  16400.     cols#80, it#8, lines#24, vt#3, 
  16401.     blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  16402.     clear=\E[H\E[2J$<50/>, csr=\E[%i%p1%d;%p2%dr, cub1=^H, 
  16403.     cud1=^J, cuf1=\E[C$<2/>, cup=\E[%i%p1%d;%p2%dH$<5/>, 
  16404.     cuu1=\E[A$<2/>, ed=\E[J$<50/>, el=\E[K$<3/>, home=\E[H, 
  16405.     ht=^I, ind=\ED$<5/>, is2=\E[1;24r\E[24;1H, kbs=^H, 
  16406.     kcub1=\E[D, kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, 
  16407.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m$<2/>, 
  16408.     rf=/usr/share/tabset/vt100, ri=\EM$<5/>, rmam=\E[7l, 
  16409.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m$<2/>, 
  16410.     rs1=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sc=\E7, 
  16411.     sgr0=\E[m$<2/>, smam=\E[7l, smkx=\E[?1h\E=, smso=\E[7m, 
  16412.     smul=\E[4m$<2/>, 
  16413.  
  16414. #### Evans & Sutherland
  16415. #
  16416.  
  16417. # Jon Leech <leech@cs.unc.edu> tells us:
  16418. # The ps300 was the Evans & Sutherland Picture System 300, a high
  16419. # performance 3D vector graphics system with a bunch of specialized hardware.
  16420. # Approximate date of release was 1982 (early 80s, anyway), and it had several
  16421. # evolutions including (limited) color versions such as the PS330C. PS300s
  16422. # were effectively obsolete by the late 80s, replaced by raster graphics
  16423. # systems, although specialized applications like molecular modelling
  16424. # hung onto them for a while longer.  AFAIK all E&S vector graphics systems
  16425. # are out of production, though of course E&S is very much alive (in 1996).
  16426. # (ps300: changed ":pt@:" to "it@" -- esr)
  16427. #
  16428. ps300|Picture System 300, 
  16429.     xt, 
  16430.     it@, 
  16431.     rmso@, rmul@, smso@, smul@, use=vt100, 
  16432.  
  16433. #### General Electric (ge)
  16434. #
  16435.  
  16436. terminet1200|terminet300|tn1200|tn300|terminet|GE terminet 1200, 
  16437.     OTbs, hc, os, 
  16438.     cols#120, 
  16439.     bel=^G, cr=^M, cud1=^J, ind=^J, 
  16440.  
  16441. #### Heathkit/Zenith
  16442. #
  16443.  
  16444. # Here is a description of the H19 DIP switches:
  16445. #
  16446. # S401
  16447. # 0-3 = baud rate as follows:
  16448. #         3       2       1       0
  16449. #    ---    ---    ---    --- 
  16450. #         0       0       1       1       300 baud
  16451. #         0       1       0       1       1200 baud
  16452. #         1       0       0       0       2400 baud
  16453. #         1       0       1       0       4800 baud
  16454. #         1       1       0       0       9600 baud
  16455. #         1       1       0       1       19.2K baud
  16456. # 4 = parity (0 = no parity)
  16457. # 5 = even parity (0 = odd parity)
  16458. # 6 = stick parity (0 = normal parity)
  16459. # 7 = full duplex (0 = half duplex)
  16460. # S402 
  16461. # 0 = block cursor (0 = underscore cursor)
  16462. # 1 = no key click (0 = keyclick)
  16463. # 2 = wrap at end of line (0 = no wrap)
  16464. # 3 = auto LF on CR (0 = no LF on CR)
  16465. # 4 = auto CR on LF (0 = no CR on LF)
  16466. # 5 = ANSI mode (0 = VT52 mode)
  16467. # 6 = keypad shifted (0 = keypad unshifted)
  16468. # 7 = 50Hz refresh (1 = 60Hz refresh)
  16469. # Factory Default settings are as follows:
  16470. #          7 6 5 4 3 2 1 0
  16471. # S401     1 0 0 0 1 1 0 0
  16472. # S402     0 0 0 0 0 0 0 0
  16473. # (h19: I added <rmam>/<smam> based on the init string;
  16474. # also added empty <acsc> to suppress a tic warning -- esr)
  16475. h19-a|h19a|heath-ansi|heathkit-a|heathkit h19 ansi mode, 
  16476.     OTbs, am, mir, msgr, 
  16477.     cols#80, it#8, lines#24, 
  16478.     acsc=, bel=^G, clear=\E[2J, cnorm=\E[>4l, cr=^M, cub1=^H, 
  16479.     cud1=\E[1B, cuf1=\E[1C, cup=\E[%i%p1%d;%p2%dH, 
  16480.     cuu1=\E[1A, cvvis=\E[>4h, dch1=\E[1P, dl1=\E[1M$<1*>, 
  16481.     ed=\E[J, el=\E[K, home=\E[H, ht=^I, il1=\E[1L$<1*>, ind=^J, 
  16482.     is2=\E<\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m\E[?7h, 
  16483.     kbs=^H, kcub1=\E[1D, kcud1=\E[1B, kcuf1=\E[1C, kcuu1=\E[1A, 
  16484.     kf1=\EOS, kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, 
  16485.     kf7=\EOQ, kf8=\EOR, khome=\E[H, lf6=blue, lf7=red, lf8=white, 
  16486.     ri=\EM, rmacs=\E[11m, rmam=\E[?7l, rmir=\E[4l, rmso=\E[m, 
  16487.     smacs=\E[10m, smam=\E[?7h, smir=\E[4h, smso=\E[7m, 
  16488. h19-bs|heathkit w/keypad shifted, 
  16489.     rmkx=\Eu, smkx=\Et, use=h19-b, 
  16490. h19-us|h19us|h19-smul|heathkit w/keypad shifted/underscore cursor, 
  16491.     rmkx=\Eu, smkx=\Et, use=h19-u, 
  16492. # (h19: merged in <ip> from BSDI hp19-e entry>;
  16493. # also added empty <acsc> to suppress a tic warning --esr)
  16494. # From: Tim Pierce <twp@skepsis.com>, 23 Feb 1998 
  16495. # Tim tells us that:
  16496. # I have an old Zenith-19 terminal at home that still gets a lot of use.
  16497. # This terminal suffers from the same famous insert-mode padding lossage
  16498. # that has been acknowledged for the Z29 terminal.  Emacs is nearly
  16499. # unusable on this box, since even a half-scroll up or down the window
  16500. # causes flaming terminal death.
  16501. #   
  16502. # On the Z19, the only way I have found around this problem is to remove
  16503. # the :al: and :dl: entries entirely.  No amount of extra padding will
  16504. # help (I have tried up to 20000).  Removing <il1=\EL$> and <dl1=\EM$>
  16505. # makes Emacs a little slower, but it remains in the land of the living.
  16506. # Big win.
  16507. h19|heath|h19-b|heathkit|heath-19|z19|zenith|heathkit h19, 
  16508.     OTbs, am, eslok, hs, mir, msgr, 
  16509.     cols#80, it#8, lines#24, 
  16510.     acsc=, bel=^G, clear=\EE, cnorm=\Ey4, cr=^M, cub1=^H, cud1=\EB, 
  16511.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  16512.     cvvis=\Ex4, dch1=\EN, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, 
  16513.     ht=^I, ind=^J, ip=<1.5/>, kbs=^H, kcub1=\ED, kcud1=\EB, 
  16514.     kcuf1=\EC, kcuu1=\EA, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  16515.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, khome=\EH, lf6=blue, 
  16516.     lf7=red, lf8=white, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
  16517.     smacs=\EF, smir=\E@, smso=\Ep, 
  16518.     tsl=\Ej\Ex5\EY8%p1%{32}%+%c\Eo\Eo, 
  16519. h19-u|heathkit with underscore cursor, 
  16520.     cnorm@, cvvis@, use=h19-b, 
  16521. h19-g|h19g|heathkit w/block cursor, 
  16522.     cnorm=\Ex4, use=h19-b, 
  16523. alto-h19|altoh19|altoheath|alto-heath|alto emulating heathkit h19, 
  16524.     lines#60, 
  16525.     dl1=\EM, il1=\EL, use=h19, 
  16526.  
  16527. # The major problem with the Z29 is that it requires more padding than the Z19.
  16528. #
  16529. # The problem with declaring an H19 to be synonymous with a Z29 is that
  16530. # it needs more padding. It especially loses if a program attempts
  16531. # to put the Z29 into insert mode and insert text at 9600 baud. It
  16532. # even loses worse if the program attempts to insert tabs at 9600
  16533. # baud. Adding padding to text that is inserted loses because in 
  16534. # order to make the Z29 not die, one must add so much padding that
  16535. # whenever the program tries to use insert mode, the effective 
  16536. # rate is about 110 baud.
  16537. # What program would want to put the terminal into insert mode 
  16538. # and shove stuff at it at 9600 baud you ask?  
  16539. # Emacs. Emacs seems to want to do the mathematically optimal 
  16540. # thing in doing a redisplay rather than the practical thing.
  16541. # When it is about to output a line on top of a line that is 
  16542. # already on the screen, instead of just killing to the end of 
  16543. # the line and outputting the new line, it compares the old line 
  16544. # and the new line and if there are any similarities, it 
  16545. # constructs the new line by deleting the text on the old line 
  16546. # on the terminal that is already there and then inserting new
  16547. # text into the line to transform it into the new line that is 
  16548. # to be displayed. The Z29 does not react kindly to this.
  16549. # But don't cry for too long.... There is a solution. You can make
  16550. # a termcap entry for the Z29 that says the Z29 has no insert mode.
  16551. # Then Emacs cannot use it. "Oh, no, but now inserting into a 
  16552. # line will be really slow", you say. Well there is a sort of a
  16553. # solution to that too. There is an insert character option on 
  16554. # the Z29 that will insert one character. Unfortunately, it 
  16555. # involves putting the terminal into ansi mode, inserting the 
  16556. # character, and changing it back to H19 mode. All this takes 12 
  16557. # characters. Pretty expensive to insert one character, but it 
  16558. # works. Either Emacs doesn't try to use its inserting hack when 
  16559. # it's only given an insert character ability or the Z29 doesn't 
  16560. # require padding with this (the former is probably more likely, 
  16561. # but I haven't checked it out).
  16562. # (z29: added empty <acsc> to suppress a tic warning, merged in
  16563. # status line capabilities from BRL entry --esr)
  16564. z29|zenith29|z29b|zenith z29b, 
  16565.     OTbs, OTpt, am, eslok, hs, mir, msgr, 
  16566.     OTkn#10, cols#80, lines#24, 
  16567.     OTbc=\ED, acsc=, bel=^G, cbt=\E-, clear=\EE$<14>, cnorm=\Ey4, 
  16568.     cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  16569.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\E$<1>A, 
  16570.     cvvis=\Ex4, dch1=\EN$<0.1*>, dl1=\EM$<1/>, dsl=\Ey1, 
  16571.     ed=\EJ$<14>, el=\EK$<1>, fsl=\Ek\Ey5, home=\EH, ht=^I, 
  16572.     ich1=\E<\E[1@\E[?2h$<1>, il1=\EL$<1/>, ind=\n$<2>, 
  16573.     is2=\E<\E[?2h\Ev, kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  16574.     kcuu1=\EA, kf0=\E~, kf1=\ES, kf2=\ET, kf3=\EU, kf4=\EV, 
  16575.     kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, kf9=\E0I, khome=\EH, 
  16576.     lf0=home, ri=\EI$<2/>, rmacs=\EF, rmir=\EO, rmso=\Eq, 
  16577.     rmul=\Es0, smacs=\EG, smir=\E@, smso=\Ep, smul=\Es8, 
  16578.     tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
  16579. # z29 in ansi mode. Assumes that the cursor is in the correct state, and that
  16580. # the world is stable. <rs1> causes the terminal to be reset to the state
  16581. # indicated by the name. kc -> key click, nkc -> no key click, uc -> underscore
  16582. # cursor, bc -> block cursor.
  16583. # From: Mike Meyers
  16584. # (z29a: replaced nonexistent <if=/usr/share/tabset/zenith29> befause <hts>
  16585. # looks vt100-compatible -- esr)
  16586. z29a|z29a-kc-bc|h29a-kc-bc|heath/zenith 29 in ansi mode, 
  16587.     OTbs, OTpt, am, eslok, hs, mir, msgr, 
  16588.     OTkn#10, cols#80, it#8, lines#24, 
  16589.     OTbc=\ED, bel=^G, blink=\E[5m, bold=\E[2m, clear=\E[2J, 
  16590.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  16591.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C, 
  16592.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  16593.     dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
  16594.     dsl=\E[>1l, ed=\E[J, el=\E[K, fsl=\E[u\E[>5l, home=\E[H, 
  16595.     ht=^I, hts=\EH, if=/usr/share/tabset/vt100, il=\E[%p1%dL, 
  16596.     ind=\ED, kbs=^H, kclr=\E[J, kcub1=\EOD, kcud1=\EOB, 
  16597.     kcuf1=\EOC, kcuu1=\EOA, ked=\E[J, kf0=\E[~, kf1=\EOS, 
  16598.     kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
  16599.     kf8=\EOR, kf9=\EOX, khome=\E[H, lf0=help, mc0=\E#7, 
  16600.     nel=^M\ED, rc=\E[r, rev=\E[7m, ri=\EM, rmcup=\E[?7h, 
  16601.     rmso=\E[m, rmul=\E[m, 
  16602.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>4h\E[>1;2;3;5;6;7;8;9l\E[m\E[11m, 
  16603.     sc=\E[s, sgr0=\E[m, smcup=\E[?7l, smso=\E[7;2m, smul=\E[4m, 
  16604.     tbc=\E[3g, tsl=\E[s\E[>5;1h\E[25;%i%dH\E[1K, 
  16605. z29a-kc-uc|h29a-kc-uc|z29 ansi mode with keyckick and underscore cursor, 
  16606.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>1;2;3;4;5;6;7;8;9l\E[m\E[11m, 
  16607.     use=z29a, 
  16608. z29a-nkc-bc|h29a-nkc-bc|z29 ansi mode with block cursor and no keyclick, 
  16609.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2;4h\E[>1;3;5;6;7;8;9l\E[m\E[11m, 
  16610.     use=z29a, 
  16611. z29a-nkc-uc|h29a-nkc-uc|z29 ansi mode with underscore cursor and no keyclick, 
  16612.     rs1=\E<\E[1;24r\E[24;1H\E[?7h\E[>2h\E[>1;3;4;5;6;7;8;9l\E[m\E[11m, 
  16613.     use=z29a, 
  16614. # From: Jeff Bartig <jeffb@dont.doit.wisc.edu> 31 Mar 1995
  16615. z39-a|z39a|zenith39-a|zenith39-ansi|Zenith 39 in ANSI mode, 
  16616.     am, eslok, hs, mc5i, mir, msgr, xon, 
  16617.     cols#80, lines#24, 
  16618.     acsc=0a``aaffggjjkkllmmnnooqqssttuuvvwwxx~~, bel=^G, 
  16619.     blink=\E[5m, bold=\E[1m, cbt=\E[1Z, civis=\E[>5h, 
  16620.     clear=\E[2J\E[H, cnorm=\E[>5l, cr=^M, 
  16621.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  16622.     cud=\E[%p1%dB, cud1=\E[B, cuf=\E[%p1%dC, cuf1=\E[C, 
  16623.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\E[A, 
  16624.     dch=\E[%p1%dP, dch1=\E[1P, dim=\E[2m, dl=\E[%p1%dM, 
  16625.     dl1=\E[1M, dsl=\E[>1l, ed=\E[0J, el=\E[0K, el1=\E[1K, 
  16626.     fsl=\E[u, home=\E[H, ht=^I, hts=\EH, il=\E[%p1%dL, il1=\E[1L, 
  16627.     ind=^J, is2=\E<\E[>1;3;5;6;7l\E[0m\E[2J, ka1=\EOw, 
  16628.     ka3=\EOu, kb2=\EOy, kbs=^H, kc1=\EOq, kc3=\EOs, kcub1=\E[D, 
  16629.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, ked=\E[J, kf1=\EOS, 
  16630.     kf2=\EOT, kf3=\EOU, kf4=\EOV, kf5=\EOW, kf6=\EOP, kf7=\EOQ, 
  16631.     kf8=\EOR, kf9=\EOX, khlp=\E[~, khome=\E[H, ll=\E[24;1H, 
  16632.     mc0=\E[?19h\E[i, mc4=\E[4i, mc5=\E[5i, rc=\E[u, rev=\E[7m, 
  16633.     rmacs=\E(B, rmir=\E[4l, rmkx=\E[>7l, rmso=\E[0m, 
  16634.     rmul=\E[0m, rs2=\E<\Ec\0, sc=\E[s, sgr0=\E[0m, smacs=\E(0, 
  16635.     smir=\E[4h, smkx=\E[>7h, smso=\E[7m, smul=\E[4m, tbc=\E[3g, 
  16636.     tsl=\E[s\E[>1h\E[25;%i%p1%dH, 
  16637.  
  16638. # From: Brad Brahms <Brahms@USC-ECLC>
  16639. z100|h100|z110|z-100|h-100|heath/zenith z-100 pc with color monitor, 
  16640.     cnorm=\Ey4\Em70, cvvis=\Ex4\Em71, use=z100bw, 
  16641. # (z100bw: removed obsolete ":kn#10:", added empty <acsc> -- esr)
  16642. z100bw|h100bw|z110bw|z-100bw|h-100bw|heath/zenith z-100 pc, 
  16643.     OTbs, OTpt, mir, msgr, 
  16644.     OTkn#10, cols#80, it#8, lines#24, 
  16645.     acsc=, clear=\EE$<5*/>, cnorm=\Ey4, cub1=^H, cud1=\EB, 
  16646.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<1*/>, 
  16647.     cuu1=\EA, cvvis=\Ex4, dch1=\EN$<1*/>, dl1=\EM$<5*/>, 
  16648.     ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL$<5*/>, kbs=^H, 
  16649.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\EJ, kf1=\ES, 
  16650.     kf2=\ET, kf3=\EU, kf4=\EV, kf5=\EW, kf6=\EP, kf7=\EQ, kf8=\ER, 
  16651.     kf9=\EOI, khome=\EH, ri=\EI, rmacs=\EG, rmir=\EO, rmso=\Eq, 
  16652.     smacs=\EF, smir=\E@, smso=\Ep, 
  16653. p19|h19-b with il1/dl1, 
  16654.     dl1=\EM$<2*/>, il1=\EL$<2*/>, use=h19-b, 
  16655. # From: <ucscc!B.fiatlux@ucbvax.berkeley.edu>
  16656. # (ztx: removed duplicate :sr: -- esr)
  16657. ztx|ztx11|zt-1|htx11|ztx-1-a|ztx-10 or 11, 
  16658.     OTbs, am, eslok, hs, 
  16659.     cols#80, it#8, lines#24, 
  16660.     clear=\EE, cub1=^H, cud1=^J, cuf1=\EC, 
  16661.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dl1=\EM, 
  16662.     dsl=\Ey1, ed=\EJ, el=\EK, fsl=\Ek\Ey5, home=\EH, ht=^I, 
  16663.     il1=\EL, is2=\Ej\EH\Eq\Ek\Ev\Ey1\Ey5\EG\Ey8\Ey9\Ey>, 
  16664.     kbs=^H, kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kf0=\ES, 
  16665.     kf1=\EB, kf2=\EU, kf3=\EV, kf4=\EW, kf5=\EP, kf6=\EQ, kf7=\ER, 
  16666.     ri=\EI, rmso=\Eq, rmul=\Eq, smso=\Es5, smul=\Es2, 
  16667.     tsl=\Ej\Ex5\Ex1\EY8%+ \Eo, 
  16668.  
  16669. #### IMS International (ims)
  16670. #
  16671. # There was a company called IMS International located in Carson City, 
  16672. # Nevada, that flourished from the mid-70s to mid-80s.  They made S-100
  16673. # bus/Z80 hardware and a line of terminals called Ultimas.  
  16674. #
  16675.  
  16676. # From: Erik Fair <fair@ucbarpa.berkeley.edu>  Sun Oct 27 07:21:05 1985
  16677. ims950-b|bare ims950 no init string, 
  16678.     is2@, use=ims950, 
  16679. # (ims950: removed obsolete ":ko@:" -- esr)
  16680. ims950|ims televideo 950 emulation, 
  16681.     xenl@, 
  16682.     flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
  16683.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950, 
  16684. # (ims950-rv: removed obsolete ":ko@:" -- esr)
  16685. ims950-rv|ims tvi950 rev video, 
  16686.     xenl@, 
  16687.     flash@, kbs@, kcub1@, kcud1@, kcuf1@, kcuu1@, kf0@, kf1@, kf2@, kf3@, 
  16688.     kf4@, kf5@, kf6@, kf7@, kf8@, kf9@, khome@, use=tvi950-rv, 
  16689. ims-ansi|ultima2|ultimaII|IMS Ultima II, 
  16690.     OTbs, am, 
  16691.     cols#80, it#8, lines#24, 
  16692.     clear=\E[H\E[2J, cub1=^H, cud1=\ED, 
  16693.     cup=\E[%i%p1%2d;%p2%2dH, cuu1=\EM, ed=\E[0J, el=\E[0K, 
  16694.     ht=^I, if=/usr/share/tabset/vt100, 
  16695.     is2=\E[m\E[>14l\E[?1;?5;20l\E>\E[1m\r, kcub1=\E[D, 
  16696.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, khome=\E[H, ri=\EM, 
  16697.     rmso=\E[m\E[1m, rmul=\E[m\E[1m, sgr0=\E[m, smso=\E[7m, 
  16698.     smul=\E[4m, 
  16699.  
  16700. #### Intertec Data Systems
  16701. #
  16702. # I think this company is long dead as of 1995.  They made an early CP/M
  16703. # micro called the "Intertec Superbrain" that was moderately popular,
  16704. # then sank out of sight.
  16705. #
  16706.  
  16707. superbrain|intertec superbrain, 
  16708.     OTbs, am, bw, 
  16709.     cols#80, lines#24, 
  16710.     OTbc=^U, bel=^G, clear=\014$<5*>, cr=^M, cub1=^H, cud1=^J, 
  16711.     cuf1=^F, cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<20>, cuu1=^K, 
  16712.     ed=\E~k<10*>, el=\E~K$<15>, ht=^I, ind=^J, kcub1=^U, 
  16713.     kcud1=^J, kcuf1=^F, kcuu1=^K, rmcup=^L, smcup=^L, 
  16714. # (intertube: a Gould entry via BRL asserted smul=\E0@$<200/>, 
  16715. # rmul=\E0A$<200/>; my guess is the highlight letter is bit-coded like an ADM,
  16716. # and the reverse is actually true.  Try it. -- esr)
  16717. intertube|intertec|Intertec InterTube, 
  16718.     OTbs, am, 
  16719.     cols#80, lines#25, 
  16720.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^F, 
  16721.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<50>, cuu1=^Z, home=^A, 
  16722.     ind=^J, rmso=\E0@, smso=\E0P, 
  16723. # The intertube 2 has the "full duplex" problem like the tek 4025: if you
  16724. # are typing and a command comes in, the keystrokes you type get interspersed
  16725. # with the command and it messes up
  16726. intertube2|intertec data systems intertube 2, 
  16727.     OTbs, 
  16728.     cup=\016%p1%c\020%p2%{10}%/%{16}%*%p2%{10}%m%+%c, 
  16729.     el=\EK, hpa=\020%p1%{10}%/%{16}%*%p1%{10}%m%+%c, 
  16730.     ll=^K^X\r, vpa=\013%p1%c, use=intertube, 
  16731.  
  16732. #### Ithaca Intersystems
  16733. #
  16734. # This company made S100-bus personal computers long ago in the pre-IBM-PC
  16735. # past.  They used to be reachable at:
  16736. #
  16737. #    Ithaca Intersystems
  16738. #    1650 Hanshaw Road
  16739. #    Ithaca, New York 14850
  16740. #
  16741. # However, the outfit went bankrupt years ago.
  16742. #
  16743.  
  16744. # The Graphos III was a color graphics terminal from Ithaca Intersystems.
  16745. # These entries were written (originally in termcap syntax) by Brian Yandell 
  16746. # <yandell@stat.wisc.edu> and Mike Meyer <mikem@stat.wisc.edu> at the 
  16747. # University of Wisconsin.
  16748.  
  16749. # (graphos: removed obsolete and syntactically incorrect :kn=4:, 
  16750. # removed <if=/usr/share/tabset/init.graphos> and 
  16751. # <rf=/usr/share/tabset/init.graphos> no such file & no <hts> -- esr)
  16752. graphos|graphos III, 
  16753.     am, mir, 
  16754.     cols#80, it#8, lines#24, 
  16755.     clear=\E[H\E[2J, cnorm=\Ez56;2;0;0z\Ez73z\Ez4;1;1z, 
  16756.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=\E[B, 
  16757.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  16758.     cuu=\E[%p1%dA, cuu1=\E[A, 
  16759.     cvvis=\Ez4;2;1z\Ez56;2;80;24z, dch1=\E[P, dl=\E[%p1%dM, 
  16760.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, il=\E[%p1%dL, 
  16761.     il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  16762.     kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, kf3=\EOR, 
  16763.     kf4=\EOS, khome=\E[H, nel=^M\ED, rc=\E8, ri=\EM, rmdc=\E[4l, 
  16764.     rmir=\E[4l, rmso=\E[m, sc=\E7, sgr0=\E[m, smdc=\E[4h, 
  16765.     smir=\E[4h, smso=\E[7m, 
  16766. graphos-30|graphos III with 30 lines, 
  16767.     lines#30, 
  16768.     cvvis=\Ez4;2;1z\Ez56;2;80;30z, use=graphos, 
  16769.  
  16770. #### Modgraph
  16771. #
  16772. # These people used to be reachable at:
  16773. #
  16774. #    Modgraph, Inc
  16775. #    1393 Main Street,
  16776. #    Waltham, MA 02154
  16777. #    Vox: (617)-890-5796.
  16778. #
  16779. # However, if you call that number today you'll get an insurance company.
  16780. # I have mail from "Michael Berman, V.P. Sales, Modgraph" dated 
  16781. # 26 Feb 1997 that says:
  16782. #
  16783. # Modgraph GX-1000, replaced by GX-2000.  Both are out of production, have been
  16784. # for ~7 years.  Modgraph still in business.  Products are rugged laptop and
  16785. # portable PC's and specialized CRT and LCD monitors (rugged, rack-mount
  16786. # panel-mount etc).  I can be emailed at sonfour@aol.com
  16787. #
  16788. # Peter D. Smith <pdsmith@nbbn.com> notes that his modgraph manual was
  16789. # dated 1984.  According to the manual, it featured Tek 4010/4014
  16790. # graphics and DEC VT100/VT52 + ADM-3A emulation with a VT220-style keyboard.
  16791. #
  16792.  
  16793. modgraph|mod24|modgraph terminal emulating vt100, 
  16794.     xenl@, 
  16795.     cols#80, lines#24, 
  16796.     cvvis=\E\^9;0s\E\^7;1s, 
  16797.     is2=\E\^9;0s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s, 
  16798.     rf@, ri=\EM\E[K$<5/>, use=vt100, 
  16799. # The GX-1000 manual is dated 1984.  This looks rather like a VT-52.
  16800. modgraph2|modgraph gx-1000 80x24 with keypad not enabled, 
  16801.     am, da, db, 
  16802.     cols#80, it#8, lines#24, 
  16803.     clear=\EH\EJ$<50/>, cub1=^H, cuf1=\EC$<2/>, 
  16804.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c$<5/>, cuu1=\EA$<2/>, 
  16805.     ed=\EJ$<50/>, el=\EK$<3/>, ht=^I, 
  16806.     is2=\E<\E\^5;2s\E\^7;1s\E[3g\E\^11;9s\E\^11;17s\E\^11;25s\E\^11;33s\E\^11;41s\E\^11;49s\E\^11;57s\E\^11;65s\E\^11;73s\E\^11;81s\E\^11;89s\E\^12;0s\E\^14;2s\E\^15;9s\E\^25;1s\E\^9;1s\E\^27;1, 
  16807.     ri=\EI$<5/>, 
  16808. #
  16809. # Modgraph from Nancy L. Cider <nancyc@brl-tbd>
  16810. # BUG NOTE from Barbara E. Ringers <barb@brl-tbd>:
  16811. # If we set TERM=vt100, and set the Modgraph screen to 24 lines, setting a
  16812. # mark and using delete-to-killbuffer work correctly.  However, we would
  16813. # like normal mode of operation to be using a Modgraph with 48 line setting.
  16814. # If we set TERM=mod (which is a valid entry in termcap with 48 lines)
  16815. # the setting mark and delete-to-killbuffer results in the deletion of only
  16816. # the line the mark is set on.
  16817. # We've discovered that the delete-to-killbuffer works correctly
  16818. # with TERM=mod and screen set to 80x48 but it's not obvious.  Only
  16819. # the first line disappears but a ctrl-l shows that it did work
  16820. # correctly.
  16821. modgraph48|mod|Modgraph w/48 lines, 
  16822.     OTbs, OTpt, am, xenl, 
  16823.     cols#80, it#8, lines#48, vt#3, 
  16824.     OTnl=^J, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[;H\E[2J, 
  16825.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=^J, cuf1=\E[C, 
  16826.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, ed=\E[J, el=\E[K, 
  16827.     flash=\E[?5h\E[0q\E[1;2q\E[?5l\E[0q\E[4;3q, 
  16828.     home=\E[H, ht=^I, is2=\E<\E[1;48r\E[0q\E[3;4q\E=\E[?1h, 
  16829.     kbs=^H, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, 
  16830.     kf1=\EOP, kf2=\EOQ, kf3=\EOR, kf4=\EOS, rc=\E8, rev=\E[7m, 
  16831.     ri=\EM, rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  16832.     rs1=\E=\E[0q\E>, sc=\E7, sgr0=\E[m, smkx=\E[?1h\E=, 
  16833.     smso=\E[7m, smul=\E[4m, 
  16834.  
  16835. #### Morrow Designs
  16836. # This was George Morrow's company.  They started in the late 1970s making
  16837. # S100-bus machines.  They used to be reachable at:
  16838. #
  16839. #        Morrow
  16840. #        600 McCormick St.
  16841. #        San Leandro, CA 94577
  16842. #
  16843. # but they're long gone now (1995).
  16844. #
  16845.  
  16846. # The mt70 terminal was shipped with the Morrow MD-3 microcomputer. 
  16847. # Jeff's specimen was dated June 1984.
  16848. # From: Jeff Wieland <wieland@acn.purdue.edu> 24 Feb 1995
  16849. mt70|mt-70|Morrow MD-70; native Morrow mode, 
  16850.     am, mir, msgr, xon, 
  16851.     cols#80, it#8, lines#24, 
  16852.     acsc=+z\,{-x.yOi`|jGkFlEmDnHqJtLuKvNwMxI, bel=^G, 
  16853.     cbt=\EI, civis=\E"0, clear=^Z, cnorm=\E"2, cr=^M, cub1=^H, 
  16854.     cud1=^J, cuf1=^L, cup=\E=%p1%{32}%+%c%p2%{32}%+%c$<1>, 
  16855.     cuu1=^K, dch1=\EW, dim=\EG2, dl1=\ER, ed=\EY, el=\ET$<10>, 
  16856.     flash=\EK1$<200>\EK0, home=^^, ht=^I, ich1=\EQ, il1=\EE, 
  16857.     ind=^J, invis@, is1=\E"2\EG0\E], kbs=^H, kcbt=^A^Z\r, 
  16858.     kclr=^An\r, kcub1=^AL\r, kcud1=^AK\r, kcuf1=^AM\r, 
  16859.     kcuu1=^AJ\r, kdch1=\177, kf1=^A@\r, kf10=^AI\r, kf11=^A`\r, 
  16860.     kf12=^Aa\r, kf13=^Ab\r, kf14=^Ac\r, kf15=^Ad\r, kf16=^Ae\r, 
  16861.     kf17=^Af\r, kf18=^Ag\r, kf19=^Ah\r, kf2=^AA\r, kf20=^Ai\r, 
  16862.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  16863.     kf8=^AG\r, kf9=^AH\r, khlp=^AO\r, khome=^AN\r, nel=^_, 
  16864.     rmacs=\E%%, rmcup=, smacs=\E$, smcup=\E"2\EG0\E], 
  16865.     smul=\EG1, tbc=\E0, use=adm+sgr, 
  16866.  
  16867. #### Motorola
  16868. #
  16869.  
  16870. # Motorola EXORterm 155    from {decvax, ihnp4}!philabs!sbcs!megad!seth via BRL
  16871. # (Seth H Zirin)
  16872. ex155|Motorola Exorterm 155, 
  16873.     OTbs, am, bw, 
  16874.     OTkn#5, OTug#1, cols#80, lines#24, 
  16875.     cbt=\E[, clear=\EX, cud1=\EB, cuf1=\ED, 
  16876.     cup=\EE%p1%{32}%+%c%p2%{32}%+%c, ed=\ET, el=\EU, 
  16877.     home=\E@, ht=\EZ, kbs=^H, kcbt=\E[, kclr=\EX, kcub1=^H, 
  16878.     kcud1=^J, kcuf1=^L, kcuu1=^K, ked=\ET, kel=\EU, khome=\E@, 
  16879.     rmso=\Ec\ED, rmul=\Eg\ED, smso=\Eb\ED, smul=\Ef\ED, 
  16880.  
  16881. #### Omron
  16882. #
  16883. # This company is still around in 1995, manufacturing point-of-sale systems.
  16884.  
  16885. omron|Omron 8025AG, 
  16886.     OTbs, am, da, db, 
  16887.     cols#80, lines#24, 
  16888.     bel=^G, clear=\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, cuu1=\EA, 
  16889.     cvvis=\EN, dch1=\EP, dl1=\EM, ed=\ER, el=\EK, home=\EH, 
  16890.     il1=\EL, ind=\ES, ri=\ET, rmso=\E4, smso=\Ef, 
  16891.  
  16892. #### Ramtek
  16893. #
  16894. # Ramtek was a vendor of high-end graphics terminals around 1979-1983; they
  16895. # were competition for things like the Tektronics 4025.
  16896. #
  16897.  
  16898. # Ramtek 6221 from BRL, probably by Doug Gwyn
  16899. # The following SET-UP modes are assumed for normal operation:
  16900. #    UNDERLINE_CURSOR    ANSI_MODE    AUTO_XON/XOFF_ON
  16901. #    NEWLINE_OFF        80_COLUMNS
  16902. # Other SET-UP modes may be set for operator convenience or communication
  16903. # requirements; I recommend
  16904. #    SMOOTH_SCROLL    AUTO_REPEAT_ON    3_#_SHIFTED    WRAP_AROUND_ON
  16905. # Hardware tabs are assumed to be every 8 columns; they can be set up by the
  16906. # "reset", "tset", or "tabs" utilities (use rt6221-w, 160 columns, for this).
  16907. # Note that the Control-E key is useless on this brain-damaged terminal.  No
  16908. # delays are specified; use "stty ixon -ixany" to enable DC3/DC1 flow control!
  16909. rt6221|Ramtek 6221 80x24, 
  16910.     OTbs, OTpt, msgr, xon, 
  16911.     OTkn#4, cols#80, it#8, lines#24, vt#3, 
  16912.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[>5l, 
  16913.     clear=\E[1;1H\E[J, cnorm=\E[>5h\E[>9h, cr=^M, 
  16914.     csr=\E[%i%p1%d;%p2%dr, cub=\E[%p1%dD, cub1=^H, 
  16915.     cud=\E[%p1%dB, cud1=^K, cuf=\E[%p1%dC, cuf1=\E[C, 
  16916.     cup=\E[%i%p1%d;%p2%dH, cuu=\E[%p1%dA, cuu1=\EM, 
  16917.     cvvis=\E[>7h\E[>9l, ed=\E[J, el=\E[K, home=\E[1;1H, ht=^I, 
  16918.     hts=\EH, ind=^J, is2=\E)0, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  16919.     kcuf1=\E[C, kcuu1=\E[A, kf0=\EOP, kf1=\EOQ, kf2=\EOR, 
  16920.     kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, lf3=PF4, ll=\E[24;1H, 
  16921.     nel=\EE, rc=\E8, rev=\E[7m, ri=\EM, rmacs=^O, rmkx=\E>, 
  16922.     rmso=\E[m, rmul=\E[m, 
  16923.     rs1=\E[1w\E[>37m\E[>39m\E[1v\E[20l\E[?3l\E[?6l\E[>5h\E[>6h\E[>7h\E[>8l\E[>9h\E[>10l\E[1;24r\E[m\E[q\E(B\017\E)0\E#5\E>, 
  16924.     sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E=, smso=\E[7m, 
  16925.     smul=\E[4m, tbc=\E[3g, 
  16926. # [TO DO: Check out: short forms of ho/cl and ll; reset (\Ec)].
  16927. rt6221-w|Ramtek 6221 160x48, 
  16928.     cols#160, lines#48, 
  16929.     ll=\E[48;1H, use=rt6221, 
  16930.  
  16931. #### RCA
  16932. #
  16933.  
  16934. # RCA VP3301 or VP3501
  16935. rca|rca vp3301/vp3501, 
  16936.     OTbs, 
  16937.     cols#40, lines#24, 
  16938.     clear=^L, cuf1=^U, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  16939.     cuu1=^K, home=^Z, rmso=\E\ES0, smso=\E\ES1, 
  16940.  
  16941.  
  16942. #### Selanar
  16943. #
  16944.  
  16945. # Selanar HiREZ-100 from BRL, probably by Doug Gwyn
  16946. # The following SET-UP modes are assumed for normal operation:
  16947. #    SET_DEFAULT_TABS    48_LINES        80_COLUMNS
  16948. #    ONLINE            ANSI            CURSOR_VISIBLE
  16949. #    VT102_AUTO_WRAP_ON    VT102_NEWLINE_OFF    VT102_MONITOR_MODE_OFF
  16950. #    LOCAL_ECHO_OFF        US_CHAR_SET        WPS_TERMINAL_DISABLED
  16951. #    CPU_AUTO_XON/XOFF_ENABLED            PRINT_FULL_SCREEN
  16952. # For use with graphics software, all graphics modes should be set to factory
  16953. # default.  Other SET-UP modes may be set for operator convenience or
  16954. # communication requirements.  No delays are specified; use "stty ixon -ixany"
  16955. # to enable DC3/DC1 flow control!
  16956. # I commented out the scrolling capabilities since they are too slow.
  16957. hirez100|Selanar HiREZ-100, 
  16958.     OTbs, OTpt, mir, msgr, xon, 
  16959.     OTkn#4, cols#80, it#8, lines#48, vt#3, 
  16960.     acsc=, bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, 
  16961.     cr=^M, cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  16962.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  16963.     cuu=\E[%p1%dA, cuu1=\EM, dch=\E[%p1%dP, dch1=\E[P, 
  16964.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  16965.     hts=\EH, il=\E[%p1%dL, il1=\E[L, is2=\E<\E)0, kbs=^H, 
  16966.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf0=\EOP, 
  16967.     kf1=\EOQ, kf2=\EOR, kf3=\EOS, lf0=PF1, lf1=PF2, lf2=PF3, 
  16968.     lf3=PF4, ll=\E[48H, mc0=\E[i, mc4=\E[4i\E[?4i, 
  16969.     mc5=\E[?5i\E[5i, nel=\EE, rc=\E8, rev=\E[7m, rmacs=^O, 
  16970.     rmkx=\E[?1l\E>, rmso=\E[m, rmul=\E[m, 
  16971.     rs1=\030\E2\E<\E[4i\E[?4i\E[12h\E[2;4;20l\E[?0;7h\E[?1;3;6;19l\E[r\E[m\E(B\017\E)0\E>, 
  16972.     sc=\E7, sgr0=\E[m, smacs=^N, smkx=\E[?1h\E=, smso=\E[7m, 
  16973.     smul=\E[4m, tbc=\E[3g, 
  16974. hirez100-w|Selanar HiREZ-100 in 132-column mode, 
  16975.     cols#132, use=hirez100, 
  16976.  
  16977. #### Signetics
  16978. #
  16979.  
  16980. # From University of Wisconsin
  16981. vsc|Signetics Vsc Video driver by RMC, 
  16982.     am, msgr, 
  16983.     cols#80, it#8, lines#26, 
  16984.     clear=\E[;H\E[2J$<50/>, cr=^M, cub1=^H, cud1=^J, cuf1=\E[C, 
  16985.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, el=\E[K, home=\E[H, 
  16986.     ht=^I, ind=^J, kbs=^H, kcub1=^H, kcud1=^J, nel=^M^J, rev=^_\s, 
  16987.     rmso=^_!, rmul=^_#, sgr0=^_!, smso=^_\s, smul=^_", 
  16988.  
  16989. #### Soroc
  16990. #
  16991. # Alan Frisbie <frisbie@flying-disk.com> writes:
  16992. #
  16993. # As you may recall, the Soroc logo consisted of their name,
  16994. # with the letter "S" superimposed over an odd design.   This
  16995. # consisted of a circle with a slightly smaller 15 degree (approx.)
  16996. # wedge with rounded corners inside it.   The color was sort of
  16997. # a metallic gold/yellow.
  16998. # If I had been more of a beer drinker it might have been obvious
  16999. # to me, but it took a clue from their service department to make
  17000. # me exclaim, "Of course!"   The circular object was the top of
  17001. # a beer can (the old removable pop-top style) and "Soroc" was an
  17002. # anagram for "Coors".
  17003. # I can just imagine the founders of the company sitting around
  17004. # one evening, tossing back a few and trying to decide what to
  17005. # call their new company and what to use for a logo.
  17006.  
  17007. # (soroc120: removed obsolete ":ma=^K^P^R^L^L :" -- esr)
  17008. soroc120|iq120|soroc|soroc iq120, 
  17009.     clear=\E*$<2>, cud1=^J, ed=\EY, el=\ET, kcub1=^H, kcud1=^J, 
  17010.     kcuf1=^L, kcuu1=^K, use=adm3a, 
  17011. soroc140|iq140|soroc iq140, 
  17012.     OTbs, am, mir, 
  17013.     cols#80, lines#24, 
  17014.     bel=^G, cbt=\EI, clear=\E+, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  17015.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\Ew, 
  17016.     dl1=\Er$<.7*>, ed=\Ey, el=\Et, home=^^, il1=\Ee$<1*>, ind=^J, 
  17017.     kbs=^H, kcuf1=^L, kcuu1=^K, kf0=^A0\r, kf1=^A@\r, kf2=^AA\r, 
  17018.     kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, kf6=^AE\r, kf7=^AF\r, 
  17019.     kf8=^AG\r, kf9=^AH\r, khome=^^, ll=^^^K, rmir=\E8, 
  17020.     rmso=\E\177, rmul=\E^A, smir=\E9, smso=\E\177, smul=\E^A, 
  17021.  
  17022. #### Southwest Technical Products
  17023. #
  17024. # These guys made an early personal micro called the M6800.  
  17025. # The ct82 was probably its console terminal.
  17026. #
  17027.  
  17028. # (swtp: removed obsolete ":bc=^D:" -- esr)
  17029. swtp|ct82|southwest technical products ct82, 
  17030.     am, 
  17031.     cols#82, lines#20, 
  17032.     bel=^G, clear=^L, cr=^M, cub1=^D, cud1=^J, cuf1=^S, 
  17033.     cup=\013%p2%c%p1%c, cuu1=^A, dch1=^\^H, dl1=^Z, ed=^V, el=^F, 
  17034.     home=^P, ich1=^\^X, il1=^\^Y, ind=^N, 
  17035.     is2=\034\022\036\023\036\004\035\027\011\023\036\035\036\017\035\027\022\011, 
  17036.     ll=^C, ri=^O, rmso=^^^F, smso=^^^V, 
  17037.  
  17038. #### Synertek
  17039. #
  17040. # Bob Manson <manson@pattyr.acs.ohio-state.edu> writes (28 Apr 1995):
  17041. #
  17042. # Synertek used to make ICs, various 6502-based single-board process
  17043. # control and hobbyist computers, and assorted peripherals including a
  17044. # series of small inexpensive terminals (I think they were one of the
  17045. # first to have a "terminal-on-a-keyboard", where the terminal itself
  17046. # was only slightly larger than the keyboard).
  17047. #
  17048. # They apparently had a KTM-1 model, which I've never seen. The KTM-2/40
  17049. # was a 40x24 terminal that could connect to a standard TV through a
  17050. # video modulator.  The KTM-2/80 was the 80-column version (the 2/40
  17051. # could be upgraded to the 2/80 by adding 2 2114 SRAMs and a new ROM).
  17052. # I have a KTM-2/80 still in working order.  The KTM-2s had fully
  17053. # socketed parts, used 2 6507s, a 6532 as keyboard scanner, a program
  17054. # ROM and 2 ROMs as character generators. They were incredibly simple,
  17055. # and I've never had any problems with mine (witness the fact that mine
  17056. # was made in 1981 and is still working great... I've blown the video
  17057. # output transistor a couple of times, but it's a 2N2222 :-)
  17058. #
  17059. # The KTM-3 (which is what is listed in the terminfo file) was their
  17060. # attempt at putting a KTM-2 in a box (and some models came with a
  17061. # CRT). It wasn't much different from the KTM-2 hardware-wise, but the
  17062. # control and escape sequences are very different. The KTM-3 was always
  17063. # real broken, at least according to the folks I've talked to about it.
  17064. # The padding in the entry is probably off--these terminals were very
  17065. # slow (it takes like 100ms for the KTM-2 to clear the screen...) And
  17066. # anyone with any sanity replaced the ROMs with something that provided
  17067. # a reasonable subset of VT100 functionality, since the usual ROMs were
  17068. # obviously very primitive... oh, you could get an upgraded ROM from
  17069. # Synertek for some incredible amount of money, but what hacker with an
  17070. # EPROM burner would do that? :)
  17071. # Sorry I don't have any contact info; I believe they were located in
  17072. # Sunnyvale, and I'm fairly sure they are still manufacturing ICs
  17073. # (they've gone to ASICs and FPGAs), but I doubt they're in the computer
  17074. # business these days.
  17075. #
  17076.  
  17077. # Tested, seems to work fine with vi.
  17078. synertek|ktm|synertek380|synertek ktm 3/80 tubeless terminal, 
  17079.     am, 
  17080.     cols#80, lines#24, 
  17081.     clear=^Z, cub1=^H, cuf1=^L, 
  17082.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
  17083.  
  17084. #### Tab Office Products
  17085. #
  17086. #    TAB Products Co. - Palo Alto, California
  17087. #    Electronic Office Products,
  17088. #    1451 California Avenue 94304
  17089. #
  17090. # I think they're out of business.
  17091. #
  17092.  
  17093. # The tab 132 uses xon/xoff, so no padding needed.
  17094. # <smkx>/<rmkx> have nothing to do with arrow keys.
  17095. # <is2> sets 80 col mode, normal video, autowrap on (for <am>).
  17096. # Seems to be no way to get rid of status line.
  17097. # The manual for this puppy was dated June 1981.  It claims to be VT52-
  17098. # compatible but looks more vt100-like.
  17099. tab132|tab|tab132-15|tab 132/15, 
  17100.     da, db, 
  17101.     OTdN@, cols#80, lines#24, lm#96, 
  17102.     cud1=^J, cup=\E[%i%p1%d;%p2%dH, dch1=\E[P, dl1=\E[M, 
  17103.     il1=\E[L, is2=\E[?7h\E[?3l\E[?5l, kcub1=\E[D, kcud1=\E[B, 
  17104.     kcuu1=\E[A, rmir=\E[4l, rmkx@, smir=\E[4h, smkx@, use=vt100, 
  17105. tab132-w|tab132 in wide mode, 
  17106.     cols#132, 
  17107.     is2=\E[?7h\E[?3h\E[?5l, use=tab132, 
  17108. tab132-rv|tab132 in reverse-video mode, 
  17109.     is2=\E[?7h\E[?3l\E[?5h, use=tab132, 
  17110. tab132-w-rv|tab132 in reverse-video/wide mode, 
  17111.     is2=\E[?7h\E[?3h\E[?5h, use=tab132-w, 
  17112.  
  17113.  
  17114. #### Teleray
  17115. #
  17116. #    Research Incorporated
  17117. #    6425 Flying Cloud Drive
  17118. #    Eden Prairie, MN 55344
  17119. #    Vox: (612)-941-3300
  17120. #
  17121. # The Teleray terminals were all discontinued in 1992-93.  RI still services
  17122. # and repairs these beasts, but no longer manufactures them.  The Teleray
  17123. # people believe that all the types listed below are very rare now (1995).
  17124. # There was a newer line of Telerays (Model 7, Model 20, Model 30, and
  17125. # Model 100) that were ANSI-compatible.
  17126. #
  17127. # Note two things called "teleray".  Reorder should move the common one
  17128. # to the front if you have either.  A dumb teleray with the cursor stuck
  17129. # on the bottom and no obvious model number is probably a 3700.
  17130. #
  17131.  
  17132. t3700|dumb teleray 3700, 
  17133.     OTbs, 
  17134.     cols#80, lines#24, 
  17135.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, ind=^J, 
  17136. t3800|teleray 3800 series, 
  17137.     OTbs, 
  17138.     cols#80, it#8, lines#24, 
  17139.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  17140.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=\EJ, el=\EK, 
  17141.     home=\EH, ht=^I, ind=^J, ll=\EY7\s, 
  17142. t1061|teleray|teleray 1061, 
  17143.     OTbs, am, km, xhp, xt, 
  17144.     cols#80, it#8, lines#24, xmc#1, 
  17145.     bel=^G, clear=\014$<1>, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  17146.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  17147.     dl1=\EM$<2*>, ed=\EJ$<1>, el=\EK, home=\EH, ht=^I, hts=\EF, 
  17148.     ich1=\EP, il1=\EL$<2*>, ind=^J, ip=$<0.4*>, 
  17149.     is2=\Ee\EU01^Z1\EV\EU02^Z2\EV\EU03^Z3\EV\EU04^Z4\EV\EU05^Z5\EV\EU06^Z6\EV\EU07^Z7\EV\EU08^Z8\EV\Ef, 
  17150.     kf1=^Z1, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, kf6=^Z6, kf7=^Z7, 
  17151.     kf8=^Z8, rmso=\ER@, rmul=\ER@, smso=\s\ERD, smul=\ERH, 
  17152.     tbc=\EG, 
  17153. t1061f|teleray 1061 with fast PROMs, 
  17154.     dl1=\EM, il1=\EL, ip@, use=t1061, 
  17155. # "Teleray Arpa Special", officially designated as
  17156. # "Teleray Arpa network model 10" with "Special feature 720".
  17157. # This is the new (1981) fast microcode updating the older "arpa" proms
  17158. # (which gave meta-key and programmable-fxn keys).  720 is much much faster,
  17159. # converts the keypad to programmable function keys, and has other goodies.
  17160. # Standout mode is still broken (magic cookie, etc) so is suppressed as no
  17161. # programs handle such lossage properly.
  17162. # Note: this is NOT the old termcap's "t1061f with fast proms."
  17163. # From: J. Lepreau <lepreau@utah-cs> Tue Feb  1 06:39:37 1983, Univ of Utah
  17164. # (t10: removed overridden ":so@:se@:us@:ue@:" -- esr)
  17165. t10|teleray 10 special, 
  17166.     OTbs, km, xhp, xt, 
  17167.     cols#80, it#8, lines#24, xmc#2, 
  17168.     clear=\Ej$<30/>, cub1=^H, cuf1=\EC, 
  17169.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EQ, 
  17170.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EP, il1=\EL, 
  17171.     ind=\Eq, pad=\0, ri=\Ep, rmso=\ER@, rmul=\ER@, smso=\ERD, 
  17172.     smul=\ERH, 
  17173. # teleray 16 - map the arrow keys for vi/rogue, shifted to up/down page, and
  17174. # back/forth words. Put the function keys (f1-f10) where they can be
  17175. # found, and turn off the other magic keys along the top row, except
  17176. # for line/local. Do the magic appropriate to make the page shifts work.
  17177. # Also toggle ^S/^Q for those of us who use Emacs.
  17178. t16|teleray 16, 
  17179.     am, da, db, mir, xhp, xt, 
  17180.     cols#80, lines#24, 
  17181.     bel=^G, clear=\E[H\E[2J, cr=^M, cub1=^H, cud1=\E[B, 
  17182.     cuf1=\E[C, cup=%i\E[%p1%d;%p2%df, cuu1=\E[A, dch1=\E[P, 
  17183.     dl1=\E[M, ed=\E[0J, el=\E[0K, home=\E[H, ht=^I, il1=\E[L, 
  17184.     ind=^J, kf1=^Z1, kf10=^Z0, kf2=^Z2, kf3=^Z3, kf4=^Z4, kf5=^Z5, 
  17185.     kf6=^Z6, kf7=^Z7, kf8=^Z8, kf9=^Z9, ri=\E[T, 
  17186.     rmcup=\E[V\E[24;1f\E[?38h, rmir=\E[4l, rmso=\E[m, 
  17187.     rmul=\E[m, sgr0=\E[m, smcup=\E[U\E[?38l, smir=\E[4h, 
  17188.     smso=\E[7m, smul=\E[4m, 
  17189.  
  17190. #### Texas Instruments (ti)
  17191. #
  17192.  
  17193. # The Silent 700 was so called because it was built around a quiet thermal
  17194. # printer.  It was portable, equipped with an acoustic coupler, and pretty
  17195. # neat for its day.
  17196. ti700|ti733|ti735|ti745|ti800|ti silent 700/733/735/745 or omni 800, 
  17197.     OTbs, hc, os, 
  17198.     cols#80, 
  17199.     bel=^G, cr=\r$<162>, cub1=^H, cud1=^J, ind=^J, 
  17200.  
  17201. #
  17202. # Texas Instruments 916 VDT 7 bit control mode
  17203. #
  17204. ti916|ti916-220-7|Texas Instruments 916 VDT 8859/1 vt220 mode 7 bit CTRL, 
  17205.     da, db, in, msgr, 
  17206.     cbt=\E[Z, civis=\E[?25l, clear=\E[H\E[2J$<6>, 
  17207.     cnorm=\E[?25h, cub=\E[%p1%dD, cud=\E[%p1%dB, 
  17208.     cuf=\E[%p1%dC, cup=\E[%p1%i%p1%d;%p2%dH, cuu=\E[%p1%dA, 
  17209.     cvvis=\E[?25h, dch=\E[%p1%dP$<250>, dch1=\E[P, 
  17210.     dl=\E[%p1%dM, ech=\E[%p1%dX$<20>, ed=\E[J$<6>, el=\E[0K, 
  17211.     el1=\E[1K, enacs=\E(B\E)0, ff=^L, flash=\E[?5h\E[?5l$<6>, 
  17212.     hpa=\E[%p1%{1}%+%dG, hts=\E[0W, ich=\E[%p1%d@$<250>, 
  17213.     il=\E[%p1%dL$<36>, ip=$<10>, is2=\E[1;24r\E[24;1H, 
  17214.     kcmd=\E[29~, kdch1=\E[P, kent=^J, kf1=\E[17~, kf10=\E[28~, 
  17215.     kf11=\E[29~, kf12=\E[31~, kf2=\E[18~, kf3=\E[19~, 
  17216.     kf4=\E[20~, kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, 
  17217.     kf9=\E[26~, khome=\E[H, kich1=\E[@, knp=\E[S, kpp=\E[T, 
  17218.     kprt=^X, prot=\E&, rmacs=\017$<2>, rs2=\E[!p, 
  17219.     smacs=\016$<2>, tbc=\E[3g, vpa=\E[%p1%{1}%+%dd, 
  17220.     use=vt220, 
  17221. #
  17222. # Texas Instruments 916 VDT 8 bit control mode
  17223. #
  17224. ti916-8|ti916-220-8|Texas Instruments 916 VDT 8859/1 8 vt220 mode bit CTRL, 
  17225.     kcmd=\23329~, kcub1=\233D, kcud1=\233B, kcuf1=\233C, 
  17226.     kcuu1=\233A, kdch1=\233P, kent=^J, kf1=\23317~, 
  17227.     kf10=\23328~, kf11=\23329~, kf12=\23331~, kf2=\23318~, 
  17228.     kf3=\23319~, kf4=\23320~, kf5=\23321~, kf6=\23323~, 
  17229.     kf7=\23324~, kf8=\23325~, kf9=\23326~, khome=\233H, 
  17230.     kich1=\233@, knp=\233S, kpp=\233T, kprt=^X, use=ti916, 
  17231. #
  17232. # Texas Instruments 916 VDT 8859/1 7 bit control 132 column mode
  17233. #
  17234. ti916-132|Texas Instruments 916 VDT vt220 132 column, 
  17235.     cols#132, use=ti916, 
  17236. #
  17237. # Texas Instruments 916 VDT 8859/1 8 bit control 132 column mode
  17238. #
  17239. ti916-8-132|Texas Instruments 916 VDT 8-bit vt220 132 column, 
  17240.     cols#132, use=ti916-8, 
  17241. ti924|Texas Instruments 924 VDT 8859/1 7 bit CTRL, 
  17242.     OTbs, am, xon, 
  17243.     cols#80, it#8, lines#24, 
  17244.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  17245.     clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
  17246.     csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  17247.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
  17248.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  17249.     il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  17250.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\E[P, kf1=\EOP, kf2=\EOQ, 
  17251.     kf3=\EOR, kf4=\EOS, kf5=\E[16~, kf6=\E[17~, kf7=\E[18~, 
  17252.     kf8=\E[19~, kf9=\E[20~, kich1=\E[@, rc=\E8, rev=\E[7m, 
  17253.     ri=\EM, rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
  17254.     smul=\E[4m, tbc=\E[3g, 
  17255. ti924-8|Texas Instruments 924 VDT 8859/1 8 bit CTRL, 
  17256.     am, xon, 
  17257.     cols#80, it#8, lines#24, 
  17258.     bel=^G, blink=\E[5m, bold=\E[1m, civis=\E[?25l, 
  17259.     clear=\E[2J\E[H, cnorm=\E[?25h, cr=^M, 
  17260.     csr=%i\E[%p1%d;%p2%dr, cub1=\E[D, cud1=\E[B, cuf1=\E[C, 
  17261.     cup=%i\E[%p1%d;%p2%dH, cuu1=\E[A, cvvis=\E[?31h, 
  17262.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, hts=\EH, 
  17263.     il1=\E[L, ind=\ED, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  17264.     kcuf1=\E[C, kcuu1=\E[A, kdch1=P$<\233>, kf1=P$<\217>, 
  17265.     kf2=Q$<\217>, kf3=R$<\217>, kf4=S$<\217>, kf5=~$<\23316>, 
  17266.     kf6=~$<\23317>, kf7=~$<\23318>, kf8=~$<\23319>, 
  17267.     kf9=~$<\23320>, kich1=@$<\233>, rc=\E8, rev=\E[7m, ri=\EM, 
  17268.     rmso=\E[m, rmul=\E[m, sc=\E7, sgr0=\E[m, smso=\E[7m, 
  17269.     smul=\E[4m, tbc=\E[3g, 
  17270. ti924w|Texas Instruments 924 VDT 7 bit - 132 column mode, 
  17271.     cols#132, use=ti924, 
  17272. ti924-8w|Texas Instruments 924 VDT 8 bit - 132 column mode, 
  17273.     cols#132, use=ti924-8, 
  17274. ti931|Texas Instruments 931 VDT, 
  17275.     OTbs, am, xon, 
  17276.     cols#80, lines#24, 
  17277.     bel=^G, blink=\E4P, clear=\EL, cnorm=\E4@, cr=^M, cub1=\ED, 
  17278.     cud1=\EB, cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, 
  17279.     cuu1=\EA, dch1=\EQ, dl1=\EO, ed=\EJ, el=\EI, home=\EH, 
  17280.     ich1=\ER\EP\EM, il1=\EN, ind=\Ea, invis=\E4H, 
  17281.     is2=\EGB\E(@B@@\E), kcub1=\ED, kcud1=\EB, kcuf1=\EC, 
  17282.     kcuu1=\EA, kdch1=\EQ, kdl1=\EO, kf1=\Ei1, kf2=\Ei2, kf3=\Ei3, 
  17283.     kf4=\Ei4, kf5=\Ei5, kf6=\Ei6, kf7=\Ei7, kf8=\Ei8, kf9=\Ei9, 
  17284.     kich1=\EP, kil1=\EN, rev=\E4B, ri=\Eb, rmso=\E4@, rmul=\E4@, 
  17285.     sgr0=\E4@, smso=\E4A, smul=\E4D, 
  17286. ti926|Texas Instruments 926 VDT 8859/1 7 bit CTRL, 
  17287.     csr@, ind=\E[1S, ri=\E[1T, use=ti924, 
  17288. # (ti926-8: I corrected this from the broken SCO entry -- esr)
  17289. ti926-8|Texas Instruments 926 VDT 8859/1 8 bit CTRL, 
  17290.     csr@, ind=\2331S, ri=\2331T, use=ti924-8, 
  17291. ti_ansi|basic entry for ti928, 
  17292.     am, bce, eo, xenl, xon, 
  17293.     colors#8, cols#80, it#8, lines#25, pairs#64, 
  17294.     bel=^G, blink=\E[5m, bold=\E[1m, cbt=\E[Z, clear=\E[2J\E[H, 
  17295.     cr=^M, csr=\E[%i%p1%d;%p2%dr, cub1=^H, cud1=\E[B, 
  17296.     cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, 
  17297.     dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, ich1=\E[@, 
  17298.     il1=\E[L, ind=\E[S, kbs=^H, kcub1=\E[D, kcud1=\E[B, 
  17299.     kcuf1=\E[C, kcuu1=\E[A, kend=\E[F, kf0=\E[V, kf1=\E[M, 
  17300.     kf2=\E[N, kf3=\E[O, kf4=\E[P, kf5=\E[Q, kf6=\E[R, kf7=\E[S, 
  17301.     kf8=\E[T, kf9=\E[U, khome=\E[H, knp=\E[G, kpp=\E[I, 
  17302.     op=\E[37;40m, ri=\E[T, rmso=\E[m, rmul=\E[m, 
  17303.     setab=\E[4%p1%dm, setaf=\E[3%p1%dm, sgr0=\E[m, 
  17304.     smso=\E[7m, smul=\E[4m, 
  17305. #
  17306. #       928 VDT 7 bit control mode
  17307. #
  17308. ti928|Texas Instruments 928 VDT 8859/1 7 bit CTRL, 
  17309.     kdch1=\E[P, kend=\E_1\E\\, kent=\E[8~, kf1=\E[17~, 
  17310.     kf10=\E[28~, kf11=\E[29~, kf12=\E[31~, kf13=\E[32~, 
  17311.     kf15=\E[34~, kf2=\E[18~, kf3=\E[19~, kf4=\E[20~, 
  17312.     kf5=\E[21~, kf6=\E[23~, kf7=\E[24~, kf8=\E[25~, kf9=\E[26~, 
  17313.     kich1=\E[@, knp=\E[S, kpp=\E[T, kprt=\E[35~, use=ti_ansi, 
  17314. #
  17315. #       928 VDT 8 bit control mode
  17316. #
  17317. ti928-8|Texas Instruments 928 VDT 8859/1 8 bit CTRL, 
  17318.     kdch1=\233P, kend=\2371\234, kent=\2338~, kf1=\23317~, 
  17319.     kf10=\23328~, kf11=\23329~, kf12=\23331~, kf13=\23332~, 
  17320.     kf15=\23334~, kf2=\23318~, kf3=\23319~, kf4=\23320~, 
  17321.     kf5=\23321~, kf6=\23323~, kf7=\23324~, kf8=\23325~, 
  17322.     kf9=\23326~, khome=\233H, kich1=\233@, knp=\233S, 
  17323.     kpp=\233T, kprt=\23335~, use=ti_ansi, 
  17324.  
  17325. #### Zentec (zen)
  17326. #
  17327.  
  17328. # (zen30: removed obsolete :ma=^L ^R^L^K^P:.  This entry originally
  17329. # had just <smso>=\EG6 which I think means standout was supposed to be 
  17330. # dim-reverse using ADM12-style attributes. ADM12 <smul>/<rmul> and
  17331. # <invis> might work-- esr)
  17332. zen30|z30|zentec 30, 
  17333.     OTbs, am, mir, ul, 
  17334.     cols#80, lines#24, 
  17335.     bel=^G, clear=\E*, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  17336.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, dch1=\EW, 
  17337.     dim=\EG2, dl1=\ER$<1.5*>, ed=\EY, el=\ET$<1.0*>, home=^^, 
  17338.     il1=\EE$<1.5*>, ind=^J, rmir=\Er, rmul@, smir=\Eq, smso=\EG6, 
  17339.     smul@, use=adm+sgr, 
  17340. # (zen50: this had extension capabilities
  17341. #    :BS=^U:CL=^V:CR=^B:
  17342. # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
  17343. # which were also in the original entry -- esr)
  17344. # (zen50: removed obsolete ":ma=^Hh^Ll^Jj^Kk:" -- esr)
  17345. zen50|z50|zentec zephyr, 
  17346.     OTbs, am, 
  17347.     cols#80, lines#24, xmc#1, 
  17348.     clear=\E+, cub1=^H, cup=\E=%p1%{32}%+%c%p2%{32}%+%c, 
  17349.     cuu1=^K, dch1=\EW, dl1=\ER, ed=\EY, el=\ET, ich1=\EQ, il1=\EE, 
  17350.     invis@, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, khome=^^, 
  17351.     rmul@, smul@, use=adm+sgr, 
  17352.  
  17353. # CCI 4574 (Office Power) from Will Martin <wmartin@BRL.ARPA> via BRL
  17354. cci|cci1|z8001|zen8001|CCI Custom Zentec 8001, 
  17355.     OTbs, am, bw, 
  17356.     cols#80, lines#24, 
  17357.     blink=\EM", clear=\EH\EJ, cnorm=\EP, 
  17358.     csr=\ER%p1%{32}%+%c%p2%{32}%+%c, cub1=^H, cud1=^J, 
  17359.     cuf1=\EC, cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, 
  17360.     cvvis=\EF\EQ\EM \ER 7, dim=\EM!, ed=\EJ, el=\EK, home=\EH, 
  17361.     invis=\EM(, is2=\EM \EF\ET\EP\ER 7, kbs=^H, kcub1=\ED, 
  17362.     kcud1=\EB, kcuf1=\EC, kcuu1=\EA, khome=\EH, mc4=^T, mc5=^R, 
  17363.     rev=\EM$, ri=\EI, rmso=\EM\s, rmul=\EM\s, sgr0=\EM\s, 
  17364.     smso=\EM$, smul=\EM0, 
  17365.  
  17366. ######## OBSOLETE UNIX CONSOLES
  17367. #
  17368.  
  17369. #### Apollo consoles
  17370. #
  17371. # Apollo got bought by Hewlett-Packard.  The Apollo workstations are 
  17372. # labeled HP700s now.
  17373. #
  17374.  
  17375. # From: Gary Darland <goodmanc@garnet.berkeley.edu>
  17376. apollo|apollo console, 
  17377.     OTbs, am, mir, 
  17378.     cols#88, lines#53, 
  17379.     clear=^L, cub1=^H, cud1=\EB, cuf1=\EC, 
  17380.     cup=\EM%p1%{32}%+%c%p2%d), cuu1=\EA, dch1=\EP, dl1=\EL, 
  17381.     ed=\EJ, el=\EK, hpa=\EN%p1%d, il1=\EI, ind=\EE, ri=\ED, 
  17382.     rmcup=\EX, rmir=\ER, rmso=\ET, rmul=\EV, smcup=\EW, smir=\EQ, 
  17383.     smso=\ES, smul=\EU, vpa=\EO+\s, 
  17384.  
  17385. # We don't know whether or not the apollo guys replicated DEC's firmware bug
  17386. # in the VT132 that reversed <rmir>/<smir>.  To be on the safe side, disable
  17387. # both these capabilities.
  17388. apollo_15P|apollo 15 inch display, 
  17389.     rmir@, smir@, use=vt132, 
  17390. apollo_19L|apollo 19 inch display, 
  17391.     rmir@, smir@, use=vt132, 
  17392. apollo_color|apollo color display, 
  17393.     rmir@, smir@, use=vt132, 
  17394.  
  17395. #### Convergent Technology
  17396. #
  17397. # Burroughs bought Convergent shortly before it merged with Univac.
  17398. # CTOS is (I believe) dead.  Probably the aws is too (this entry dates
  17399. # from 1991 or earlier).
  17400. #
  17401.  
  17402. # Convergent AWS workstation from Gould/SEL UTX/32 via BRL
  17403. # (aws: removed unknown :dn=^K: -- esr)
  17404. aws|Convergent Technologies AWS workstation under UTX and Xenix, 
  17405.     am, 
  17406.     OTug#0, cols#80, lines#28, xmc#0, 
  17407.     OTbc=^H, OTma=\016h\013j\001k\022l\002m, OTnl=^J, acsc=, 
  17408.     clear=^L, cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, 
  17409.     dch1=\EDC, dl1=\EDL, ed=\EEF, el=\EEL, hpa=\EH%p1%c, 
  17410.     ich1=\EIC, il1=\EIL, ind=\ESU, kbs=^H, kcub1=^N, kcud1=^K, 
  17411.     kcuf1=^R, kcuu1=^A, ri=\ESD, rmacs=\EAAF, rmso=\EARF, 
  17412.     rmul=\EAUF, smacs=\EAAN, smso=\EARN, smul=\EAUN, 
  17413.     vpa=\EV%p1%c, 
  17414. awsc|Convergent Technologies AWS workstation under CTOS, 
  17415.     am, 
  17416.     OTug#0, cols#80, lines#24, xmc#0, 
  17417.     OTbc=^N, OTma=\016h\013j\001k\022l\002m, acsc=, clear=^L, 
  17418.     cud1=^K, cuf1=^R, cup=\EC%p2%c%p1%c, cuu1=^A, ed=\EEF, 
  17419.     el=\EEL, kbs=^H, kcub1=^N, kcud1=^K, kcuf1=^R, kcuu1=^A, 
  17420.     rmacs=\EAAF, rmso=\EAA, rmul=\EAA, smacs=\EAAN, smso=\EAE, 
  17421.     smul=\EAC, 
  17422.  
  17423. #### DEC consoles
  17424. #
  17425.  
  17426. # The MicroVax console.  Tim Theisen <tim@cs.wisc.edu> writes:
  17427. # The digital uVax II's had a graphic display called a qdss.  It was
  17428. # supposed to be a high performance graphic accelerator, but it was
  17429. # late to market and barely appeared before faster dumb frame buffers
  17430. # appeared.  I have only used this display while running X11.  However,
  17431. # during bootup, it was in text mode, and probably had a terminal emulator
  17432. # within it.  And that is what your termcap entry is for.  In graphics
  17433. # mode the screen size is 1024x864 pixels.
  17434. qdss|qdcons|qdss glass tty, 
  17435.     OTbs, am, 
  17436.     cols#128, lines#57, 
  17437.     clear=\032$<1/>, cub1=^H, cud1=^J, cuf1=^L, 
  17438.     cup=\E=%p1%c%p2%c, cuu1=^K, 
  17439.  
  17440. #### Fortune Systems consoles
  17441. #
  17442. # Fortune made a line of 68K-based UNIX boxes that were pretty nifty
  17443. # in their day; I (esr) used one myself for a year or so around 1984.
  17444. # They had no graphics, though, and couldn't compete against Suns and
  17445. # the like.  R.I.P.
  17446. #
  17447.  
  17448. # From: Robert Nathanson <c160-3bp@Coral> via tut   Wed Oct 5, 1983
  17449. # (This had extension capabilities
  17450. #    :rv=\EH:re=\EI:rg=0:GG=0:\
  17451. #    :CO=\E\\:WL=^Aa\r:WR=^Ab\r:CL=^Ac\r:CR=^Ad\r:DL=^Ae\r:RF=^Af\r:\
  17452. #    :RC=^Ag\r:CW=^Ah\r:NU=^Aj\r:EN=^Ak\r:HM=^Al:PL=^Am\r:\
  17453. #    :PU=^An\r:PD=^Ao\r:PR=^Ap\r:HP=^A@\r:RT=^Aq\r:TB=\r:CN=\177:MP=\E+F:
  17454. # It had both ":bs:" and ":bs=^H:"; I removed the latter.  Also, it had
  17455. # ":sg=0:" and ":ug=0:"; evidently the composer was trying (unnecessarily)
  17456. # to force both magic cookie glitches off.  Once upon a time, I
  17457. # used a Fortune myself, so I know the capabilities of the form ^A[a-z]\r are
  17458. # function keys; thus the "Al" value for HM was certainly an error.  I renamed
  17459. # EN/PD/PU/CO/CF/RT according to the XENIX/TC mappings, but not HM/DL/RF/RC.  
  17460. # I think :rv: and :re: are start/end reverse video and :rg: is a nonexistent
  17461. # "reverse-video-glitch" capability; I have put :rv: and :re: in with standard
  17462. # names below.  I've removed obsolete ":nl=5^J:" as there is a :do: -- esr)
  17463. fos|fortune|Fortune system, 
  17464.     OTbs, am, bw, 
  17465.     cols#80, lines#25, 
  17466.     acsc=j*k(l m"q&v%w#x-, bel=^G, blink=\EN, civis=\E], 
  17467.     clear=\014$<20>, cnorm=\E\\, cr=^M, cub1=^H, cud1=\n$<3>, 
  17468.     cup=\034C%p1%{32}%+%c%p2%{32}%+%c, cuu1=\013$<3>, 
  17469.     cvvis=\E\:, dch1=\034W$<5>, dl1=\034R$<15>, 
  17470.     ed=\034Y$<3*>, el=^\Z, home=\036$<10>, ht=^Z, 
  17471.     ich1=\034Q$<5>, il1=\034E$<15>, ind=^J, is2=^_.., kbs=^H, 
  17472.     kcub1=^Aw\r, kcud1=^Ay\r, kcuf1=^Az\r, kcuu1=^Ax\r, 
  17473.     kend=^Ak\r, kent=^Aq, kf1=^Aa\r, kf2=^Ab\r, kf3=^Ac\r, 
  17474.     kf4=^Ad\r, kf5=^Ae\r, kf6=^Af\r, kf7=^Ag\r, kf8=^Ah\r, 
  17475.     khome=^A?\r, knp=^Ao\r, kpp=^An\r, nel=^M^J, rev=\EH, 
  17476.     rmacs=^O, rmso=^\I`, rmul=^\IP, sgr0=\EI, smacs=\Eo, 
  17477.     smso=^\H`, smul=^\HP, 
  17478.  
  17479. #### Masscomp consoles
  17480. #
  17481. # Masscomp has gone out of business.  Their product line was purchased by
  17482. # comany in Georgia (US) called "XS International", parts and service may
  17483. # still be available through them.
  17484. #
  17485.  
  17486. # (masscomp: ":MT:" changed to ":km:";  -- esr)
  17487. masscomp|masscomp workstation console, 
  17488.     OTbs, km, mir, 
  17489.     cols#80, it#8, lines#24, 
  17490.     clear=\E[2J, cub1=^H, cud1=\E[B, cuf1=\E[C, 
  17491.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  17492.     ed=\E[J, el=\E[K, ht=^I, il1=\E[L, is2=\EGc\EGb\EGw, kbs=^H, 
  17493.     kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, rmir=\E[4l, 
  17494.     rmso=\E[m, rmul=\EGau, smir=\E[4h, smso=\E[7m, smul=\EGu, 
  17495. masscomp1|masscomp large screen version 1, 
  17496.     cols#104, lines#36, use=masscomp, 
  17497. masscomp2|masscomp large screen version 2, 
  17498.     cols#64, lines#21, use=masscomp, 
  17499.  
  17500. ######## OTHER OBSOLETE TYPES
  17501. #
  17502. # These terminals are *long* dead -- these entries are retained for
  17503. # historical interest only.
  17504. #
  17505.  
  17506. #### Obsolete non-ANSI software emulations
  17507. #
  17508.  
  17509. # CTRM terminal emulator
  17510. # 1. underlining is not allowed with colors: first, is is simulated by 
  17511. # black on white, second, it disables background color manipulations.
  17512. # 2. BLINKING, REVERSE and BOLD are allowed with colors,
  17513. # so we have to save their status in the static registers A, B and H
  17514. # respectively, to be able to restore them when color changes
  17515. # (because any color change turns off ALL attributes)
  17516. # 3. <bold> and <rev> sequences alternate modes,
  17517. # rather then simply  entering them.  Thus we have to check the
  17518. # static register B and H to determine the status, before sending the 
  17519. # escape sequence.
  17520. # 4. <sgr0> now must set the status of all 3 register (A,B,H) to zero
  17521. # and then reset colors
  17522. # 5. implementation of the protect mode would badly penalize the performance.
  17523. # we would have to use \E&bn sequence to turn off colors (as well as all
  17524. # other attributes), and keep the status of protect mode in yet another
  17525. # static variable.  If someone really needs this mode, they would have to
  17526. # create another terminfo entry.
  17527. # 6. original color-pair is white on black.
  17528. # store the information about colors into static registers
  17529. # 7. set foreground color.  it performs the following steps.
  17530. #   1) turn off all attributes
  17531. #   2) turn on the background and video attributes that have been turned
  17532. #      on before (this information is stored in static registers X,Y,Z,A,B,H,D).
  17533. #   3) turn on foreground attributes
  17534. #   4) store information about foreground into U,V,W static registers
  17535. # 8. turn on background: similar to turn on foreground above
  17536. ctrm|C terminal emulator, 
  17537.     am, bce, xon, 
  17538.     colors#8, cols#80, lh#0, lines#24, lm#0, lw#0, ncv#2, nlab#0, 
  17539.     pairs#63, pb#19200, vt#6, 
  17540.     bel=^G, blink=\E&dA%{1}%PA, 
  17541.     bold=%?%gH%{0}%=%t\E&dH%{1}%PH%;, cbt=\Ei, 
  17542.     clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  17543.     cup=\E&a%p2%dc%p1%dY, cuu1=\EA, dch1=\EP$<2>, dl1=\EM, 
  17544.     ed=\EJ, el=\EK, hpa=\E&a%p1%dC, ht=\011$<2>, hts=\E1, 
  17545.     il1=\EL, ind=^J, ip=$<2>, is2=\E&jA\r, kbs=^H, kcub1=\Eu\r, 
  17546.     kcud1=\Ew\r, kcuf1=\Ev\r, kcuu1=\Et\r, kf1=\Ep\r, 
  17547.     kf2=\Eq\r, kf3=\Er\r, kf4=\Es\r, kf5=\Et\r, kf6=\Eu\r, 
  17548.     kf7=\Ev\r, kf8=\Ew\r, khome=\Ep\r, 
  17549.     op=\E&bn\E&bB\E&bG\E&bR%{0}%PX%{0}%PY%{0}%PZ%{1}%PW%{1}%PV%{1}%PU, 
  17550.     rev=%?%gB%{0}%=%t\E&dB%{1}%PB%;, rmir=\ER, rmkx=\E&jA, 
  17551.     setb=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gU%t\E&bR%;%?%gV%t\E&bG%;%?%gW%t\E&bB%;%?%p1%{1}%&%t\E&bb%{1}%e%{0}%;%PZ%?%p1%{2}%&%t\E&bg%{1}%e%{0}%;%PY%?%p1%{4}%&%t\E&br%{1}%e%{0}%;%PX, 
  17552.     setf=\E&bn%?%gA%t\E&dA%;%?%gB%t\E&dB%;%?%gH%t\E&dH%;%?%gX%t\E&br%;%?%gY%t\E&bg%;%?%gZ%t\E&bb%;%?%p1%{1}%&%t\E&bB%{1}%e%{0}%;%PW%?%p1%{2}%&%t\E&bG%{1}%e%{0}%;%PV%?%p1%{4}%&%t\E&bR%{1}%e%{0}%;%PU, 
  17553.     sgr=\E&d@%{0}%PA%{0}%PB%{0}%PD%{0}%PH%?%p1%p3%p5%|%|%t\E&dB%{1}%PB%;%?%p4%t\E&dA%{1}%PA%;%?%p6%t\E&dH%{1}%PH%;%?%p2%t\E&dD%;, 
  17554.     sgr0=\E&d@%{0}%PA%{0}%PB%{0}%PH, smir=\EQ, smkx=\E&jB, 
  17555.     smso=\E&dD, smul=\E&dD, tbc=\E3, vpa=\E&a%p1%dY, 
  17556.  
  17557. # gs6300 - can't use blue foreground, it clashes with underline;
  17558. # it's simulated with cyan
  17559. # Bug: The <op> capability probably resets attributes.
  17560. # (gs6300: commented out <rmln> (no <smln>) --esr)
  17561. gs6300|emots|AT&T PC6300 with EMOTS terminal emulator, 
  17562.     am, bce, msgr, xon, 
  17563.     colors#8, cols#80, it#8, lines#24, pairs#63, 
  17564.     acsc=++\,\,--..``aaffgghhiijjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  17565.     bel=^G, blink=\E[5m, bold=\E[1m, clear=\E[H\E[J, cr=^M, 
  17566.     cub=\E[%p1%dD, cub1=^H, cud=\E[%p1%dB, cud1=^J, 
  17567.     cuf=\E[%p1%dC, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, 
  17568.     cuu=\E[%p1%dA, cuu1=\E[A, dch=\E[%p1%dP, dch1=\E[P, 
  17569.     dl=\E[%p1%dM, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 
  17570.     ich=\E[%p1%d@, ich1=\E[@, il=\E[%p1%dL, il1=\E[L, ind=^J, 
  17571.     is2=\E[m, kbs=^H, kcbt=^R^I, kcub1=\E[D, kcud1=\E[B, 
  17572.     kcuf1=\E[C, kcuu1=\E[A, kf1=\E[0s, kf2=\E[24s, kf3=\E[1s, 
  17573.     kf4=\E[23s, kf5=\E[2s, kf6=\E[22s, kf7=\E[3s, kf8=\E[21s, 
  17574.     khome=\E[H, mc4=\E[4i, mc5=\E[5i, op=\E[?;m, rev=\E[7m, 
  17575.     ri=\E[L, rmacs=\E[10m, rs1=\Ec, setb=\E[?;%p1%dm, 
  17576.     setf=\E[?%?%p1%{0}%=%t0%e%p1%{1}%=%t2%e%p1%{1}%-%d%;m, 
  17577.     sgr0=\E[m\E[10m, smacs=\E[11m, smso=\E[1m, smul=\E[4m, 
  17578.  
  17579. # From: <earle@smeagol.UUCP> 29 Oct 85 05:40:18 GMT
  17580. # MS-Kermit with Heath-19 emulation mode enabled
  17581. # (h19k: changed ":pt@:" to ":it@"
  17582. h19k|h19kermit|heathkit emulation provided by Kermit (no auto margin), 
  17583.     am@, da, db, xt, 
  17584.     it@, 
  17585.     ht@, use=h19-u, 
  17586.  
  17587. # Apple Macintosh with Versaterm, a terminal emulator distributed by Synergy
  17588. # Software (formerly Peripherals Computers & Supplies, Inc) of
  17589. # 2457 Perkiomen Ave., Reading, PA 19606, 1-800-876-8376.  They can
  17590. # also be reached at support@synergy.com.
  17591. versaterm|versaterm vt100 emulator for the macintosh, 
  17592.     am, xenl, 
  17593.     cols#80, it#8, lines#24, 
  17594.     bel=^G, blink=\E[5m$<2/>, bold=\E[1m$<2/>, 
  17595.     clear=\E[;H\E[2J$<50/>, cr=^M, csr=\E[%i%p1%d;%p2%dr, 
  17596.     cub1=^H, cud1=^J, cuf1=\E[C$<2/>, 
  17597.     cup=\E[%i%p1%d;%p2%dH$<5/>, cuu1=\E[A$<2/>, 
  17598.     dch1=\E[1P$<7/>, dl1=\E[1M$<9/>, ed=\E[J$<50/>, 
  17599.     el=\E[K$<3/>, home=\E[H, ht=^I, ich1=\E[1@$<7/>, 
  17600.     il1=\E[1L$<9/>, is2=\E[1;24r\E[24;1H, kbs=^H, kcub1=\EOD, 
  17601.     kcud1=\EOB, kcuf1=\EOC, kcuu1=\EOA, kf1=\EOP, kf2=\EOQ, 
  17602.     kf3=\EOR, kf4=\EOS, nel=^M^J, rc=\E8, rev=\E[7m$<2/>, 
  17603.     rf=/usr/share/tabset/vt100, ri=\EM$<5/>, 
  17604.     rmkx=\E>\E[?1l, rmso=\E[m$<2/>, rmul=\E[m$<2/>, rs1=\E>, 
  17605.     sc=\E7, sgr0=\E[m$<2/>, smkx=\E=\E[?1h, smso=\E[7m$<2/>, 
  17606.     smul=\E[4m$<2/>, 
  17607.  
  17608. # From: Rick Thomas <ihnp4!btlunix!rbt>
  17609. # (xtalk: I added <rmam>/<smam> based on the init string.
  17610. xtalk|IBM PC with xtalk communication program (versions up to 3.4), 
  17611.     am, mir, msgr, xon, 
  17612.     cols#80, it#8, lines#24, vt#3, xmc#1, 
  17613.     acsc=``aaffggjjkkllmmnnooppqqrrssttuuvvwwxxyyzz{{||}}~~, 
  17614.     bel=^G, clear=\E[H\E[J$<50>, cr=^M, cub=\E[%p1%dD, cub1=^H, 
  17615.     cud=\E[%p1%dB, cud1=^J, cuf=\E[%p1%dC, cuf1=\E[C$<2>, 
  17616.     cup=\E[%i%p1%d;%p2%dH$<5>, cuu=\E[%p1%dA, 
  17617.     cuu1=\E[A$<2>, dl1=\E[M$<99>, ed=\E[J$<50>, el=\E[K$<3>, 
  17618.     el1=\E[1K$<3>, enacs=\E(B\E)0, home=\E[H, ht=^I, hts=\EH, 
  17619.     il1=\E[L$<99>, ind=^J, ka1=\EOq, ka3=\EOs, kb2=\EOr, kbs=^H, 
  17620.     kc1=\EOp, kc3=\EOn, kcub1=\EOD, kcud1=\EOB, kcuf1=\EOC, 
  17621.     kcuu1=\EOA, kent=\EOM, kf0=\EOy, kf1=\EOP, kf10=\EOx, 
  17622.     kf2=\EOQ, kf3=\EOR, kf4=\EOS, kf5=\EOt, kf6=\EOu, kf7=\EOv, 
  17623.     kf8=\EOl, kf9=\EOw, ri=\EM$<5>, rmacs=^O, rmam=\E[?7l, 
  17624.     rmkx=\E[?1l\E>, rmso=\E[m\s, 
  17625.     rs2=\E>\E[?3l\E[?4l\E[?5l\E[?7h\E[?8h, sgr0=\E[m, 
  17626.     smacs=^N, smam=\E[?7h, smkx=\E[?1h\E=, smso=\E[7m\s, 
  17627.     tbc=\E[3g, 
  17628.  
  17629. # The official PC terminal emulator program of the AT&T Product Centers.
  17630. # Note - insert mode commented out - doesn't seem to work on AT&T PC.
  17631. simterm|attpc running simterm, 
  17632.     am, 
  17633.     cols#80, lines#24, 
  17634.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=\EB, cuf1=\EC, 
  17635.     cup=\E=%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\ER, 
  17636.     dl1=\EM, ed=\EJ, el=\EK, home=\EH, il1=\EL, ind=^J, rmcup=\EVE, 
  17637.     rmso=\E&d@, sgr0=\E&d@, smcup=\EVS, smso=\E&dB, 
  17638.  
  17639. #### Daisy wheel printers
  17640. #
  17641. # This section collects Diablo, DTC, Xerox, Qume, and other daisy
  17642. # wheel terminals.  These are now largely obsolete.
  17643. #
  17644.  
  17645. # (diablo1620: removed <if=/usr/share/tabset/xerox1720>, no such file -- esr)
  17646. diablo1620|diablo1720|diablo450|ipsi|diablo 1620, 
  17647.     hc, os, 
  17648.     cols#132, it#8, 
  17649.     cub1=^H, cud1=^J, cuu1=\E^J, hd=\ED, hpa=\E\011%i%p1%c, 
  17650.     ht=^I, hts=\E1, hu=\EU, kbs=^H, tbc=\E2, 
  17651. diablo1620-m8|diablo1640-m8|diablo 1620 w/8 column left margin, 
  17652.     cols#124, 
  17653.     is2=\r        \E9, use=diablo1620, 
  17654. # (diablo1640: removed <if=/usr/share/tabset/xerox1730>, no such file -- esr)
  17655. diablo1640|diablo1730|diablo1740|diablo630|x1700|diablo|xerox|diablo 1640, 
  17656.     bel=^G, rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, 
  17657.     use=diablo1620, 
  17658. # (diablo1640-lm: removed <if=/usr/share/tabset/xerox1730-lm>, no such 
  17659. # file -- esr)
  17660. diablo1640-lm|diablo-lm|xerox-lm|diablo 1640 with indented left margin, 
  17661.     cols#124, 
  17662.     rmso=\E&, rmul=\ER, smso=\EW, smul=\EE, use=diablo1620, 
  17663. diablo1740-lm|630-lm|1730-lm|x1700-lm|diablo 1740 printer, 
  17664.     use=diablo1640-lm, 
  17665. # DTC 382 with VDU.  Has no <ed> so we fake it with <el>.  Standout
  17666. # <smso=^P\s\002^PF> works but won't go away without dynamite <rmso=^P\s\0>.
  17667. # The terminal has tabs, but I'm getting tired of fighting the braindamage. 
  17668. # If no tab is set or the terminal's in a bad mood, it glitches the screen
  17669. # around all of memory.  Note that return puts a blank ("a return character")
  17670. # in the space the cursor was at, so we use ^P return (and thus ^P newline for
  17671. # newline).  Note also that if you turn off :pt: and let Unix expand tabs,
  17672. # curses won't work (some old BSD versions) because it doesn't clear this bit,
  17673. # and cursor addressing sends a tab for row/column 9.  What a losing terminal!
  17674. # I have been unable to get tabs set in all 96 lines - it always leaves at
  17675. # least one line with no tabs in it, and once you tab through that line,
  17676. # it completely weirds out.
  17677. # (dtc382: change <rmcup> to <smcup> -- it  just does a clear --esr)
  17678. dtc382|DTC 382, 
  17679.     am, da, db, xhp, 
  17680.     cols#80, lines#24, lm#96, 
  17681.     bel=^G, clear=\020\035$<20>, cnorm=^Pb, cr=^P^M, cub1=^H, 
  17682.     cuf1=^PR, cup=\020\021%p2%c%p1%c, cuu1=^P^L, cvvis=^PB, 
  17683.     dch1=^X, dl1=^P^S, ed=\020\025\020\023\020\023, el=^P^U, 
  17684.     home=^P^R, il1=^P^Z, ind=^J, pad=\177, rmcup=, rmir=^Pi, 
  17685.     rmul=^P \0, smcup=\020\035$<20>, smir=^PI, smul=^P ^P, 
  17686. dtc300s|DTC 300s, 
  17687.     hc, os, 
  17688.     cols#132, 
  17689.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
  17690.     hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
  17691. gsi|mystery gsi terminal, 
  17692.     hc, os, 
  17693.     cols#132, 
  17694.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, hd=\Eh, ht=^I, hu=\EH, 
  17695.     ind=^J, 
  17696. aj830|aj832|aj|anderson jacobson, 
  17697.     hc, os, 
  17698.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E7, hd=\E9, hu=\E8, 
  17699.     ind=^J, 
  17700. # From: Chris Torek <chris@gyre.umd.edu> Thu, 7 Nov 85 18:21:58 EST
  17701. aj510|Anderson-Jacobson model 510, 
  17702.     am, mir, 
  17703.     cols#80, lines#24, 
  17704.     clear=^L, cub1=^H, cuf1=\EX, 
  17705.     cup=\E#%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EY, 
  17706.     dch1=.1*\E'D, dl1=\E&D$<2*/>, ed=\E'P, el=\E'L, ich1=, 
  17707.     il1=\E&I$<2*/>, ip=$<.1*/>, kcub1=\EW, kcud1=\EZ, 
  17708.     kcuf1=\EX, kcuu1=\EY, pad=\177, rmcup=\E"N, rmir=\E'J, 
  17709.     rmso=\E"I, rmul=\E"U, smcup=\E"N, smir=\E'I, smso=\E"I, 
  17710.     smul=\E"U, 
  17711. # From: <cbosg!ucbvax!pur-ee!cincy!chris> Thu Aug 20 09:09:18 1981
  17712. # This is incomplete, but it's a start.
  17713. nec5520|nec|spinwriter|nec 5520, 
  17714.     hc, os, 
  17715.     cols#132, it#8, 
  17716.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=\E9, ff=^L, 
  17717.     hd=\E]s\n\E]W, ht=^I, hts=\E1, hu=\E]s\E9\E]W, ind=^J, 
  17718.     kbs=^H, tbc=\E3, 
  17719. qume5|qume|Qume Sprint 5, 
  17720.     hc, os, 
  17721.     cols#80, it#8, 
  17722.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuu1=^Z, ff=^L, hd=\Eh, ht=^I, 
  17723.     hts=\E1, hu=\EH, ind=^J, kbs=^H, tbc=\E3, 
  17724. # I suspect the xerox 1720 is the same as the diablo 1620.
  17725. xerox1720|x1720|x1750|xerox 1720, 
  17726.     hc, os, 
  17727.     cols#132, it#8, 
  17728.     bel=^G, cr=^M, cub1=^H, cud1=^J, ff=^L, ht=^I, hts=\E1, ind=^J, 
  17729.     tbc=\E2, 
  17730.  
  17731. #### Miscellaneous obsolete terminals, manufacturers unknown
  17732. #
  17733. # If you have any information about these (like, a manufacturer's name, 
  17734. # and a date on the serial-number plate) please send it!
  17735.  
  17736. cad68-3|cgc3|cad68 basic monitor transparent mode size 3 chars, 
  17737.     OTbs, am, 
  17738.     cols#73, lines#36, 
  17739.     clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, 
  17740. cad68-2|cgc2|cad68 basic monitor transparent mode size 2 chars, 
  17741.     OTbs, am, 
  17742.     cols#85, lines#39, 
  17743.     clear=^Z, cub1=^H, cuf1=^L, cuu1=^K, home=^^, kcub1=\E3, 
  17744.     kcud1=\E2, kcuf1=\E4, kcuu1=\E1, kf1=\E5, kf2=\E6, kf3=\E7, 
  17745.     kf4=\E8, rmso=\Em^C, smso=\Em^L, 
  17746. cops10|cops|cops-10|cops 10, 
  17747.     am, bw, 
  17748.     cols#80, lines#24, 
  17749.     bel=^G, clear=\030$<30/>, cr=^M, cub1=^H, cud1=^J, cuf1=^L, 
  17750.     cup=\020%p1%{32}%+%c%p2%{32}%+%c, cuu1=^K, ed=^W, el=^V, 
  17751.     ind=^J, kbs=^H, kcub1=^H, kcud1=^J, kcuf1=^L, kcuu1=^K, 
  17752.     khome=^Y, 
  17753. # (d132: removed duplicate :ic=\E5:,
  17754. # merged in capabilities from a BRL entry -- esr)
  17755. d132|datagraphix|datagraphix 132a, 
  17756.     da, db, in, 
  17757.     cols#80, lines#30, 
  17758.     bel=^G, clear=^L, cnorm=\Em\En, cr=^M, cub1=^H, cud1=^J, 
  17759.     cuf1=\EL, cup=\E8%i%p1%3d%p2%3d, cuu1=\EK, cvvis=\Ex, 
  17760.     dch1=\E6, home=\ET, ht=^I, ich1=\E5, il1=\E3, ind=^J, kbs=^H, 
  17761.     kcub1=^H, kcud1=^J, nel=^M^J, ri=\Ew, 
  17762. # The d800 was an early portable terminal from c.1984-85 that looked a lot
  17763. # like the original Compaq `lunchbox' portable (but no handle).  It had a vt220
  17764. # mode (which is what this entry looks like) and several other lesser-known
  17765. # emulations.
  17766. d800|Direct 800/A, 
  17767.     OTbs, am, da, db, msgr, xhp, 
  17768.     cols#80, it#8, lines#24, 
  17769.     acsc=``a1fxgqh0jYk?lZm@nEooppqDrrsstCu4vAwBx3yyzz{{||}}~~, 
  17770.     bel=^G, clear=\E[1;1H\E[2J, cnorm=\E[>12h, cr=^M, cub1=^H, 
  17771.     cud1=^J, cuf1=\E[C, cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, 
  17772.     cvvis=\E[>12l, ed=\E[J, el=\E[K, ht=^I, ind=\ED, kcub1=\E[D, 
  17773.     kcud1=\E[B, kcuf1=\E[C, kcuu1=\E[A, kf1=\EOP, kf2=\EOQ, 
  17774.     kf3=\EOR, kf4=\EOS, kf5=\EOT, kf6=\EOU, kf7=\EOV, kf8=\EOW, 
  17775.     ri=\EM, rmacs=\E[m, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  17776.     smacs=\E[1m, smso=\E[7m, smul=\E[4m, 
  17777. digilog|digilog 333, 
  17778.     OTbs, 
  17779.     cols#80, lines#16, 
  17780.     bel=^G, cr=^M, cub1=^H, cud1=^J, cuf1=^I, cuu1=^O, el=^X, 
  17781.     home=^N, ind=^J, 
  17782. # The DWK was a terminal manufactured in the Soviet Union c.1986
  17783. dwk|dwk-vt|dwk terminal, 
  17784.     am, 
  17785.     cols#80, it#8, lines#24, 
  17786.     acsc=+\^\,Q-S.M0\177`+a\:f'g#h#i#jXkClJmFnNo~qUs_tEuPv\\wKxW~_, 
  17787.     bel=^G, clear=\EH\EJ, cr=^M, cub1=^H, cud1=^J, cuf1=\EC, 
  17788.     cup=\EY%p1%{32}%+%c%p2%{32}%+%c, cuu1=\EA, dch1=\EP, 
  17789.     ed=\EJ, el=\EK, home=\EH, ht=^I, ich1=\EQ, ind=^J, kbs=\177, 
  17790.     kcub1=\ED, kcud1=\EB, kcuf1=\EC, kcuu1=\EA, kdch1=\Ee, 
  17791.     kf1=\Ef1, kf10=\Ef0, kf2=\Ef2, kf3=\Ef3, kf4=\Ef4, kf5=\Ef5, 
  17792.     kf6=\Ef6, kf7=\Ef7, kf8=\Ef8, kf9=\Ef9, kich1=\Ed, knp=\Eh, 
  17793.     kpp=\Eg, nel=^M^J, rev=\ET, ri=\ES, rmacs=\EG, rmso=\EX, 
  17794.     sgr0=\EX, smacs=\EF, smso=\ET, 
  17795. env230|envision230|envision 230 graphics terminal, 
  17796.     xenl@, 
  17797.     mc0=\E[0i, mc4=\E[4i, mc5=\E[5i, 
  17798.     sgr=\E[%?%p1%t;1%;%?%p2%t;4%;%?%p3%t;7%;%?%p4%t;5%;%?%p6%t;1%;m$<2>, 
  17799.     use=vt100, 
  17800. # These execuports were impact-printer ttys with a 30- or maybe 15-cps acoustic
  17801. # coupler attached, the whole rig fitting in a suitcase and more or less
  17802. # portable.  Hot stuff for c.1977 :-) -- esr
  17803. ep48|ep4080|execuport 4080, 
  17804.     OTbs, am, os, 
  17805.     cols#80, 
  17806.     bel=^G, cr=^M, cub1=^H, cud1=^J, hd=^\, hu=^^, ind=^J, 
  17807. ep40|ep4000|execuport 4000, 
  17808.     cols#136, use=ep4080, 
  17809. # Adam Thompson <athompso@pangea.ca> tells us:
  17810. # Informer series - these are all portable units, resembling older
  17811. # automatic bread-baking machines.  The terminal looks like a `clamshell'
  17812. # design, but isn't.  The structure is similar to the Direct terminals,
  17813. # but only half the width.  The entire unit is only about 10" wide.
  17814. # It features an 8" screen (6" or 7" if you have color!), and an 9"x6"
  17815. # keyboard.  All the keys are crammed together, much like some laptop
  17816. # PCs today, but perhaps less well organized...all these units have a
  17817. # bewildering array of plugs on the back, including a built-in modem.
  17818. # The 305 was a color version of the 304; the 306 and 307 were mono and
  17819. # color terminals built for IBM bisync protocols.
  17820. # From: Paul Leondis <unllab@amber.berkeley.edu>
  17821. ifmr|Informer D304, 
  17822.     OTbs, am, 
  17823.     cols#80, lines#24, 
  17824.     clear=\EZ, cub1=^H, cud1=^J, cuf1=\EC, 
  17825.     cup=\EY%p2%{32}%+%c%p1%{32}%+%c, cuu1=\EA, dch1=\E\\, 
  17826.     ed=\E/, el=\EQ, home=\EH, ich1=\E[, ri=\En, rmso=\EK, sgr0=\EK, 
  17827.     smso=\EJ, 
  17828. # Entry largely based on wy60 and has the features of wy60ak.
  17829. opus3n1+|Esprit Opus3n1+ in wy60 mode with ANSI arrow keys, 
  17830.     am, bw, hs, km, mir, msgr, ul, xon, 
  17831.     cols#80, lh#1, lines#24, lw#8, nlab#8, wsl#80, 
  17832.     acsc=0wa_h[jukslrmqnxqzttuyv]wpxv, bel=^G, blink=\EG2, 
  17833.     cbt=\EI, civis=\E`0, clear=\E*$<100>, cnorm=\E`1, cr=^M, 
  17834.     cub1=^H, cud1=^J, cuf1=^L, cup=\Ea%i%p1%dR%p2%dC, cuu1=^K, 
  17835.     dch1=\EW$<11>, dim=\EGp, dl1=\ER$<5>, dsl=\Ez(\r, 
  17836.     ed=\EY$<100>, el=\ET, fsl=^M, home=\036$<2>, ht=\011$<5>, 
  17837.     hts=\E1, if=/usr/share/tabset/std, il1=\EE$<4>, ind=^J, 
  17838.     ip=$<3>, 
  17839.     is2=\E`\:\Ee(\EO\Ee6\Ec41\E~4\Ec21\Ed/\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177\Ezz`\E[F\177\EA1*\EZH12, 
  17840.     kHOM=\E{, kbs=^H, kcbt=\EI, kcub1=\E[D, kcud1=\E[B, 
  17841.     kcuf1=\E[C, kcuu1=\E[A, kdch1=\EW, kdl1=\ER, ked=\EY, 
  17842.     kel=\ET, kend=\E[F, kent=\E7, kf1=^A@\r, kf10=^AI\r, 
  17843.     kf11=^AJ\r, kf12=^AK\r, kf13=^AL\r, kf14=^AM\r, kf15=^AN\r, 
  17844.     kf16=^AO\r, kf2=^AA\r, kf3=^AB\r, kf4=^AC\r, kf5=^AD\r, 
  17845.     kf6=^AE\r, kf7=^AF\r, kf8=^AG\r, kf9=^AH\r, khome=^^, 
  17846.     kich1=\EQ, kil1=\EE, knp=\EK, kpp=\EJ, kprt=\EP, krpl=\Er, 
  17847.     mc0=\EP, mc4=^T, mc5=^R, nel=\r\n$<3>, 
  17848.     pfloc=\EZ2%p1%{63}%+%c%p2%s\177, 
  17849.     pfx=\EZ1%p1%{63}%+%c%p2%s\177, 
  17850.     pln=\Ez%p1%{47}%+%c%p2%s\r, prot=\E), ri=\Ej$<7>, 
  17851.     rmacs=\EH^C, rmam=\Ed., rmcup=, rmir=\Er, rmln=\EA11, 
  17852.     rmxon=\Ec20, rs1=\E~!\E~4$<150>, rs2=\EeF$<150>, 
  17853.     rs3=\EwG\Ee($<150>, 
  17854.     sgr=%?%p8%t\E)%e\E(%;%?%p9%t\EH\002%e\EH\003%;\EG%{48}%?%p2%p6%|%t%{8}%|%;%?%p1%p3%|%p6%|%t%{4}%|%;%?%p4%t%{2}%|%;%?%p1%p5%|%t%{64}%|%;%?%p7%t%{1}%|%;%c, 
  17855.     sgr0=\E(\EH\003\EG0\EcD, smacs=\EH^B, smam=\Ed/, 
  17856.     smcup=\Ezz&\E[A\177\Ezz'\E[B\177\Ezz(\E[D\177\Ezz)\E[C\177\Ezz<\E[Q\177, 
  17857.     smir=\Eq, smln=\EA10, smxon=\Ec21, tbc=\E0, tsl=\Ez(, 
  17858.     uc=\EG8\EG0, use=adm+sgr, 
  17859. teletec|Teletec Datascreen, 
  17860.     OTbs, am, 
  17861.     cols#80, lines#24, 
  17862.     bel=^G, clear=^L, cr=^M, cub1=^H, cud1=^J, cuf1=^_, cuu1=^K, 
  17863.     home=^^, ind=^J, 
  17864. # From: Mark Dornfeld <romwa@ucbvax.berkeley.edu>
  17865. # This description is for the LANPAR Technologies VISION 3220
  17866. # terminal from 1984/85.  The function key definitions k0-k5 represent the
  17867. # edit keypad: FIND, INSERT HERE, REMOVE, SELECT, PREV SCREEN,
  17868. # NEXT SCREEN. The key definitions k6-k9 represent the PF1 to PF4 keys.
  17869. #
  17870. # Kenneth Randell <kenr@datametrics.com> writes on 31 Dec 1998:
  17871. # I had a couple of scopes (3221) like this once where I used to work, around
  17872. # the 1987 time frame if memory serves me correctly.  These scopes were made  
  17873. # by an outfit called LANPAR Technologies, and were meant to me DEC VT 220
  17874. # compatible.  The 3220 was a plain text terminal like the VT-220, the 3221
  17875. # was a like the VT-240 (monochrome with Regis + Sixel graphics), and the 3222
  17876. # was like the VT-241 (color with Regis + Sixel Graphics).  These terminals
  17877. # (3221) cost about $1500 each, and one was always broken -- had to be sent
  17878. # back to the shop for repairs.
  17879. # The only real advantage these scopes had over the VT-240's were:
  17880. # 1) They were faster in the Regis display, or at least the ones I did
  17881. # 2) They had a handy debugging feature where you could split-screen the
  17882. # scope, the graphics would appear on the top, and the REGIS commands would
  17883. # appear on the bottom.  I don't remember the VT-240s being able to do that.
  17884. # I would swear that LANPAR Technologies was in MA someplace, but since I
  17885. # don't work at the same place anymore, and those terminals and manuals were
  17886. # long since junked, I cannot be any more sure than that.
  17887. #
  17888. # (v3220: removed obsolete ":kn#10:",
  17889. # I added <rmam>/<smam> based on the init string -- esr)
  17890. v3220|LANPAR Vision II model 3220/3221/3222, 
  17891.     OTbs, am, mir, xenl, 
  17892.     cols#80, it#8, lines#24, 
  17893.     clear=\E[H\E[J, cub1=^H, cuf1=\E[C, 
  17894.     cup=\E[%i%p1%d;%p2%dH, cuu1=\E[A, dch1=\E[P, dl1=\E[M, 
  17895.     ed=\E[J, el=\E[K, ht=^I, il1=\E[L, 
  17896.     is2=\E>\E[?3l\E[?7h\E[?8h\E[p, kcub1=\E[D, kcud1=\E[B, 
  17897.     kcuf1=\E[C, kcuu1=\E[A, kf0=\E[1~, kf1=\E[2~, kf2=\E[3~, 
  17898.     kf3=\E[4~, kf4=\E[5~, kf5=\E[6~, kf6=\E[OP, kf7=\E[OQ, 
  17899.     kf8=\E[OR, kf9=\E[OS, khome=\E[H, ri=\EM, rmam=\E[?7l, 
  17900.     rmir=\E[4l, rmkx=\E>, rmso=\E[m, rmul=\E[m, sgr0=\E[m, 
  17901.     smam=\E[?7h, smir=\E[4h, smkx=\E=, smso=\E[7m, smul=\E[4m, 
  17902. ######## ICH/ICH1 VERSUS RMIR/SMIR
  17903. #
  17904. # Some non-curses applications get confused if both ich/ich1 and rmir/smir
  17905. # are present; the symptom is doubled characters in an update using insert.
  17906. # These applications are technically correct; in both 4.3BSD termcap and
  17907. # terminfo, you're not actually supposed to specify both ich/ich1 and rmir/smir
  17908. # unless the terminal needs both.  To my knowledge, no terminal still in this
  17909. # file requires both other than the very obsolete dm2500.
  17910. #
  17911. # For ncurses-based applications this is not a problem, as ncurses uses
  17912. # one or the other as appropriate but never mixes the two.  Therefore we
  17913. # have not corrected entries like `linux' and `xterm' that specify both.
  17914. # If you see doubled characters from these, use the linux-nic and xterm-nic
  17915. # entries that suppress ich/ich1.  And upgrade to ncurses!
  17916. #
  17917.  
  17918. ######## VT100/ANSI/ISO 6429/ECMA-48/PC-TERM TERMINAL STANDARDS
  17919. #
  17920. # ANSI X3.64 has been withdrawn and replaced by ECMA-48.  The ISO 6429 and
  17921. # ECMA-48 standards are said to be almost identical, but are not the same
  17922. # as X3.64 (though for practical purposes they are close supersets of it).
  17923. #
  17924. # You can obtain ECMA-48 for free by sending email to helpdesk@ecma.ch
  17925. # requesting the standard(s) you want (i.e. ECMA-48, "Control Functions for
  17926. # Coded Character Sets"), include your snail-mail address, and you should
  17927. # receive the document in due course.  Don't expect an email acknowledgement.
  17928. #
  17929. # Related standards include "X3.4-1977: American National Standard Code for
  17930. # Information Interchange" (the ASCII standard) and "X3.41.1974: 
  17931. # Code-Extension Techniques for Use with the 7-Bit Coded Character Set of
  17932. # American National Standard for Information Interchange."  I believe (but
  17933. # am not certain) that these are effectively identical to ECMA-6 and ECMA-35
  17934. # respectively. 
  17935. #
  17936.  
  17937. #### VT100/ANSI/ECMA-48
  17938. #
  17939. # ANSI Standard (X3.64) Control Sequences for Video Terminals and Peripherals
  17940. # and ECMA-48 Control Functions for Coded Character Sets.
  17941. # Much of the content of this comment is adapted from a table prepared by
  17942. # Richard Shuford, based on a 1984 Byte article.  Terminfo correspondences,
  17943. # discussion of some terminfo-related issues, and updates to capture ECMA-48
  17944. # have been added.  Control functions described in ECMA-48 only are tagged
  17945. # with * after their names.
  17946. #
  17947. # The table is a complete list of the defined ANSI X3.64/ECMA-48 control
  17948. # sequences.  In the main table, \E stands for an escape (\033) character,
  17949. # SPC for space.  Pn stands for a single numeric parameter to be inserted
  17950. # in decimal ASCII.  Ps stands for a list of such parameters separated by
  17951. # semicolons.  Parameter meanings for most parametrized sequences are
  17952. # decribed in the notes.
  17953. #
  17954. # Sequence     Sequence                             Parameter   or
  17955. # Mnemonic     Name              Sequence           Value      Mode   terminfo
  17956. # -----------------------------------------------------------------------------
  17957. # APC  Applicatn Program Command \E _                -         Delim  -
  17958. # BEL  Bell *                    ^G                  -         -      bel
  17959. # BPH  Break Permitted Here *    \E B                -         *      -
  17960. # BS   Backpace *                ^H                  -         EF     -
  17961. # CAN  Cancel *                  ^X                  -         -      -   (A)
  17962. # CBT  Cursor Backward Tab       \E [ Pn Z           1         eF     cbt
  17963. # CCH  Cancel Previous Character \E T                -         -      -
  17964. # CHA  Cursor Horizntal Absolute \E [ Pn G           1         eF     hpa (B)
  17965. # CHT  Cursor Horizontal Tab     \E [ Pn I           1         eF     tab (C)
  17966. # CMD  Coding Method Delimiter * \E
  17967. # CNL  Cursor Next Line          \E [ Pn E           1         eF     nel (D)
  17968. # CPL  Cursor Preceding Line     \E [ Pn F           1         eF     -
  17969. # CPR  Cursor Position Report    \E [ Pn ; Pn R      1, 1      -      -   (E)
  17970. # CSI  Control Sequence Intro    \E [                -         Intro  -
  17971. # CTC  Cursor Tabulation Control \E [ Ps W           0         eF     -   (F)
  17972. # CUB  Cursor Backward           \E [ Pn D           1         eF     cub
  17973. # CUD  Cursor Down               \E [ Pn B           1         eF     cud
  17974. # CUF  Cursor Forward            \E [ Pn C           1         eF     cuf
  17975. # CUP  Cursor Position           \E [ Pn ; Pn H      1, 1      eF     cup (G)
  17976. # CUU  Cursor Up                 \E [ Pn A           1         eF     cuu
  17977. # CVT  Cursor Vertical Tab       \E [ Pn Y           -         eF     -   (H)
  17978. # DA   Device Attributes         \E [ Pn c           0         -      -
  17979. # DAQ  Define Area Qualification \E [ Ps o           0         -      -
  17980. # DCH  Delete Character          \E [ Pn P           1         eF     dch
  17981. # DCS  Device Control String     \E P                -         Delim  -
  17982. # DL   Delete Line               \E [ Pn M           1         eF     dl
  17983. # DLE  Data Link Escape *        ^P                  -         -      -
  17984. # DMI  Disable Manual Input      \E \                -         Fs     -
  17985. # DSR  Device Status Report      \E [ Ps n           0         -      -   (I)
  17986. # DTA  Dimension Text Area *     \E [ Pn ; Pn SPC T  -         PC     -
  17987. # EA   Erase in Area             \E [ Ps O           0         eF     -   (J)
  17988. # ECH  Erase Character           \E [ Pn X           1         eF     ech
  17989. # ED   Erase in Display          \E [ Ps J           0         eF     ed  (J)
  17990. # EF   Erase in Field            \E [ Ps N           0         eF     -
  17991. # EL   Erase in Line             \E [ Ps K           0         eF     el  (J)
  17992. # EM   End of Medium *           ^Y                  -         -      -
  17993. # EMI  Enable Manual Input       \E b                          Fs     -
  17994. # ENQ  Enquire                   ^E                  -         -      -
  17995. # EOT  End Of Transmission       ^D                  -         *      -
  17996. # EPA  End of Protected Area     \E W                -         -      -   (K)
  17997. # ESA  End of Selected Area      \E G                -         -      -
  17998. # ESC  Escape                    ^[                  -         -      -
  17999. # ETB  End Transmission Block    ^W                  -         -      -
  18000. # ETX  End of Text               ^C                  -         -      -
  18001. # FF   Form Feed                 ^L                  -         -      -
  18002. # FNK  Function Key *            \E [ Pn SPC W       -         -      -
  18003. # GCC  Graphic Char Combination* \E [ Pn ; Pn SPC B  -         -      -
  18004. # FNT  Font Selection            \E [ Pn ; Pn SPC D  0, 0      FE     -
  18005. # GSM  Graphic Size Modify       \E [ Pn ; Pn SPC B  100, 100  FE     -   (L)
  18006. # GSS  Graphic Size Selection    \E [ Pn SPC C       none      FE     -
  18007. # HPA  Horz Position Absolute    \E [ Pn `           1         FE     -   (B)
  18008. # HPB  Char Position Backward    \E [ j              1         FE     -
  18009. # HPR  Horz Position Relative    \E [ Pn a           1         FE     -   (M)
  18010. # HT   Horizontal Tab *          ^I                  -         FE     -   (N)
  18011. # HTJ  Horz Tab w/Justification  \E I                -         FE     -
  18012. # HTS  Horizontal Tab Set        \E H                -         FE     hts
  18013. # HVP  Horz & Vertical Position  \E [ Pn ; Pn f      1, 1      FE     -   (G)
  18014. # ICH  Insert Character          \E [ Pn @           1         eF     ich
  18015. # IDCS ID Device Control String  \E [ SPC O          -         *      -
  18016. # IGS  ID Graphic Subrepertoire  \E [ SPC M          -         *      -
  18017. # IL   Insert Line               \E [ Pn L           1         eF     il
  18018. # IND  Index                     \E D                -         FE     -
  18019. # INT  Interrupt                 \E a                -         Fs     -
  18020. # JFY  Justify                   \E [ Ps SPC F       0         FE     -
  18021. # IS1  Info Separator #1 *       ^_                  -         *      -
  18022. # IS2  Info Separator #1 *       ^^                  -         *      -
  18023. # IS3  Info Separator #1 *       ^]                  -         *      -
  18024. # IS4  Info Separator #1 *       ^\                  -         *      -
  18025. # LF   Line Feed                 ^J                  -         -      -
  18026. # LS1R Locking Shift Right 1 *   \E ~                -         -      -
  18027. # LS2  Locking Shift 2 *         \E n                -         -      -
  18028. # LS2R Locking Shift Right 2 *   \E }                -         -      -
  18029. # LS3  Locking Shift 3 *         \E o                -         -      -
  18030. # LS3R Locking Shift Right 3 *   \E |                -         -      -
  18031. # MC   Media Copy                \E [ Ps i           0         -      -   (S)
  18032. # MW   Message Waiting           \E U                -         -      -
  18033. # NAK  Negative Acknowledge *    ^U                  -         *      -
  18034. # NBH  No Break Here *           \E C                -         -      -
  18035. # NEL  Next Line                 \E E                -         FE     nel (D)
  18036. # NP   Next Page                 \E [ Pn U           1         eF     -
  18037. # NUL  Null *                    ^@                  -         -      -
  18038. # OSC  Operating System Command  \E ]                -         Delim  -
  18039. # PEC  Pres. Expand/Contract *   \E Pn SPC Z         0         -      -
  18040. # PFS  Page Format Selection *   \E Pn SPC J         0         -      -
  18041. # PLD  Partial Line Down         \E K                -         FE     -   (T)
  18042. # PLU  Partial Line Up           \E L                -         FE     -   (U)
  18043. # PM   Privacy Message           \E ^                -         Delim  -
  18044. # PP   Preceding Page            \E [ Pn V           1         eF     -
  18045. # PPA  Page Position Absolute *  \E [ Pn SPC P       1         FE     -
  18046. # PPB  Page Position Backward *  \E [ Pn SPC R       1         FE     -
  18047. # PPR  Page Position Forward *   \E [ Pn SPC Q       1         FE     -
  18048. # PTX  Parallel Texts *          \E [ \              -         -      -
  18049. # PU1  Private Use 1             \E Q                -         -      -
  18050. # PU2  Private Use 2             \E R                -         -      -
  18051. # QUAD Typographic Quadding      \E [ Ps SPC H       0         FE     -
  18052. # REP  Repeat Char or Control    \E [ Pn b           1         -      rep
  18053. # RI   Reverse Index             \E M                -         FE     -   (V)
  18054. # RIS  Reset to Initial State    \E c                -         Fs     -
  18055. # RM   Reset Mode *              \E [ Ps l           -         -      -   (W)
  18056. # SACS Set Add. Char. Sep. *     \E [ Pn SPC /       0         -      -
  18057. # SAPV Sel. Alt. Present. Var. * \E [ Ps SPC ]       0         -      -   (X)
  18058. # SCI  Single-Char Introducer    \E Z                -         -      -
  18059. # SCO  Sel. Char. Orientation *  \E [ Pn ; Pn SPC k  -         -      -
  18060. # SCS  Set Char. Spacing *       \E [ Pn SPC g       -         -      -
  18061. # SD   Scroll Down               \E [ Pn T           1         eF     rin
  18062. # SDS  Start Directed String *   \E [ Pn ]           1         -      -
  18063. # SEE  Select Editing Extent     \E [ Ps Q           0         -      -   (Y)
  18064. # SEF  Sheet Eject & Feed *      \E [ Ps ; Ps SPC Y  0,0       -      -
  18065. # SGR  Select Graphic Rendition  \E [ Ps m           0         FE     sgr (O)
  18066. # SHS  Select Char. Spacing *    \E [ Ps SPC K       0         -      -
  18067. # SI   Shift In                  ^O                  -         -      -   (P)
  18068. # SIMD Sel. Imp. Move Direct. *  \E [ Ps ^           -         -      -
  18069. # SL   Scroll Left               \E [ Pn SPC @       1         eF     -
  18070. # SLH  Set Line Home *           \E [ Pn SPC U       -         -      -
  18071. # SLL  Set Line Limit *          \E [ Pn SPC V       -         -      -
  18072. # SLS  Set Line Spacing *        \E [ Pn SPC h       -         -      -
  18073. # SM   Select Mode               \E [ Ps h           none      -      -   (W)
  18074. # SO   Shift Out                 ^N                  -         -      -   (Q)
  18075. # SOH  Start Of Heading *        ^A                  -         -      -
  18076. # SOS  Start of String *         \E X                -         -      -
  18077. # SPA  Start of Protected Area   \E V                -         -      -   (Z)
  18078. # SPD  Select Pres. Direction *  \E [ Ps ; Ps SPC S  0,0       -      -
  18079. # SPH  Set Page Home *           \E [ Ps SPC G       -         -      -
  18080. # SPI  Spacing Increment         \E [ Pn ; Pn SPC G  none      FE     -
  18081. # SPL  Set Page Limit *          \E [ Ps SPC j       -         -      -
  18082. # SPQR Set Pr. Qual. & Rapid. *  \E [ Ps SPC X       0         -      -
  18083. # SR   Scroll Right              \E [ Pn SPC A       1         eF     -
  18084. # SRCS Set Reduced Char. Sep. *  \E [ Pn SPC f       0         -      -
  18085. # SRS  Start Reversed String *   \E [ Ps [           0         -      -
  18086. # SSA  Start of Selected Area    \E F                -         -      -
  18087. # SSU  Select Size Unit *        \E [ Pn SPC I       0         -      -
  18088. # SSW  Set Space Width *         \E [ Pn SPC [       none      -      -
  18089. # SS2  Single Shift 2 (G2 set)   \E N                -         Intro  -
  18090. # SS3  Single Shift 3 (G3 set)   \E O                -         Intro  -
  18091. # ST   String Terminator         \E \                -         Delim  -
  18092. # STAB Selective Tabulation *    \E [ Pn SPC ^       -         -      -
  18093. # STS  Set Transmit State        \E S                -         -      -
  18094. # STX  Start pf Text *           ^B                  -         -      -
  18095. # SU   Scroll Up                 \E [ Pn S           1         eF     indn
  18096. # SUB  Substitute *              ^Z                  -         -      -
  18097. # SVS  Select Line Spacing *     \E [ Pn SPC \       1         -      -
  18098. # SYN  Synchronous Idle *        ^F                  -         -      -
  18099. # TAC  Tabul. Aligned Centered * \E [ Pn SPC b       -         -      -
  18100. # TALE Tabul. Al. Leading Edge * \E [ Pn SPC a       -         -      -
  18101. # TATE Tabul. Al. Trailing Edge* \E [ Pn SPC `       -         -      -
  18102. # TBC  Tab Clear                 \E [ Ps g           0         FE     tbc
  18103. # TCC  Tabul. Centered on Char * \E [ Pn SPC c       -         -      -
  18104. # TSR  Tabulation Stop Remove  * \E [ Pn SPC d       -         FE     -
  18105. # TSS  Thin Space Specification  \E [ Pn SC E        none      FE     -
  18106. # VPA  Vert. Position Absolute   \E [ Pn d           1         FE     vpa
  18107. # VPB  Line Position Backward *  \E [ Pn k           1         FE     -
  18108. # VPR  Vert. Position Relative   \E [ Pn e           1         FE     -   (R)
  18109. # VT   Vertical Tabulation *     ^K                  -         FE     -
  18110. # VTS  Vertical Tabulation Set   \E J                -         FE     -
  18111. # ---------------------------------------------------------------------------
  18112. #
  18113. # Notes:
  18114. #
  18115. # Some control characters are listed in the ECMA-48 standard without 
  18116. # being assigned functions relevant to terminal control there (they 
  18117. # referred to other standards such as ISO 1745 or ECMA-35).  They are listed
  18118. # here anyway for completeness.
  18119. #
  18120. # (A) ECMA-48 calls this "CancelCharacter" but retains the CCH abbreviation.
  18121. #
  18122. # (B) There seems to be some confusion abroad between CHA and HPA.  Most
  18123. # `ANSI' terminals accept the CHA sequence, not the HPA. but terminfo calls
  18124. # the capability (hpa).  ECMA-48 calls this "Cursor Character Absolute" but
  18125. # preserved the CHA abbreviation.
  18126. #
  18127. # (C) CHT corresponds to terminfo (tab).  Usually it has the value ^I.
  18128. # Occasionally (as on, for example, certain HP terminals) this has the HTJ
  18129. # value.  ECMA-48 calls this "Cursor Forward Tabulation" but preserved the
  18130. # CHT abbreviation.
  18131. #
  18132. # (D) terminfo (nel) is usually \r\n rather than ANSI \EE.
  18133. #
  18134. # (E) ECMA-48 calls this "Active Position Report" but preserves the CPR 
  18135. # abbreviation.
  18136. # (F) CTC parameter values: 0 = set char tab, 1 = set line tab, 2 = clear
  18137. # char tab, 3 = clear line tab, 4 = clear all char tabs on current line, 
  18138. # 5 = clear all char tabs, 6 = clear all line tabs.
  18139. #
  18140. # (G) CUP and HVP are identical in effect.  Some ANSI.SYS versions accept
  18141. # HVP, but always allow CUP as an alternate.  ECMA-48 calls HVP "Character
  18142. # Position Absolute" but retains the HVP abbreviation.
  18143. #
  18144. # (H) ECMA calls this "Cursor Line Tabulation" but preserves the CVT
  18145. # abbreviation.
  18146. #
  18147. # (I) DSR parameter values: 0 = ready, 1 = busy, 2 = busy, will send DSR
  18148. # later, 3 = malfunction, 4 = malfunction, will send DSR later, 5 = request
  18149. # DSR, 6 = request CPR response.
  18150. #
  18151. # (J) ECMA calls ED "Erase In Page". EA/ED/EL parameters: 0 = clear to end,
  18152. # 1 = clear from beginning, 2 = clear.
  18153. # (K) ECMA calls this "End of Guarded Area" but preserves the EPA abbreviation.
  18154. #
  18155. # (L) The GSM parameters are vertical and horizontal parameters to scale by.
  18156. #
  18157. # (M) Some ANSI.SYS versions accept HPR, but more commonly `ANSI' terminals
  18158. # use CUF for this function and ignore HPR.  ECMA-48 calls this "Character
  18159. # Position Relative" but retains the HPR abbreviation.
  18160. #
  18161. # (N) ECMA-48 calls this "Character Tabulation" but retains the HT
  18162. # abbreviation.
  18163. #
  18164. # (O) SGR parameter values: 0 = default mode (attributes off), 1 = bold,
  18165. # 2 = dim, 3 = italicized, 4 = underlined, 5 = slow blink, 6 = fast blink,
  18166. # 7 = reverse video, 8 = invisible, 9 = crossed-out (marked for deletion),
  18167. # 10 = primary font, 10 + n (n in 1..9) = nth alternative font, 20 = Fraktur,
  18168. # 21 = double underline, 22 = turn off 2, 23 = turn off 3, 24 = turn off 4,
  18169. # 25 = turn off 5, 26 = proportional spacing, 27 = turn off 7, 28 = turn off
  18170. # 8, 29 = turn off 9, 30 = black fg, 31 = red fg, 32 = green fg, 33 = yellow
  18171. # fg, 34 = blue fg, 35 = magenta fg, 36 = cyan fg, 37 = white fg, 38 = set
  18172. # fg color as in CCIT T.416, 39 = set default fg color, 40 = black bg
  18173. # 41 = red bg, 42 = green bg, 43 = yellow bg, 44 = blue bg, 45 = magenta bg,
  18174. # 46 = cyan bg, 47 = white bg, 48 = set bg color as in CCIT T.416, 39 = set
  18175. # default bg color, 50 = turn off 26, 51 = framed, 52 = encircled, 53 =
  18176. # overlined, 54 = turn off 51 & 52, 55 = not overlined, 56-59 = reserved,
  18177. # 61-65 = variable highlights for ideograms.
  18178. #
  18179. # (P) SI is also called LSO, Locking Shift Zero.
  18180. #
  18181. # (Q) SI is also called LS1, Locking Shift One.
  18182. #
  18183. # (R) Some ANSI.SYS versions accept VPR, but more commonly `ANSI' terminals
  18184. # use CUD for this function and ignore VPR.  ECMA calls it `Line Position
  18185. # Absolute' but retains the VPA abbreviation.
  18186. #
  18187. # (S) MC parameters: 0 = start xfer to primary aux device, 1 = start xfer from
  18188. # primary aux device, 2 = start xfer to secondary aux device, 3 = start xfer
  18189. # from secondary aux device, 4 = stop relay to primary aux device, 5 = 
  18190. # start relay to primary aux device, 6 = stop relay to secondary aux device,
  18191. # 7 = start relay to secondary aux device.
  18192. #
  18193. # (T) ECMA-48 calls this "Partial Line Forward" but retains the PLD
  18194. # abbreviation.
  18195. #
  18196. # (U) ECMA-48 calls this "Partial Line Backward" but retains the PLD
  18197. # abbreviation.
  18198. #
  18199. # (V) ECMA-48 calls this "Reverse Line Feed" but retains the RI abbreviation.
  18200. #
  18201. # (W) RM/SM modes are as follows: 1 = Guarder Area Transfer Mode (GATM), 
  18202. # 2 = Keyboard Action Mode (KAM), 3 = Control Representation Mode (CRM), 
  18203. # 4 = Insertion Replacement Mode, 5 = Status Report Transfer Mode (SRTM),
  18204. # 6 = Erasure Mode (ERM), 7 = Line Editing Mode (LEM), 8 = Bi-Directional
  18205. # Support Mode (BDSM), 9 = Device Component Select Mode (DCSM), 
  18206. # 10 = Character Editing Mode (HEM), 11 = Positioning Unit Mode (PUM),
  18207. # 12 = Send/Receive Mode, 13 = Format Effector Action Mode (FEAM), 
  18208. # 14 = Format Effector Transfer Mode (FETM), 15 = Multiple Area Transfer
  18209. # Mode (MATM), 16 = Transfer Termination Mode, 17 = Selected Area Transfer
  18210. # Mode, 18 = Tabulation Stop Mode, 19 = Editing Boundary Mode, 20 = Line Feed
  18211. # New Line Mode (LF/NL), Graphic Rendition Combination Mode (GRCM), 22 =
  18212. # Zero Default Mode (ZDM).  The EBM and LF/NL modes have actually been removed
  18213. # from ECMA-48's 5th edition but are listed here for reference.
  18214. #
  18215. # (X) Select Alternate Presentation Variants is used only for non-Latin
  18216. # alphabets.
  18217. #
  18218. # (Y) "Select Editing Extent" (SEE) was ANSI "Select Edit Extent Mode" (SEM).
  18219. #
  18220. # (Z) ECMA-48 calls this "Start of Guarded Area" but retains the SPA
  18221. # abbreviation.
  18222. #
  18223. # ---------------------------------------------------------------------------
  18224. # Abbreviations:
  18225. #
  18226. # Intro  an Introducer of some kind of defined sequence; the normal 7-bit
  18227. #        X3.64 Control Sequence Introducer is the two characters "Escape ["
  18228. # Delim  a Delimiter
  18229. # x/y    identifies a character by position in the ASCII table (column/row)
  18230. # eF     editor function (see explanation)
  18231. # FE     format effector (see explanation)
  18232. #
  18233. # F      is a Final character in
  18234. #             an Escape sequence (F from 3/0 to 7/14 in the ASCII table)
  18235. #             a control sequence (F from 4/0 to 7/14)
  18236. # Gs     is a graphic character appearing in strings (Gs ranges from
  18237. #        2/0 to 7/14) in the ASCII table
  18238. # Ce     is a control represented as a single bit combination in the C1 set
  18239. #        of controls in an 8-bit character set
  18240. # C0     the familiar set of 7-bit ASCII control characters
  18241. # C1     roughly, the set of control chars available only in 8-bit systems.
  18242. #        This is too complicated to explain fully here, so read Jim Fleming's
  18243. #        article in the February 1983 BYTE, especially pages 214 through 224.
  18244. # Fe     is a Final character of a 2-character Escape sequence that has an
  18245. #        equivalent representation in an 8-bit environment as a Ce-type
  18246. #        (Fe ranges from 4/0 to 5/15)
  18247. # Fs     is a Final character of a 2-character Escape sequence that is
  18248. #        standardized internationally with identical representation in 7-bit
  18249. #        and 8-bit environments and is independent of the currently
  18250. #        designated C0 and C1 control sets (Fs ranges from 6/0 to 7/14)
  18251. # I      is an Intermediate character from 2/0 to 2/15 (inclusive) in the
  18252. #        ASCII table
  18253. # P      is a parameter character from 3/0 to 3/15 (inclusive) in the ASCII
  18254. #        table
  18255. # Pn     is a numeric parameter in a control sequence, a string of zero or
  18256. #        more characters ranging from 3/0 to 3/9 in the ASCII table
  18257. # Ps     is a variable number of selective parameters in a control sequence
  18258. #        with each selective parameter separated from the other by the code
  18259. #        3/11 (which usually represents a semicolon); Ps ranges from
  18260. #        3/0 to 3/9 and includes 3/11
  18261. #
  18262. # *      Not relevant to terminal control, listed for completeness only.
  18263. # Format Effectors versus Editor Functions
  18264. # A format effector specifies how following output is to be displayed.
  18265. # An editor function allows you to modify the display.  Informally
  18266. # format effectors may be destructive; format effectors should not be.
  18267. # For instance, a format effector that moves the "active position" (the 
  18268. # cursor or equivalent) one space to the left would be useful when you want to
  18269. # create an overstrike, a compound character made of two standard characters
  18270. # overlaid. Control-H, the Backspace character, is actually supposed to be a
  18271. # format effector, so you can do this. But many systems use it in a
  18272. # nonstandard fashion, as an editor function, deleting the character to the
  18273. # left of the cursor and moving the cursor left. When Control-H is assumed to
  18274. # be an editor function, you cannot predict whether its use will create an
  18275. # overstrike unless you also know whether the output device is in an "insert
  18276. # mode" or an "overwrite mode". When Control-H is used as a format effector,
  18277. # its effect can always be predicted. The familiar characters carriage
  18278. # return, linefeed, formfeed, etc., are defined as format effectors.
  18279. #
  18280. # NOTES ON THE DEC VT100 IMPLEMENTATION
  18281. # Control sequences implemented in the VT100 are as follows:
  18282. #      CPR, CUB, CUD, CUF, CUP, CUU, DA, DSR, ED, EL, HTS, HVP, IND,
  18283. #      LNM, NEL, RI, RIS, RM, SGR, SM, TBC
  18284. # plus several private DEC commands.
  18285. # Erasing parts of the display (EL and ED) in the VT100 is performed thus:
  18286. #      Erase from cursor to end of line           Esc [ 0 K    or Esc [ K
  18287. #      Erase from beginning of line to cursor     Esc [ 1 K
  18288. #      Erase line containing cursor               Esc [ 2 K
  18289. #      Erase from cursor to end of screen         Esc [ 0 J    or Esc [ J
  18290. #      Erase from beginning of screen to cursor   Esc [ 1 J
  18291. #      Erase entire screen                        Esc [ 2 J
  18292. #
  18293. # Some brain-damaged terminal/emulators respond to Esc [ J as if it were
  18294. # Esc [ 2 J, but this is wrong; the default is 0.
  18295. # The VT100 responds to receiving the DA (Device Attributes) control
  18296. #      Esc [ c    (or Esc [ 0 c)
  18297. # by transmitting the sequence
  18298. #      Esc [ ? l ; Ps c
  18299. # where Ps is a character that describes installed options.
  18300. # The VT100's cursor location can be read with the DSR (Device Status
  18301. # Report) control
  18302. #      Esc [ 6 n
  18303. # The VT100 reports by transmitting the CPR sequence
  18304. #      Esc [ Pl ; Pc R
  18305. # where Pl is the line number and Pc is the column number (in decimal).
  18306. # The specification for the DEC VT100 is document EK-VT100-UG-003.
  18307.  
  18308. #### ANSI.SYS
  18309. # Here is a description of the color and attribute controls supported in the
  18310. # the ANSI.SYS driver under MS-DOS.  Most console drivers and ANSI
  18311. # terminal emulators for Intel boxes obey these.  They are a proper subset
  18312. # of the ECMA-48 escapes.
  18313. #
  18314. # 0    all attributes off
  18315. # 1    foreground bright
  18316. # 4    underscore on
  18317. # 5    blink on/background bright (not reliable with brown)
  18318. # 7    reverse-video
  18319. # 8    set blank (non-display)
  18320. # 10    set primary font
  18321. # 11    set first alternate font (on PCs, display ROM characters 1-31)
  18322. # 12    set second alternate font (on PCs, display IBM high-half chars)
  18323. #
  18324. #            Color attribute sets
  18325. # 3n    set foreground color       / 0=black, 1=red,     2=green, 3=brown,
  18326. # 4n    set background color       \ 4=blue,  5=magenta, 6=cyan,  7=white
  18327. # Bright black becomes gray.  Bright brown becomes yellow,
  18328. # These coincide with the prescriptions of the ISO 6429/ECMA-48 standard.
  18329. #
  18330. # * If the 5 attribute is on and you set a background color (40-47) it is
  18331. #   supposed to enable bright background.
  18332. #
  18333. # * Many VGA cards (such as the Paradise and compatibles) do the wrong thing
  18334. #   when you try to set a "bright brown" (yellow) background with attribute
  18335. #   5 (you get a blinking yellow foreground instead).  A few displays
  18336. #   (including the System V console) support an attribute 6 that undoes this
  18337. #   braindamage (this is required by iBCS2).
  18338. #
  18339. # * Some older versions of ANSI.SYS have a bug that causes thems to require
  18340. #   ESC [ Pn k as EL rather than the ANSI ESC [ Pn K.  (This is not ECMA-48
  18341. #   compatible.)
  18342.  
  18343. #### Intel Binary Compatibility Standard
  18344. #
  18345. # For comparison, here are the capabilities implied by the Intel Binary 
  18346. # Compatibility Standard for UNIX systems (Intel order number 468366-001).
  18347. # These recommendations are optional.  IBCS2 allows the leading escape to
  18348. # be either the 7-bit \E[ or 8-bit \0233 introducer, in accordance with
  18349. # the ANSI X.364/ISO 6429/ECMA-48 standard.  Here are the iBCS2 capabilities
  18350. # (as described in figure 9-3 of the standard).  Those expressed in the ibcs2
  18351. # terminfo entry are followed with the corresponding capability in parens:
  18352. #
  18353. #    CSI <n>k        disable (n=0) or enable (n=1) keyclick
  18354. #    CSI 2h           lock keyboard
  18355. #    CSI 2i          send screen as input
  18356. #    CSI 2l          unlock keyboard
  18357. #    CSI 6m          enable background color intensity
  18358. #    CSI <0-2>c        reserved
  18359. #    CSI <0-59>m        select graphic rendition
  18360. #    CSI <n>;<m>H    (cup)    cursor to line n and column m
  18361. #    CSI <n>;<m>f        cursor to line n and column m
  18362. #    CSI <n>@    (ich)    insert characters
  18363. #    CSI <n>A    (cuu)    cursor up n lines
  18364. #    CSI <n>B    (cud)    cursor down n lines
  18365. #    CSI <n>C    (cuu)    cursor right n characters
  18366. #    CSI <n>D    (cud)    cursor left n characters
  18367. #    CSI <n>E        cursor down n lines and in first column
  18368. #    CSI <n>F        cursor up n lines and in first column
  18369. #    CSI <n>G    (hpa)    position cursor at column n-1
  18370. #    CSI <n>J    (ed)    erase in display
  18371. #    CSI <n>K    (el)    erase in line
  18372. #    CSI <n>L    (il)    insert line(s)
  18373. #    CSI <n>P    (dch)    delete characters
  18374. #    CSI <n>S    (indn)    scroll up n lines
  18375. #    CSI <n>T    (rin)    scroll down n lines
  18376. #    CSI <n>X    (ech)    erase characters
  18377. #    CSI <n>Z    (cbt)    back up n tab stops
  18378. #    CSI <n>`        cursor to column n on line
  18379. #    CSI <n>a    (cuu)    cursor right n characters
  18380. #    CSI <n>d    (vpa)    cursor to line n
  18381. #    CSI <n>e        cursor down n lines and in first column
  18382. #    CSI <n>g    (cbt)    clear all tabs
  18383. #    CSI <n>z        make virtual terminal n active
  18384. #    CSI ?7h     (smam)    turn automargin on
  18385. #    CSI ?7l     (rmam)    turn automargin off
  18386. #    CSI s             save cursor position
  18387. #    CSI u           restore cursor position to saved value
  18388. #    CSI =<c>A        set overscan color
  18389. #    CSI =<c>F        set normal foreground color
  18390. #    CSI =<c>G        set normal background color
  18391. #    CSI =<c>H        set reverse foreground color
  18392. #    CSI =<c>I        set reverse foreground color
  18393. #    CSI =<c>J        set graphic foreground color
  18394. #    CSI =<c>K        set graphic foreground color
  18395. #    CSI =<n>g    (dispc) display n from alternate graphics character set
  18396. #    CSI =<p>;<d>B        set bell parameters
  18397. #    CSI =<s>;<e>C        set cursor parameters
  18398. #    CSI =<x>D        enable/disable intensity of background color
  18399. #    CSI =<x>E        set/clear blink vs. bold background
  18400. #    CSI 7         (sc)    (sc) save cursor position
  18401. #    CSI 8       (rc)    (rc) restore cursor position to saved value
  18402. #    CSI H        (hts)    (hts) set tab stop
  18403. #    CSI Q<n><string>    define function key string
  18404. #                (string must begin and end with delimiter char)
  18405. #    CSI c       (clear) clear screen
  18406. #
  18407. # The lack of any specification for attributes in SGR (among other things)
  18408. # makes this a wretchedly weak standard. The table above is literally 
  18409. # everything iBSC2 has to say about terminal escape sequences; there is
  18410. # no further discussion of their meaning or how to set the parameters
  18411. # in these sequences at all.
  18412. #
  18413.  
  18414. ######## NONSTANDARD CAPABILITY TRANSLATIONS USED IN THIS FILE
  18415. #
  18416. # The historical termcap file entries were written primarily in 4.4BSD termcap.
  18417. # The 4.4BSD termcap set was substantially larger than the original 4.1BSD set,
  18418. # with the extension names chosen for compatibility with the termcap names
  18419. # assigned in System V terminfo.  There are some variant extension sets out
  18420. # there.  We try to describe them here.
  18421. #
  18422. # XENIX extensions:
  18423. #
  18424. # The XENIX extensions include a set of function-key capabilities as follows:
  18425. #
  18426. #       code    XENIX variable name    terminfo name    name clashes?
  18427. #    ----    -------------------    -------------    -----------------------
  18428. #    CL    key_char_left
  18429. #    CR    key_char_right
  18430. #    CW    key_change_window            create_window
  18431. #    EN    key_end              kend
  18432. #    HM    key_home        khome
  18433. #    HP    ??
  18434. #    LD    key_delete_line      kdl1
  18435. #    LF    key_linefeed                 label_off
  18436. #    NU    key_next_unlocked_cell
  18437. #    PD    key_page_down       knp
  18438. #    PL    ??
  18439. #    PN    start_print        mc5
  18440. #    PR    ??
  18441. #    PS    stop_print        mc4
  18442. #    PU    key_page_up         kpp        pulse
  18443. #    RC    key_recalc                remove_clock
  18444. #    RF    key_toggle_ref                req_for_input
  18445. #    RT    key_return          kent
  18446. #    UP    key_up_arrow               kcuu1       parm_up_cursor
  18447. #    WL    key_word_left
  18448. #    WR    key_word_right
  18449. #
  18450. # The XENIX extensions also include the following character-set and highlight
  18451. # capabilities:
  18452. #
  18453. #    XENIX    terminfo    function
  18454. #    -----    --------    ------------------------------
  18455. #    GS    smacs        start alternate character set
  18456. #    GE    rmacs        end alternate character set
  18457. #    GG            :as:/:ae: glitch (analogous to :sg:/:ug:)
  18458. #    bo    blink        begin blink (not used in /etc/termcap)
  18459. #    be            end blink (not used in /etc/termcap)
  18460. #    bb            blink glitch  (not used in /etc/termcap)
  18461. #    it    dim        begin dim (not used in /etc/termcap)
  18462. #    ie            end dim (not used in /etc/termcap)
  18463. #    ig            dim glitch  (not used in /etc/termcap)
  18464. #
  18465. # Finally, XENIX also used the following forms-drawing capabilities:
  18466. #
  18467. #    single    double  type             ASCII approximation 
  18468. #    ------    ------    -------------    -------------------
  18469. #    GV    Gv    vertical line             |
  18470. #    GH    Gv    horizontal line       -   _
  18471. #    G1    G5    top right corner       _   |
  18472. #    G2    G6    top left corner       | 
  18473. #    G3    G7    bottom left corner         |_
  18474. #    G4    G8    bottom right corner   _|
  18475. #    GD    Gd    down-tick character        T
  18476. #    GL    Gl    left-tick character   -|
  18477. #    GR    Gr    right-tick character       |-
  18478. #    GC    Gc    middle intersection   -|-
  18479. #    GU    Gu    up-tick character          _|_
  18480. #
  18481. # These were invented to take advantage of the IBM PC ROM character set.  One
  18482. # can compose an acsc string from the single-width characters as follows
  18483. #    "j{G4}k{G1}l{G2}m{G3}q{GH}x{GV}t{GR}u{GL}v{GU}w{GD}n{GC}"
  18484. # When translating a termcap file, ncurses tic will do this automatically.
  18485. # The double forms characters don't fit the SVr4 terminfo model.
  18486. #
  18487. # AT&T Extensions:
  18488. #
  18489. # The old AT&T 5410, 5420, 5425, pc6300plus, 610, and s4 entries used a set of
  18490. # nonstandard capabilities.  Its signature is the KM capability, used to name
  18491. # some sort of keymap file.  EE, BO, CI, CV, XS, DS, FL and FE are in this
  18492. # set.  Comments in the original, and a little cross-checking with other AT&T
  18493. # documentation, seem to establish that BO=:mr: (start reverse video), DS=:mh:
  18494. # (start dim), XS=:mk: (secure/invisible mode), EE=:me: (end highlights),
  18495. # FL=:LO: (enable soft labels), FE=:LF: (disable soft labels), CI=:vi: (make
  18496. # cursor invisible), and CV=:ve: (make cursor normal).
  18497. #
  18498. # HP Extensions
  18499. #
  18500. # The HP library (as of mid-1995, their term.h file version 70.1) appears to
  18501. # have the System V capabilities up to SVr1 level.  After that, it supports
  18502. # two nonstandard caps meml and memu corresponding to the old termcap :ml:,
  18503. # :mu: capabilities.  After that, it supports caps plab_norm, label_on,
  18504. # label_off, and key_f11..key_f63 capabilities like SVr4's.  This makes the
  18505. # HP binary format incompatible with SVr4's.
  18506. #
  18507. # IBM Extensions
  18508. #
  18509. # There is a set of nonstandard terminfos used by IBM's AIX operating system.
  18510. # The AIX terminfo library diverged from SVr1 terminfo, and replaces all
  18511. # capabilities following prtr_non with the following special capabilties:
  18512. # box[12], batt[12], colb[0123456789], colf[0123456789], f[01234567], kbtab,
  18513. # kdo, kcmd, kcpn, kend, khlp, knl, knpn, kppn, kppn, kquit, ksel, kscl, kscr,
  18514. # ktab, kmpf[123456789], apstr, ksf1..ksf10, kf11...kf63, kact, topl, btml,
  18515. # rvert, lvert.   Some of these are identical to XPG4/SVr4 equivalents:
  18516. # kcmd, kend, khlp, and kf11...kf63.  Two others (kbtab and ksel) can be
  18517. # renamed (to kcbt and kslt).  The places in the box[12] capabilities
  18518. # correspond to acsc chars, here is the mapping:
  18519. #
  18520. #    box1[0]  = ACS_ULCORNER
  18521. #    box1[1]  = ACS_HLINE    
  18522. #    box1[2]  = ACS_URCORNER
  18523. #    box1[3]  = ACS_VLINE
  18524. #    box1[4]  = ACS_LRCORNER
  18525. #    box1[5]  = ACS_LLCORNER
  18526. #    box1[6]  = ACS_TTEE
  18527. #    box1[7]  = ACS_RTEE
  18528. #    box1[8]  = ACS_BTEE
  18529. #    box1[9]  = ACS_LTEE
  18530. #    box1[10] = ACS_PLUS
  18531. #
  18532. # The box2 characters are the double-line versions of these forms graphics.
  18533. # The AIX binary terminfo format is incompatible with SVr4's.
  18534. #
  18535. # Iris console extensions:
  18536. #
  18537. # HS is half-intensity start; HE is half-intensity end
  18538. # CT is color terminal type (for Curses & rogue)
  18539. # CP is color change escape sequence
  18540. # CZ are color names (for Curses & rogue)
  18541. #
  18542. # The ncurses tic utility recognizes HS as an alias for mh <dim>.
  18543. #
  18544. # TC Extensions:
  18545. #
  18546. # There is a set of extended termcaps associated with something
  18547. # called the "Terminal Control" or TC package created by MainStream Systems,
  18548. # Winfield Kansas.  This one also uses GS/GE for as/ae, and also uses
  18549. # CF for civis and CO for cvvis.  Finally, they define a boolean :ct:
  18550. # that flags color terminals.
  18551. #
  18552. ######## CHANGE HISTORY
  18553. #
  18554. # The last /etc/termcap version maintained by John Kunze was 8.3, dated 8/5/94.
  18555. # Releases 9 and up are maintained by Eric S. Raymond as part of the ncurses
  18556. # project.
  18557. #
  18558. # This file contains all the capability information present in John Kunze's
  18559. # last version of the termcap master file, except as noted in the change 
  18560. # comments at end of file.  Some information about very ancient obsolete
  18561. # capabilities has been moved to comments.  Some all-numeric names of older
  18562. # terminals have been retired.
  18563. #
  18564. # I changed :MT: to :km: (the 4.4BSD name) everywhere.  I commented out some
  18565. # capabilities (EP, dF, dT, dV, kn, ma, ml, mu, xr, xx) that are no longer
  18566. # used by BSD curses.
  18567. #
  18568. # The 9.1.0 version of this file was translated from my lightly-edited copy of
  18569. # 8.3, then mechanically checked against 8.3 using Emacs Lisp code written for
  18570. # the purpose.  Unless the ncurses tic implementation and the Lisp code were
  18571. # making perfectly synchronized mistakes which I then failed to catch by
  18572. # eyeball, the translation was correct and perfectly information-preserving.
  18573. #
  18574. # Major version number bumps correspond to major version changes in ncurses.
  18575. #
  18576. # Here is a log of the changes since then:
  18577. #
  18578. # 9.1.0 (Wed Feb  1 04:50:32 EST 1995):
  18579. #    * First terminfo master translated from 8.3.
  18580. # 9.2.0 (Wed Feb  1 12:21:45 EST 1995):
  18581. #    * Replaced Wyse entries with updated entries supplied by vendor.
  18582. #
  18583. # 9.3.0 (Mon Feb  6 19:14:40 EST 1995):
  18584. #    * Added contact & status info from G. Clark Brown <clark@sssi.com>.
  18585. # 9.3.1 (Tue Feb  7 12:00:24 EST 1995):
  18586. #    * Better XENIX keycap translation.  Describe TC termcaps.
  18587. #    * Contact and history info supplied by Qume.
  18588. # 9.3.2 (Sat Feb 11 23:40:02 EST 1995):
  18589. #    * Raided the Shuford FTP site for recent termcaps/terminfos.
  18590. #    * Added information on X3.64 and VT100 standard escape sequences.
  18591. # 9.3.3 (Mon Feb 13 12:26:15 EST 1995):
  18592. #    * Added a correct X11R6 xterm entry.
  18593. #    * Fixed terminfo translations of padding.
  18594. # 9.3.4 (Wed Feb 22 19:27:34 EST 1995):
  18595. #    * Added correct acsc/smacs/rmacs strings for vt100 and xterm.
  18596. #    * Added u6/u7/u8/u9 capabilities.
  18597. #    * Added PCVT entry.
  18598. # 9.3.5 (Thu Feb 23 09:37:12 EST 1995):
  18599. #    * Emacs uses :so:, not :mr:, for its mode line.  Fix linux entry
  18600. #      to use reverse-video standout so Emacs will look right.
  18601. #    * Added el1 capability to ansi.
  18602. #    * Added smacs/rmacs to ansi.sys.
  18603. #
  18604. # 9.4.0 (Sat Feb 25 16:43:25 EST 1995):
  18605. #    * New mt70 entry.
  18606. #    * Added COPYRIGHTS AND OTHER DELUSIONS.
  18607. #    * Added AT&T 23xx & 500/513, vt220 and vt420, opus3n1+, netronics
  18608. #      smartvid & smarterm, ampex 175 & 219 & 232,
  18609. #      env230, falco ts100, fluke, intertube, superbrain, ncr7901, vic20,
  18610. #      ozzie, trs200, tr600, Tandy & Texas Instruments VDTs, intext2,
  18611. #      screwpoint, fviewpoint, Contel Business Systems, Datamedia Colorscan,
  18612. #      adm36, mime314, ergo4000, ca22851.  Replaced att7300, esprit, dd5500.
  18613. #    * Replaced the Perkin-Elmer entries with vendor's official ones.
  18614. #    * Restored the old minimal-ansi entry, luna needs it.
  18615. #    * Fixed some incorrect ip and proportional-padding translations.
  18616. # 9.4.1 (Mon Feb 27 14:18:33 EST 1995):
  18617. #    * Fix linux & AT386 sgr strings to do A_ALTCHARSET turnoff correctly.
  18618. #    * Make the xterm entry 65 lines again; create xterm25 and xterm24
  18619. #      to force a particular height.
  18620. #    * Added beehive4 and reorganized other Harris entries.
  18621. # 9.4.2 (Thu Mar  9 01:45:44 EST 1995):
  18622. #    * Merged in DEC's official entries for its terminals.  The only old
  18623. #      entry I kept was Doug Gwyn's alternate vt100 (as vt100-avo).
  18624. #    * Replaced the translated BBN Bitgraph entries with purpose-built
  18625. #      ones from AT&T's SVr3.
  18626. #    * Replaced the AT&T entries with AT&T's official terminfos.
  18627. #    * Added teleray 16, vc415, cops10. 
  18628. #    * Merged in many individual capabilities from SCO terminfo files.
  18629. # 9.4.3 (Mon Mar 13 02:37:53 EST 1995):
  18630. #    * Typo fixes.
  18631. #    * Change linux entry so A_PROTECT enables IBM-PC ROM characters.
  18632. # 9.4.4 (Mon Mar 27 12:32:35 EST 1995):
  18633. #    * Added tty35, Ann Arbor Guru series. vi300 and 550, cg7900, tvi803,
  18634. #      pt210, ibm3164, IBM System 1, ctrm, Tymshare scanset, dt200, adm21,
  18635. #      simterm, citoh and variants.
  18636. #    * Replaced sol entry with sol1 and sol2.
  18637. #    * Replaced Qume QVT and Freedom-series entries with purpose-built
  18638. #      terminfo entries.
  18639. #    * Enhanced vt220, tvi910, tvi924, hpterm, hp2645, adm42, tek
  18640. #      and dg200 entries using caps from from SCO.
  18641. #    * Added the usual set of function-key mappings to ANSI entry.
  18642. #    * Corrected xterm's function-key capabilities.
  18643. # 9.4.5 (Tue Mar 28 14:27:49 EST 1995):
  18644. #    * Fix in xterm entry, cub and cud are not reliable under X11R6.
  18645. # 9.4.6 (Thu Mar 30 14:52:15 EST 1995):
  18646. #    * Fix in xterm entry, get the arrow keys right.
  18647. #    * Change some \0 escapes to \200.
  18648. # 9.4.7 (Tue Apr  4 11:27:11 EDT 1995)
  18649. #    * Added apple (Videx card), adm1a, oadm31.
  18650. #    * Fixed malformed ampex csr.
  18651. #    * Fixed act4, cyb110; they had old-style prefix padding left in. 
  18652. #    * Changed mandatory to advisory padding in many entries.
  18653. #    * Replaced HP entries up to hpsub with purpose-built ones.
  18654. #    * Blank rmir/smir/rmdc/smdc capabilities removed.
  18655. #    * Small fixes merged in from SCO entries for lpr, fos, tvi910+, tvi924.
  18656. # 9.4.8 (Fri Apr  7 09:36:34 EDT 199):
  18657. #    * Replaced the Ann Arbor entries with SCO's, the init strings are
  18658. #      more efficient (but the entries otherwise identical).
  18659. #    * Added dg211 from Shuford archive.
  18660. #    * Added synertek, apple-soroc, ibmpc, pc-venix, pc-coherent, xtalk,
  18661. #      adm42-nl, pc52, gs6300, xerox820, uts30.
  18662. #    * Pull SCO's padding into vi200 entry.
  18663. #    * Improved capabilities for tvi4107 and other Televideo and Viewpoint
  18664. #      entries merged in from SCO's descriptions.
  18665. #    * Fixed old-style prefix padding on zen50, h1500.
  18666. #    * Moved old superbee entry to superbee-xsb, pulled in new superbee
  18667. #      entry from SCO's description.
  18668. #    * Reorganized the special entries.
  18669. #    * Added lm#0 to cbunix and virtual entries.
  18670. #
  18671. # 9.5.0 (Mon Apr 10 11:30:00 EDT 1995):
  18672. #    * Restored cdc456tst.
  18673. #    * Fixed sb1 entry, SCO erroneously left out the xsb glitch.
  18674. #    * Added megatek, beacon, microkit.
  18675. #    * Freeze for ncurses-1.9 release.
  18676. # 9.5.1 (Fri Apr 21 12:46:42 EDT 1995):
  18677. #    * Added historical data for TAB.
  18678. #    * Comment fixes from David MacKenzie.
  18679. #    * Added the new BSDI pc3 entry.
  18680. # 9.5.2 (Tue Apr 25 17:27:52 EDT 1995)
  18681. #    * A change in the tic -C logic now ensures that all entries in 
  18682. #      the termcap translation will fit in < 1024 bytes.
  18683. #    * Added `bobcat' and `gator' HP consoles and the Nu machine entries
  18684. #      from GNU termcap file.  This merges in all their local information.
  18685. # 9.5.3 (Tue Apr 25 22:28:13 EDT 1995)
  18686. #    * Changed tic -C logic to dump all capabilities used by GNU termcap.
  18687. #    * Added warnings about entries with long translations (restoring
  18688. #      all the GNU termcaps pushes a few over the edge).
  18689. # 9.5.4 (Wed Apr 26 15:35:09 EDT 1995)
  18690. #    * Yet another tic change, and a couple of entry tweaks, to reduce the
  18691. #      number of long (> 1024) termcap translations back to 0.
  18692. #
  18693. # 9.6.0 (Mon May  1 10:35:54 EDT 1995)
  18694. #    * Added kf13-kf20 to Linux entry.
  18695. #    * Regularize Prime terminal names.
  18696. #    * Historical data on Synertek.
  18697. #    * Freeze for ncurses-1.9.1.
  18698. # 9.6.1 (Sat May  6 02:00:52 EDT 1995):
  18699. #    * Added true xterm-color entry, renamed djm's pseudo-color entry.
  18700. #    * Eliminate whitespace in short name fields, this tanks some scripts.
  18701. #    * Name field changes to shorten some long entries.
  18702. #    * Termcap translation now automatically generates empty rmir/smir
  18703. #      when ich1/ich is present (copes with an ancient vi bug).
  18704. #    * Added `screen' entries from FSF's screen-3.6.2.
  18705. #    * Added linux-nic and xterm-nic entries.
  18706. # 9.6.2 (Sat May  6 17:00:55 EDT 1995):
  18707. #    * Change linux entry to use smacs=\E[11m and have an explicit acsc,
  18708. #      eliminating some special-case code in ncurses.
  18709. #
  18710. # 9.7.0 (Tue May  9 18:03:12 EDT 1995):
  18711. #    * Added vt320-k3, rsvidtx from the Emacs termcap.dat file.  I think
  18712. #      that captures everything unique from it.
  18713. #    * Added reorder script generator.
  18714. #    * Freeze for ncurses 1.9.2 release.
  18715. # 9.7.1 (Thu Jun 29 09:35:22 EDT 1995):
  18716. #    * Added Sean Farley's kspd, flash, rs1 capabilities for linux.
  18717. #    * Added Olaf Siebert's corrections for adm12.
  18718. #    * ansi-pc-color now includes the colors and pairs caps, so that
  18719. #      entries which use it will inherit them automatically.
  18720. #    * The linux entry can now recognize the center (keypad 5) key.
  18721. #    * Removed some junk that found its way into Linux acsc.
  18722. #
  18723. # 9.8.0 (Fri Jul  7 04:46:57 EDT 1995):
  18724. #    * Add 50% cut mark as a desperate hack to reduce tic's core usage.
  18725. #    * xterm doesn't try to use application keypad mode any more.
  18726. #    * Freeze for ncurses-1.9.3 release.
  18727. # 9.8.1 (Thu Jul 19 17:02:12 EDT 1995):
  18728. #    * Added corrected sun entry from vendor.
  18729. #    * Added csr capability to linux entry.
  18730. #    * Peter Wemm says the at386 hpa should be \E[%i%p1%dG, not \E[%p1%dG.
  18731. #    * Added vt102-nsgr to cope with stupid IBM PC `VT100' emulators.
  18732. #    * Some commented-out caps in long entries come back in, my code 
  18733. #      for computing string-table lengths had a bug in it.
  18734. #    * pcansi series modified to fit comm-program reality better.
  18735. # 9.8.2 (Sat Sep  9 23:35:00 EDT 1995):
  18736. #    * BSD/OS actually ships the ibmpc3 bold entry as its console.
  18737. #    * Correct some bad aliases in the pcansi series
  18738. #    * Added entry for QNX console.
  18739. #    * Clean up duplicate long names for use with 4.4 library.
  18740. #    * Change vt100 standout to be normal reverse vide, not bright reverse;
  18741. #      this makes the Emacs status line look better.
  18742. # 9.8.3 (Sun Sep 10 13:07:34 EDT 1995):
  18743. #    * Added Adam Thompson's VT320 entries, also his dtx-sas and z340.
  18744. #    * Minor surgery, mostly on name strings, to shorten termcap version.
  18745. #
  18746. # 9.9.0 (Sat Sep 16 23:03:48 EDT 1995):
  18747. #    * Added dec-vt100 for use with the EWAN emulator.
  18748. #    * Added kmous to xterm for use with xterm's mouse-tracking facility.
  18749. #    * Freeze for 1.9.5 alpha release.
  18750. # 9.9.1 (Wed Sep 20 13:46:09 EDT 1995):
  18751. #    * Changed xterm lines to 24, the X11R6 default.
  18752. # 9.9.2 (Sat Sep 23 21:29:21 EDT 1995):
  18753. #    * Added 7 newly discovered, undocumented acsc characters to linux
  18754. #      entry (the pryz{|} characters).
  18755. #    * ncurses no longer steals A_PROTECT.  Simplify linux sgr accordingly.
  18756. #    * Correct two typos in the xterm entries introduced in 9.9.1.
  18757. #    * I finally figured out how to translate ko capabilities.  Done.
  18758. #    * Added tvi921 entries from Tim Theisen.
  18759. #    * Cleanup: dgd211 -> dg211, adm42-nl -> adm42-nsl.
  18760. #    * Removed mystery tec entry, it was neither interesting nor useful.
  18761. #    * shortened altos3, qvt203, tvi910+, tvi92D, tvi921-g, tvi955, vi200-f,
  18762. #      vi300-ss, att505-24, contel301, dm3045, f200vi, pe7000c, vc303a,
  18763. #      trs200, wind26, wind40, wind50, cdc456tst, dku7003, f110, dg211,
  18764. #      by making them relative to use capabilities
  18765. #    * Added cuf1=^L to tvi925 from deleted variant tvi925a.
  18766. #    * fixed cup in adm22 entry and parametrized strings in vt320-k3.
  18767. #    * added it#8 to entries that used to have :pt: -- tvi912, vi200,
  18768. #      ampex80,
  18769. #    * Translate all home=\E[;H capabilities to home=\E[H, they're 
  18770. #      equivalent.
  18771. #    * Translate \E[0m -> \E[m in [rs]mso, [rs]mul, and init strings of
  18772. #      vt100 and ANSI-like terminals.
  18773. # 9.9.3 (Tue Sep 26 20:11:15 EDT 1995):
  18774. #    * Added it#8 and ht=\t to *all* entries with :pt:; the ncurses tic
  18775. #      does this now, too.
  18776. #    * fviewpoint is gone, it duplicated screwpoint.
  18777. #    * Added hp2627, graphos, graphos-30, hpex, ibmega, ibm8514, ibm8514-c,
  18778. #      ibmvga, ibmvga-c, minix, mm340, mt4520-rv, screen2, screen3, 
  18779. #      versaterm, vi500, vsc, vt131, vt340, vt400 entries from UW.
  18780. #      The UW vi50 replaces the old one, which becomes vi50adm,
  18781. #    * No more embedded commas in name fields.
  18782. #
  18783. # 9.10.0 (Wed Oct  4 15:39:37 EDT 1995):
  18784. #    * XENIX forms characters in fos, trs16, scoansi become acsc strings,
  18785. #    * Introduced klone+* entries for describing Intel-console behavior.
  18786. #    * Linux kbs is default-mapped to delete for some brain-dead reason.
  18787. #    * -nsl -> -ns.  The -pp syntax is obsolete.
  18788. #    * Eliminate [A-Z]* primaries in accordance with SVr4 terminfo docs.
  18789. #    * Make xterm entry do application-keypad mode again.  I got complaints
  18790. #      that it was messing up someone's 3270 emulator.
  18791. #    * Added some longname fields in order to avoid warning messages from
  18792. #      older tic implementations.
  18793. #    * According to ctlseqs.ms, xterm has a full vt100 graphics set.  Use
  18794. #      it! (This gives us pi, greater than, less than, and a few more.)
  18795. #    * Freeze for ncurses-1.9.6 release.
  18796. # 9.10.1 (Sat Oct 21 22:18:09 EDT 1995):
  18797. #    * Add xon to a number of console entries, they're memory-mapped and
  18798. #      don't need padding.
  18799. #    * Correct the use dependencies in the ansi series.
  18800. #    * Hand-translate more XENIX capabilities.
  18801. #    * Added hpterm entry for HP's X terminal emulator.
  18802. #    * Added aixterm entries.
  18803. #    * Shortened four names so everything fits in 14 chars.  
  18804. #
  18805. # 9.11.0 (Thu Nov  2 17:29:35 EST 1995):
  18806. #    * Added ibcs2 entry and info on iBCS2 standard.
  18807. #    * Corrected hpa/vpa in linux entry.  They still fail the worm test.
  18808. #    * We can handle the HP meml/memu capability now.
  18809. #    * Added smacs to klone entries, just as documentation.
  18810. #    * Carrected ansi.sys and cit-500 entries.
  18811. #    * Added z39, vt320-k311, v220c, and avatar entries.
  18812. #    * Make pcansi use the ansi.sys invis capability.
  18813. #    * Added DIP switch descriptions for vt100, adm31, tvi910, tvi920c,
  18814. #      tvi925, tvi950, dt80, ncr7900i, h19.
  18815. #    * X3.64 has been withdrawn, change some references.
  18816. #    * Removed function keys from ansi-m entry.
  18817. #    * Corrected ansi.sys entry.
  18818. #    * Freeze for ncurses-1.9.7 release.
  18819. # 9.11.1 (Tue Nov  6 18:18:38 EST 1995):
  18820. #    * Added rmam/smam capabilities to many entries based on init strings.
  18821. #    * Added correct hpa/vpa to linux.
  18822. #    * Reduced several entries relative to vt52.
  18823. # 9.11.2 (Tue Nov  7 00:21:06 EST 1995):
  18824. #    * Exiled some utterly unidentifiable custom and homebrew types to the
  18825. #      UFO file; also, obsolete small-screen hardware; also, entries which
  18826. #      look flat-out incorrect, garbled, or redundant.  These include the
  18827. #      following entries: carlock, cdc456tst, microkit, qdss, ramtek, tec, 
  18828. #      tec400, tec500, ubell, wind, wind16, wind40, wind50, plasma, agile,
  18829. #      apple, bch, daleblit, nucterm, ttywilliams, nuterminal, nu24, bnu,
  18830. #      fnu, nunix-30, nunix-61, exidy, ex3000, sexidy, pc52, sanyo55, 
  18831. #      yterm10, yterm11, yterm10nat, aed, aed-ucb, compucolor, compucolor2, 
  18832. #      vic20, dg1, act5s, netx, smartvid, smarterm, sol, sol2, dt200, 
  18833. #      trs80, trs100, trs200, trs600, xitex, rsvidtx, vid, att2300-x40, 
  18834. #      att2350-x40, att4410-nfk, att5410-ns, otty5410, att5425-nl-w, 
  18835. #      tty5425-fk, tty5425-w-fk, cita, c108-na, c108-rv-na, c100-rv-na, 
  18836. #      c108-na-acs, c108-rv-na-acs, ims950-ns, infotonKAS, ncr7900i-na, 
  18837. #      regent60na, scanset-n, tvi921-g, tvi925n, tvi925vbn, tvi925vb, 
  18838. #      vc404-na, vc404-s-na, vt420nam, vt420f-nam, vt420pc-nam, vt510nam, 
  18839. #      vt510pc-nam, vt520nam, vt525nam, xterm25, xterm50, xterm65, xterms.
  18840. #    * Corrected pcvt25h as suggested by Brian C. Grayson
  18841. #      <bgrayson@pine.ece.utexas.edu>.
  18842. # 9.11.3 (Thu Nov  9 12:14:40 EST 1995):
  18843. #    * Added kspd=\E[P, kcbt=\E[Z, to linux entry, changed kbs back to ^H. 
  18844. #    * Added kent=\EOM to xterm entry.
  18845. #
  18846. # 9.11.4 (Fri Nov 10 08:31:35 EST 1995):
  18847. #    * Corrected gigi entry.
  18848. #    * Restored cuf/cud1 to xterm, their apparent bugginess was due to
  18849. #      bad hpa/vpa capabilities.
  18850. #    * Corrected flash strings to have a uniform delay of .2 sec.  No
  18851. #      more speed-dependent NUL-padding!
  18852. #    * terminfo capabilities in comments bracketed with <>.
  18853. # 9.11.5 (Fri Nov 10 15:35:02 EST 1995):
  18854. #    * Replaced pcvt with the 3.31 pcvt entries.
  18855. #    * Freeze for 1.9.7a.
  18856. # 9.11.6 (Mon Nov 13 10:20:24 EST 1995):
  18857. #    * Added emu entry from the X11R6 contrib tape sources.
  18858. #
  18859. # 9.12.0 (Wed Nov 29 04:22:25 EST 1995):
  18860. #    * Improved iris-ansi and sun entries.
  18861. #    * More flash string improvements.
  18862. #    * Corrected wy160 & wy160 as suggested by Robert Dunn
  18863. #    * Added dim to at386.  
  18864. #    * Reconciled pc3 and ibmpc3 with the BSDI termcap file.  Keith says
  18865. #      he's ready to start using the termcap generated from this one.
  18866. #    * Added vt102-w, vt220-w, xterm-bold, wyse-vp, wy75ap, att4424m,
  18867. #      ln03, lno3-w, h19-g, z29a*, qdss.  Made vt200 an alias of vt220.
  18868. #    * Improved hpterm, apollo consoles, fos, qvt101, tvi924. tvi925,
  18869. #      att610, att620, att630, 
  18870. #    * Changed hazeltine name prefix from h to hz.
  18871. #    * Sent t500 to the UFI file.
  18872. #    * I think we've sucked all the juice out of BSDI's termcap file now.
  18873. #    * Freeze for ncurses 1.9.8 release
  18874. # 9.12.1 (Thu Nov 30 03:14:06 EST 1995)
  18875. #    * Unfreeze, linux kbs needed to be fixed.
  18876. #    * Tim Theisen pinned down a bug in the DMD firmware.
  18877. # 9.12.2 (Thu Nov 30 19:08:55 EST 1995):
  18878. #    * Fixes to ansi and klone capabilities (thank you, Aaron Ucko).
  18879. #      (The broken ones had been shadowed by sgr.)
  18880. # 9.12.3 (Thu Dec  7 17:47:22 EST 1995):
  18881. #    * Added documentation on ECMA-48 standard.
  18882. #    * New Amiga entry.
  18883. # 9.12.4 (Thu Dec 14 04:16:39 EST 1995):
  18884. #    * More ECMA-48 stuff
  18885. #    * Corrected typo in minix entry, added pc-minix.
  18886. #    * Corrected khome/kend in xterm (thank you again, Aaron Ucko).
  18887. #    * Added rxvt entry.
  18888. #    * Added 1.3.x color-change capabilities to linux entry.
  18889. # 9.12.5 (Tue Dec 19 00:22:10 EST 1995):
  18890. #    * Corrected rxvt entry khome/kend.
  18891. #    * Corrected linux color change capabilities.
  18892. #    * NeXT entries from Dave Wetzel.
  18893. #    * Cleaned up if and rf file names (all in /usr/share now).
  18894. #    * Changed linux op capability to avoid screwing up a background color
  18895. #      pair set by setterm.
  18896. # 9.12.6 (Wed Feb  7 16:14:35 EST 1996):
  18897. #    * Added xterm-sun.
  18898. # 9.12.7 (Fri Feb  9 13:27:35 EST 1996):
  18899. #    * Added visa50.
  18900. #
  18901. # 9.13.0 (Sun Mar 10 00:13:08 EST 1996):
  18902. #    * Another sweep through the Shuford archive looking for new info.
  18903. #    * Added dg100 alias to dg6053 based on a comp.terminals posting.
  18904. #     * Added st52 from Per Persson.
  18905. #    * Added eterm from the GNU Emacs 19.30 distribution.
  18906. #    * Freeze for 1.9.9.
  18907. # 9.13.1 (Fri Mar 29 14:06:46 EST 1996):
  18908. #    * FreeBSD console entries from Andrew Chernov.
  18909. #    * Removed duplicate Atari st52 name.
  18910. # 9.13.2 (Tue May  7 16:10:06 EDT 1996)
  18911. #    * xterm doesn't actually have ACS_BLOCK.
  18912. #    * Change klone+color setf/setb to simpler forms that can be
  18913. #      translated into termcap.
  18914. #    * Added xterm1.
  18915. #    * Removed mechanically-generated junk capabilities from cons* entries.
  18916. #    * Added color support to bsdos.
  18917. # 9.13.3 (Thu May  9 10:35:51 EDT 1996):
  18918. #    * Added Wyse 520 entries from Wm. Randolph Franklin <wrf@ecse.rpi.edu>.
  18919. #    * Created ecma+color, linux can use it.  Also added ech to linux.
  18920. #    * Teach xterm about more keys. Add Thomas Dickey's 3.1.2E updates.
  18921. #    * Add descriptions to FreeBSD console entries.  Also shorten
  18922. #      some aliases to <= 14 chars for portability.
  18923. #    * Added x68k console
  18924. #    * Added OTbs to several VT-series entries.
  18925. # 9.13.4 (Wed May 22 10:54:09 EDT 1996):
  18926. #    * screen entry update for 3.7.1 from Michael Alan Dorfman.
  18927. # 9.13.5 (Wed Jun  5 11:22:41 EDT 1996):
  18928. #    * kterm correction due to Kenji Rikitake.
  18929. #    * ACS correction in vt320-kll due to Phillippe De Muyter.
  18930. # 9.13.6 (Sun Jun 16 15:01:07 EDT 1996):
  18931. #    * Sun console entry correction from J.T. Conklin.
  18932. #    * Changed all DEC VT300 and up terminals to use VT300 tab set
  18933. # 9.13.7 (Mon Jul  8 20:14:32 EDT 1996):
  18934. #    * Added smul to linux entry (we never noticed it was missing 
  18935. #      because of sgr!).
  18936. #    * Added rmln to hp+labels (deduced from other HP entries).
  18937. #    * Added vt100 acsc capability to vt220, vt340, vt400, d800, dt80-sas,
  18938. #      pro350, att7300, 5420_2, att4418, att4424, att4426, att505, vt320-k3.
  18939. #    * Corrected vt220 acsc.
  18940. #    * The klone+sgr and klone+sgr-dumb entries now use klone+acs;
  18941. #      this corresponds to reality and helps prevent some tic warnings.
  18942. #    * Added sgr0 to c101, pcix, vt100-nav, screen2, oldsun, next, altos2,
  18943. #      hpgeneric, hpansi, hpsub, hp236, hp700-wy, bobcat, dku7003, adm11,
  18944. #      adm12, adm20, adm21, adm22, adm31, adm36, adm42, pt100, pt200,
  18945. #      qvt101, tvi910, tvi921, tvi92B, tvi925, tvi950, tvi970, wy30-mc,
  18946. #      wy50-mc, wy100, wyse-vp, ampex232, regent100, viewpoint, vp90,
  18947. #      adds980, cit101, cit500, contel300, cs10, dm80, falco, falco-p, 
  18948. #      f1720a, go140, sb1, superbeeic, microb, ibm8512, kt7, ergo4000,
  18949. #      owl, uts30, dmterm, dt100, dt100, dt110, appleII, apple-videx,
  18950. #      lisa, trsII, atari, st52, pc-coherent, basis, m2-man, bg2.0, bg1.25,
  18951. #      dw3, ln03, ims-ansi, graphos, t16, zen30, xtalk, simterm, d800,
  18952. #      ifmr, v3220, wy100q, tandem653, ibmaed.
  18953. #    * Added DWK terminal description.
  18954. # 9.13.8 (Wed Jul 10 11:45:21 EDT 1996):
  18955. #    * Many entries now have highlights inherited from adm+sgr.
  18956. #    * xterm entry now corresponds to XFree86 3.1.2E, with color.
  18957. #    * xtitle and xtitle-twm enable access to the X status line.
  18958. #    * Added linux-1.3.6 color palette caps in conventional format.
  18959. #    * Added adm1178 terminal.
  18960. #    * Move fos and apollo terminals to obsolete category.
  18961. #    * Aha! The BRL terminals file told us what the Iris extensions mean.
  18962. #    * Added, from the BRL termcap file: rt6221, rt6221-w, northstar,
  18963. #      commodore, cdc721-esc, excel62, osexec.  Replaced from the BRL file:
  18964. #      cit500, adm11. 
  18965. # 9.13.9 (Mon Jul 15 00:32:51 EDT 1996):
  18966. #    * Added, from the BRL termcap file: cdc721, cdc721l, cdc752, cdc756,
  18967. #      aws, awsc, zentec8001, modgraph48, rca vp3301/vp3501, ex155.
  18968. #    * Corrected, from BRL termcap file: vi50.
  18969. #    * Better rxvt entry & corrected xterm entries from Thomas Dickey.
  18970. # 9.13.10 (Mon Jul 15 12:20:13 EDT 1996):
  18971. #    * Added from BRL: cit101e & variants, hmod1, vi200, ansi77, att5620-1,
  18972. #      att5620-s, att5620-s, dg210, aas1901, hz1520, hp9845, osborne
  18973. #      (old osborne moved to osborne-w), tvi970-vb, tvi970-2p, tvi925-hi,
  18974. #      tek4105brl, tek4106brl, tek4107brl,tek4109brl, hazel, aepro,
  18975. #      apple40p, apple80p, appleIIgs, apple2e, apple2e-p, apple-ae.
  18976. #    * Paired-attribute fixes to various terminals.
  18977. #    * Sun entry corrections from A. Lukyanov & Gert-Jan Vons.
  18978. #    * xterm entry corrections from Thomas Dickey.
  18979. # 9.13.11 (Tue Jul 30 16:42:58 EDT 1996):
  18980. #    * Added t916 entry, translated from a termcap in SCO's support area.
  18981. #    * New qnx entry from Michael Hunter.
  18982. # 9.13.12 (Mon Aug  5 14:31:11 EDT 1996):
  18983. #    * Added hpex2 from Ville Sulko.
  18984. #    * Fixed a bug that ran the qnx and pcvtXX together.
  18985. # 9.13.13 (Fri Aug  9 01:16:17 EDT 1996):
  18986. #    * Added dtterm entry from Solaris CDE.
  18987. # 9.13.14 (Tue Sep 10 15:31:56 EDT 1996):
  18988. #    * corrected pairs#8 typo in dtterm entry.
  18989. #    * added tvi9065.
  18990. # 9.13.15 (Sun Sep 15 02:47:05 EDT 1996):
  18991. #    * updated xterm entry to cover 3.1.2E's new features.  
  18992. # 9.13.16 (Tue Sep 24 12:47:43 EDT 1996):
  18993. #    * Added new minix entry
  18994. #    * Removed aliases of the form ^[0-9]* for obsolete terminals.
  18995. #    * Commented out linux-old, nobody's using pre-1.2 kernels now.
  18996. # 9.13.17 (Fri Sep 27 13:25:38 EDT 1996):
  18997. #    * Added Prism entries and kt7ix.
  18998. #    * Caution notes about EWAN and tabset files.
  18999. #    * Changed /usr/lib/tabset -> /usr/share/tabset.
  19000. #    * Added acsc/rmacs/smacs to vt52.
  19001. # 9.13.18 (Mon Oct 28 13:24:59 EST 1996):
  19002. #    * Merged in Thomas Dickey's reorganization of the xterm entries;
  19003. #      added technical corrections to avoid warning messages.
  19004. # 9.13.19 (Sat Nov 16 16:05:49 EST 1996):
  19005. #    * Added rmso=\E[27m in Linux entry.
  19006. #    * Added koi8-r support for Linux console.
  19007. #    * Replace xterm entries with canonical ones from XFree86 3.2.
  19008. # 9.13.20 (Sun Nov 17 23:02:51 EST 1996):
  19009. #    * Added color_xterm from Jacob Mandelson
  19010. # 9.13.21 (Mon Nov 18 12:43:42 EST 1996):
  19011. #    * Back off the xterm entry to use r6 as a base.
  19012. # 9.13.22 (Sat Nov 30 11:51:31 EST 1996):
  19013. #    * Added dec-vt220 at Adrian Garside's request.
  19014. # 9.13.23 (Fri Feb 21 16:36:06 EST 1997):
  19015. #    * Replaced minitel-2 entry.
  19016. #    * Added MGR, ansi-nt.
  19017. #    * Minor corrections to xterm entries.
  19018. #    * Replaced EWAN telnet entry.
  19019. #    * Dropped the reorder script generator.  It was a fossil.
  19020. # 9.13.24 (Sun Feb 23 20:55:23 EST 1997):
  19021. #    * Thorsten Lockert added termcap `bs' to a lot of types, working from
  19022. #      the 4.4BSD Lite2 file.
  19023. # 9.13.25 (Fri Jun 20 12:33:36 EDT 1997):
  19024. #    * Added Datapoint 8242, pilot, ansi_psx, rbcomm, vt220js.
  19025. #    * Updated iris-ansi; corrected vt102-w.
  19026. #    * Switch base xterm entry to 3.3 level.
  19027. # 9.13.26 (Mon Jun 30 22:45:45 EDT 1997)
  19028. #    * Added basic4.
  19029. #    * Removed rmir/smir from tv92B.
  19030. #
  19031. # 10.2.0 (Sat Feb 28 12:47:36 EST 1998):
  19032. #    * add hds200 description (Walter Skorski)
  19033. #    * add beterm entry (Fred Fish)
  19034. #    * add Thomas Dickey's xterm-xf86-v40, xterm-8bit, xterm-16color,
  19035. #      iris-color entries.
  19036. #    * add emx entries.
  19037. #    * Replaced unixpc entry with Benjamin Sittler's corrected version.
  19038. #    * Replaced xterm/rxvt/emu/syscons entries with Thomas Dickey's
  19039. #      versions.
  19040. #    * remove sgr string from qnx based on report by Xiaodan Tang
  19041. #    * Added u8/u9, removed rmul/smul from sun-il.
  19042. #    * 4.2 tic displays \0 rather than \200.
  19043. #    * add linux-koi8r to replace linux-koi8 (which uses a corrupt acsc,
  19044. #      apparently based on cp-866).
  19045. #    * Merged in Pavel Roskin's acsc for linux-koi8
  19046. #    * Corrected some erroneous \\'s to \.
  19047. #    * 4.2 ncurses has been changed to use setaf/setab, consistent w/SysV.
  19048. #    * II -> ii in pcvtXX, screen, xterm.
  19049. #    * Removed \n chars following ANSI escapes in sgr & friends.
  19050. #    * Updated Wyse entries.
  19051. #    * h19 corrections from Tim Pierce.
  19052. #    * Noted that the dm2500 has both ich and smir.
  19053. #    * added pccons for the Alpha under OSF/1.
  19054. #    * Added Sony NEWS workstation entries and cit101e-rv.
  19055. #    * Reverted `amiga'; to Kent Polk's version, as I'm told
  19056. #      the Verkuil entry messes up with Amiga Telnet.
  19057. # 10.2.1 (Sun Mar  8 18:32:04 EST 1998):
  19058. #    * Corrected attributions in 10.2.0 release notes.
  19059. #    * Scanned the Shuford archive for new terminfos and information.
  19060. #    * Removed sgr from qnx entry (Thomas Dickey).
  19061. #    * Added entries for ICL and Kokusai Data Systems terminals.
  19062. #    * Incorporated NCR terminfos from the Boundless Technology FTP site.
  19063. #    * Incorporated att700 from the Boundless Technology FTP site.
  19064. #    * Miscellaneous contact-address and Web-page updates.
  19065. #
  19066. # 1998/5/9
  19067. #    * add nxterm and xterm-color terminfo description (request by Cristian
  19068. #      Gafton <gafton@redhat.com>).
  19069. #    * modify rxvt terminfo description to clear alternate screen before
  19070. #      switching back to normal screen, for compatibility with applications
  19071. #      which use xterm (reported by Manoj Kasichainula <manojk@io.com>).
  19072. #    * modify linux terminfo description to reset color palette (reported
  19073. #      by Telford Tendys <telford@eng.uts.edu.au>).
  19074. #
  19075. # 1998/7/4
  19076. #    * merge changes from current XFree86 xterm terminfo descriptions.
  19077. #
  19078. # 1998/7/25
  19079. #    * Added minitel1 entries from Alexander Montaron.
  19080. #    * Added qnxt2 from Federico Bianchi.
  19081. #    * Added arm100 terminfo entries from Dave Millen.
  19082. #
  19083. # 1998/8/6
  19084. #    * Added ncsa telnet entries from Francesco Potorti
  19085. #
  19086. # 1998/8/15
  19087. #    * modify ncsa telnet entry to reflect color, other capabilities based on
  19088. #      examination of the source code - T.Dickey.
  19089. #
  19090. # 1998/8/22
  19091. #    * Corrected some erroneous \\'s to \ (eterm, osborne) - TD.
  19092. #
  19093. # 1998/8/29
  19094. #    * Added Francesco Potorti's tuned Wyse 99 entries.
  19095. #    * dtterm enacs correction from Alexander V. Lukyanov.
  19096. #    * Add ncsa-ns, ncsa-m-ns and ncsa-m entries from esr version.
  19097. #    * correct a typo in icl6404 entry.
  19098. #    * add xtermm and xtermc
  19099. #
  19100. # 1998/9/26
  19101. #    * format most %'char' sequences to %{number}
  19102. #    * adapt IBM AIX 3.2.5 terminfo - T.Dickey
  19103. #    * merge Data General terminfo from Hasufin <hasufin@vidnet.net> - TD
  19104. #
  19105. # 1998/10/10
  19106. #    * update xterm-xfree86 to current (patch 84), for is2/rs2 changes - TD
  19107. #    * correct initialization string in xterm-r5, add misc other features
  19108. #      to correspond with xterm patch 84 - TD
  19109. #
  19110. # 1998/12/19
  19111. #    * update xterm-xfree86 to current (patch 90), smcur/rmcur changes - TD
  19112. #    * add Mathew Vernon's mach console entries
  19113. #    * corrections for ncsa function-keys (report by Larry Virden)
  19114. #
  19115. # 1998/12/19
  19116. #    * change linux to use ncv#2, since underline does not work with color - TD
  19117. #
  19118. # 1999/1/9
  19119. #    * add kbt to iris-ansi, document other shift/control functionkeys - TD
  19120. #    * correct iris-ansi and iris-ansi-ap with respect to normal vs keypad
  19121. #      application modes, change kent to use the correct keypad code - TD
  19122. #
  19123. # 1999/1/10
  19124. #    * add entry for Tera Term - TD
  19125. #
  19126. # 1999/1/23
  19127. #    * minor improvements for teraterm entry - TD
  19128. #    * rename several entries used by BSDI: bsdos to bsdos-pc-nobold,
  19129. #      and bsdos-bold to bsdos-pc (Jeffrey C Honig)
  19130. #
  19131. # 1999/2/20
  19132. #    * resolve ambiguity of kend/kll/kslt and khome/kfnd/kich1 strings in
  19133. #      xterm and ncsa entries by removing the unneeded ones.  Note that
  19134. #      some entries will return kend & khome versus kslt and kfnd, for
  19135. #      PC-style keyboards versus strict vt220 compatiblity - TD
  19136. #
  19137. # 1999/3/13
  19138. #    * adjust xterm-xfree86 khome/kend to match default PC-style keyboard
  19139. #      tables - TD
  19140. #    * add 'crt' entry - TD
  19141. #    * correct typos in 'linux-c' entry - TD
  19142. #
  19143. # 1999/3/14
  19144. #    * update entries for BSD/OS console to use klone+sgr and klone+color
  19145. #      (Jeffrey C Honig)
  19146. #
  19147. # 1999/3/27
  19148. #    * adjust xterm-xfree86 miscellaneous keypad keys, as per patch #94 - TD.
  19149. #
  19150. # 1999/4/10
  19151. #    * add linux-lat, from RedHat patches to ncurses 4.2
  19152. #
  19153. # 1999/4/17
  19154. #    * add complete set of default function-key definitions for scoansi - TD.
  19155. #
  19156. # 1999/7/3
  19157. #    * add cnorm, cvvis for Linux 2.2 kernels
  19158. #
  19159. # 1999/7/24
  19160. #    * add kmous to xterm-r5 -TD
  19161. #    * correct entries xterm+sl and xterm+sl-twm, which were missing the
  19162. #      parent "use" clause -TD
  19163. #
  19164. # 1999/7/31
  19165. #    * corrected cnorm, added el1 in 'screen' description -TD
  19166. #
  19167. # 1999/8/14
  19168. #    * add ms-vt100 -TD
  19169. #
  19170. # 1999/8/21
  19171. #    * corrections to beterm entry -TD
  19172. #
  19173. # 1999/8/28
  19174. #    * add cygwin entry -TD
  19175. #
  19176. # 1999/9/4
  19177. #    * minor corrections for beterm entry -TD
  19178. #
  19179. # 1999/9/18
  19180. #    * add acsc string to HP 70092 terminfo entry -Joerg Wunsch
  19181. #
  19182. # 1999/9/25
  19183. #    * add amiga-8bit entry
  19184. #    * add console entries from NetBSD: ofcons, wsvt25, wsvt25m, rcons,
  19185. #      rcons-color, based on
  19186. #      ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-current/src/share/termcap/termcap.src
  19187. #    * add alias for iris-ansi-net
  19188. #
  19189. # 1999/10/2
  19190. #    * corrected scoansi entry's acsc, some function keys, add color -TD
  19191. #
  19192. # 1999/10/23
  19193. #    * add cnorm, cvvis to cons25w, and modify ncv to add 'dim' -TD
  19194. #    * reorder ncsa entries to make ncsa-vt220 use the alternate function
  19195. #      key mapping, leaving Potorti's entries more like he named them -TD
  19196. #    * remove enter/exit am-mode from cygwin -TD
  19197. #
  19198. # 1999/10/30
  19199. #    * correct typos in several entries (missing '[' from CSI):
  19200. #      mgr-sun, ncsa-m, vt320-k3, att505, avt-ns, as well as smir/rmir
  19201. #      strings for avt-ns -TD
  19202. #    * add 'dim' to ncv mask for linux (report by Klaus Weide).
  19203. #
  19204. # 1999/11/27
  19205. #    * correct kf1-kf4 in xterm-r6 which were vt100-style PF1-PF4 -TD
  19206. #    * add hts to xterm-r6, and u6-u9 to xterm-r5 -TD
  19207. #    * add xterm-88color and xterm-256color -TD
  19208. #
  19209. # 1999/12/4
  19210. #    * add "obsolete" termcap strings -TD
  19211. #    * add kvt and gnome entries -TD
  19212. #
  19213. # 1999/12/11
  19214. #    * correct cup string for regent100 -TD
  19215. #
  19216. # 2000/1/1
  19217. #    * update mach, add mach-color based on Debian diffs for ncurses 5.0 -TD
  19218. #    * add entries for xterm-hp, xterm-vt220, xterm-vt52 and xterm-noapp -TD
  19219. #    * change OTrs capabilities to rs2 -TD
  19220. #    * add obsolete and extended capabilities to 'screen' -TD
  19221. #
  19222. # 2000/1/5
  19223. #    * remove kf0 from rxvt, vt520, vt525 and ibm5151 since it conflicts
  19224. #      with kf10 -TD
  19225. #    * updated xterm-xf86-v40, making kdch1 correspond to vt220 'Remove',
  19226. #      and adding kcbt -TD
  19227. #
  19228. # 2000/1/12
  19229. #    * remove incorrect khome/kend from xterm-xf86-v333, which was based on
  19230. #      nonstandard resource settings -TD
  19231. #
  19232. # 2000/2/26
  19233. #    * minor fixes for xterm-*, based on Debian #58530 -TD
  19234. #
  19235. # 2000/3/4
  19236. #    * add several terminal types from esr's "11.0", as well as comments.
  19237. #      bq300*, dku7102-old, dku7202, hft, lft, pcmw, pmcons, tws*, vip*,
  19238. #      vt220-8bit, vt220-old, wy85-8bit
  19239. #
  19240. # 2000/3/18
  19241. #    * add several terminal types from esr's "11.0.1" (ansi-*).
  19242. #    * update OTxx capabilities for changes on 2000/3/4.
  19243. #    * revert part of vt220 change (request by Todd C Miller for OpenBSD)
  19244. #
  19245. # 2000/3/26
  19246. #    * move screen's AX extension to ecma+color, modify several entries to
  19247. #      use that, adjusting ncv as needed -TD
  19248. #
  19249. # 2000/4/8
  19250. #    * add bsdos-pc-m, bsdos-pc-mono (Jeffrey C Honig)
  19251. #    * correct spelling error in entry name: bq300-rv was given as bg300-rv
  19252. #      in esr's version.
  19253. #
  19254. # 2000/4/15
  19255. #    * add cud, ech, etc., to beterm based on feedback from Rico Tudor -TD
  19256. #    * correct color definition for ibm3164, make minor changes to other
  19257. #      IBM terminal definitions based on recent terminfo descriptions -TD
  19258. #
  19259. # 2000/4/22
  19260. #    * add mgterm, from NetBSD -TD
  19261. #    * add alias sun-cgsix for sun-ss5 as per NetBSD
  19262. #    * change cons25w to use rs2 for reset rather than rs1 -TD
  19263. #    * add rc/sc to aixterm based on manpage -TD
  19264. #
  19265. # 2000/5/13
  19266. #    * remove ncv from xterm-16color, xterm-256 color
  19267. #
  19268. # 2000/6/10
  19269. #    * add kmous capability to linux to use Joerg Schoen's gpm patch.
  19270. #
  19271. # 2000/7/1
  19272. #    * add Eterm (Michael Jennings)
  19273. #
  19274. # 2000-07-18
  19275. #       * add amiga-vnc entry.
  19276. #
  19277. # 2000-08-12
  19278. #    * correct description of Top Gun Telnet.
  19279. #    * add kterm-color
  19280. #
  19281. # 2000-08-26
  19282. #    * add qansi* entries from QNX ftp site.
  19283. #
  19284. # 2000-09-16
  19285. #    * add Matrix Orbital entries by Eric Z. Ayers).
  19286. #    * add xterm-basic, xterm-sco entries, update related entries to XFree86
  19287. #      4.0.1c -TD
  19288. #
  19289. # 2000-09-17
  19290. #    * add S0, E0 extensions to screen's entry -TD
  19291. #
  19292. # 2000-09-23
  19293. #    * several corrections based on tic's new parameter-checking code -TD
  19294. #    * modify xterm-r6 and similar rs2 sequences which had \E7...\E8
  19295. #      bracketing sequences that reset video attributes (\E8 would restore
  19296. #      them) -TD
  19297. #
  19298. # 2000-11-11
  19299. #    * rename cygwin to cygwinB19, adapt newer entry from Earnie Boyd -TD
  19300. #
  19301. # 2000-12-16
  19302. #    * improved scoansi, based on SCO man-page, and testing console,
  19303. #      scoterm with tack -TD
  19304. #
  19305. # 2001-01-27
  19306. #    * modify kterm to use acsc via SCS controls.
  19307. #
  19308. # 2001-02-10
  19309. #    * screen 3.9.8 allows xterm mouse controls to pass-through
  19310. #
  19311. # 2001-03-11
  19312. #    * remove spurious "%|" from some xterm entries.
  19313. #
  19314. # 2001-03-31
  19315. #    * modify 'screen' khome/kend to match screen 3.09.08
  19316. #    * add examples of 'screen' customization (screen.xterm-xfree86,
  19317. #      screen.xterm-r6, screen.teraterm) -TD
  19318. #
  19319. # 2001-04-14
  19320. #    * correct definitions of shifted editing keys for xterm-xfree86 -TD
  19321. #    * add "Apple_Terminal" entries -Benjamin Sittler
  19322. #    * remove time-delays from "Apple_Terminal" entries -TD
  19323. #    * make sgr entries time-delays consistent with individual caps -TD
  19324. #
  19325. # 2001-05-05
  19326. #    * corrected/updated screen.xterm-xfree86
  19327. #
  19328. # 2001-05-19
  19329. #    * ELKS descriptions, from Federico Bianchi
  19330. #    * add u6 (CSR) to Eterm (Michael Jennings).
  19331. #
  19332. # 2001-07-21
  19333. #    * renamed "Apple_Terminal" entries to "nsterm" to work with Solaris's
  19334. #      tic which handles names no longer than 14 characters.  Add
  19335. #      corresponding descriptions for the Darwin PowerPC console named
  19336. #      "xnuppc" -Benjamin Sittler
  19337. #
  19338. # 2001-09-01
  19339. #    * change kbs in mach entries to ^? (Marcus Brinkmann).
  19340. #
  19341. # 2001-11-17
  19342. #    * add "putty" entry -TD
  19343. #    * updated "Apple_Terminal" entries -Benjamin Sittler
  19344. #
  19345. # 2001-11-24
  19346. #    * add ms-vt100-color entry -TD
  19347. #    * add "konsole" entries -TD
  19348. #
  19349. # 2001-12-08
  19350. #    * update gnome entry to Redhat 7.2 -TD
  19351. #
  19352. # 2002-05-25
  19353. #    * add kf13-kf48 strings to cons25w -TD
  19354. #    * add pcvt25-color entry -TD
  19355. #    * changed a few /usr/lib/tabset -> /usr/share/tabset.
  19356. #    * improve some features of scoansi entry based on SCO's version -TD
  19357. #    * add scoansi-new entry corresponding to OpenServer 5.0.6
  19358. #
  19359. # 2002-06-15
  19360. #    * add kcbt to screen entry -TD
  19361. #
  19362. # 2002-06-22
  19363. #    * add rxvt-16color, ibm+16color, mvterm entries -TD
  19364. #
  19365. # 2002-09-28
  19366. #    * split out linux-basic entry, making linux-c inherit from that, and
  19367. #      in turn linux (with cnorm, etc) inherit from linux-c-nc to reflect
  19368. #      the history of this console type -TD
  19369. #    * scaled the linux-c terminfo entry to match linux-c-nc, i.e., the
  19370. #      r/g/b parameters of initc are in the range 0 to 1000 -TD
  19371. #
  19372. # 2002-1005
  19373. #    * minor fix for scale-factor of linux-c and linux-c-nc -TD
  19374. #
  19375. # The following sets edit modes for GNU EMACS.
  19376. # Local Variables:
  19377. # fill-prefix:"\t"
  19378. # fill-column:75
  19379. # comment-column:0
  19380. # comment-start-skip:"^#+"
  19381. # comment-start:"# "
  19382. # compile-command:"tic -c terminfo.master"
  19383. # End:
  19384. ######## SHANTIH!  SHANTIH!  SHANTIH!
  19385.